BibTeX, biblatex and biberSeperate bibliography into books only, articles only, etc.

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.

Post by Colin93 »

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 394 times
latex.tex
(1.78 KiB) Downloaded 488 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Seperate bibliography into books only, articles only, et

Post by Johannes_B »

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

Re: Seperate bibliography into books only, articles only, et

Post by Colin93 »

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


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

Re: Seperate bibliography into books only, articles only, et

Post by Johannes_B »

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

Seperate bibliography into books only, articles only, etc.

Post by Colin93 »

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

Code: Select all

\printbibliography[heading=subbibliography, title={Online Documents},nottype=unpublished,nottype=book,nottype=techreport,nottype=masterthesis,nottype=article,nottype=phdthesis,nottype=report]
%\printbibliography[type=article, heading=subbibliography,
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

Seperate bibliography into books only, articles only, etc.

Post by Colin93 »

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: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Seperate bibliography into books only, articles only, et

Post by Johannes_B »

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

Re: Seperate bibliography into books only, articles only, et

Post by Colin93 »

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

Thanks again !

Coline
Attachments
bibliography.bib
(10.42 KiB) Downloaded 522 times
latex.tex
(1.78 KiB) Downloaded 440 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Seperate bibliography into books only, articles only, et

Post by Johannes_B »

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

Re: Seperate bibliography into books only, articles only, et

Post by Colin93 »

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

Thankyou again !!!
Post Reply