LaTeX forum ⇒ BibTeX, biblatex and biberSeperate bibliography into books only, articles only, etc. Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Seperate bibliography into books only, articles only, etc.

Postby Colin93 » Fri Jun 24, 2016 3:21 pm

Hi everyone

I'd like to seperate my bibliography according to the type : articles, books, online, etc. but still appear on the same page (chapter Bibliography). I've found several solutions but which require bibtex. I'm using biblatex. How should I proceed ?

I attached a simplified version of my .tex file and bib file.


Have a nice weekend !


Coline
Attachments
bibliography.bib
(8.5 KiB) Downloaded 176 times
latex.tex
(1.78 KiB) Downloaded 180 times

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jun 25, 2016 1:54 am

Alost 2 am here and i am pretty sure you are able to speak german.
http://texwelt.de/wissen/fragen/7532/wi ... bliografie
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Postby Colin93 » Mon Jun 27, 2016 10:40 am

Unfortunately I do not speak German :lol:
But again, thank you so much for your help !!!!


Coline

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jun 27, 2016 11:18 am

Still, should give you the right keywords and code to see how it is done. Do you need further help?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Postby Colin93 » Tue Jun 28, 2016 10:33 am

Oh no I meant it helped me a lot ! Thankyou !
However some of my references keep appearing twice. Ex : 1 reference appear in both "Book" and "Online" whereas its type is book. Any ideas ? You told me once that my Biber version is outdated. Can that be the problem ?
I'm trying to send you an example but unfortunately I get an "Empty Bibliography" :? I'm only using "type" to differentiate. Maybe I should use another field.

Ex
  1. \printbibliography[heading=subbibliography, title={Online Documents},nottype=unpublished,nottype=book,nottype=techreport,nottype=masterthesis,nottype=article,nottype=phdthesis,nottype=report]
  2. %\printbibliography[type=article, heading=subbibliography,



Coline

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Postby Colin93 » Tue Jun 28, 2016 11:01 am

So... totally weird but when I use keyword field, things work better. However @article never appears. I'm going to keep trying.

2 or 3 references are still missing but you told me in an earlier thread that this is because my Bibtex version's old so maybe this is the same problem...

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Jun 28, 2016 4:57 pm

As always, just mentioning a Problem is hard o debug. A minimal working example would be in order.

An outdated System can be a problem, but there is no guarantee. A malformatted database entry is also possible.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Postby Colin93 » Wed Jun 29, 2016 9:49 am

Finally got my example to work ! You can see the problem now.

Thanks again !

Coline
Attachments
bibliography.bib
(10.42 KiB) Downloaded 158 times
latex.tex
(1.78 KiB) Downloaded 161 times

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Jun 30, 2016 9:34 am

Your dates have the wrong format (biber warns about this) and your names have the wrong format (something i think i have mentioned before). You gotta fix this. Biber warns you about all those things, you just have to read the warnings.

And don't put formatting commands into the database, they do not belong there. Something i stripped from my example for you earlier.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Postby Colin93 » Thu Jun 30, 2016 1:46 pm

I will correct the dates. I did not notice the formatting commands... You mean stuff like \& or \- right ?

Thankyou again !!!


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 3 guests