LyXWay to include two separate bibliographies

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
saran
Posts: 3
Joined: Mon Jul 16, 2012 9:50 am

Way to include two separate bibliographies

Post by saran »

Hi Everyone,
I would like to include two separate .bib files( One containing my own publications and the second one containing the other references ) in my thesis. When i compile, the contents of the second .bib file are overridden by the first file.( I am still a novice in LyX/LaTeX). Could anyone suggest me the procedure to do this.

Thanks in advance.

Regards

Saran
Last edited by cgnieder on Fri Nov 02, 2012 5:02 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Way to include two separate bibliographies

Post by josephwright »

At least in 'bare' LaTeX use two or more .bib files is no problem. Do you have the same key names in the two files: the keys do need to be unique.
Joseph Wright
saran
Posts: 3
Joined: Mon Jul 16, 2012 9:50 am

Re: Way to include two seperate bibliography

Post by saran »

Yes, they have the same key names.( I copied one from the other). Any other suggestions?.

Thanks in advance
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Way to include two separate bibliographies

Post by cgnieder »

saran wrote:Yes, they have the same key names.( I copied one from the other).
This does not make sense to me: you said that one file contains your publications and the other one all the others. Then they're different entries which should have different IDs. But if you copied one from the other they are the same publications instead of different ones, aren't they? Isn't that a contradiction?

Regards
site moderator & package author
saran
Posts: 3
Joined: Mon Jul 16, 2012 9:50 am

Re: Way to include two separate bibliographies

Post by saran »

Sorry, I misinterpreted the term "Key". Yes both files have unique entries and hence different ID's. Using insert TOC, I inserted two BixTex Bibliography and included the respective databases. But when i compile, the second database is overridden by the first.
Post Reply