matthew-brett / bibstuff

Fork of http://code.google.com/p/bibstuff/ with edits and sphinx extension
Other
19 stars 2 forks source link

Please allow multiple bibliographies in one project (without the "noise") #2

Open mih opened 13 years ago

mih commented 13 years ago

Hey,

I'm getting deeper into the sphinx extension. I noticed that it would be great if one could have multiple bibliographies (biblisted) referencing the same papers in one sphinx project. Think: One big list for the whole lab, and one list per individual, and one list per research project in addition. Right know I can do that but get tons of warnings due to identical citation IDs.

Of course I could have a dedicated bibstyle per listing and modify the ID for each of them, but that feels like an expensive hack.

Thanks for your consideration,

Michael

matthew-brett commented 13 years ago

RIght - so you want to be warned for

mih commented 13 years ago

Hmm, not sure if we are on the same page. By "same biblist" you mean one "biblisted" block, right?

In this case: identical citation IDs in one block should be a warning. But I'm not sure how the citation ID can be the same if the entries are different -- bibtex should not be able to do that -- IMHO they have to be unqiue.

What I meant was having more than one "biblisted" block in one projects that share some of their entries, i.e. two blocks, same IDs, same entries, but appearing in two different locations. Sphinx warns about this as one citation ID has two landing points. That is of course a valid thing, but somewhat annoying when done on purpose.

matthew-brett commented 13 years ago

Yes, by 'same biblist' I did mean one 'biblisted' block. .bib files are just text of course, they can have identical citation IDs. Then it's up to the parser to decide what to do about that. bibtex warns you I believe, in a single .bib file; I'm not sure what it does with multiple files in a single latex bibliography. So I think you don't want to be warned (by this extension at least) if the same citation ID appears in two different biblisted blocks?

mih commented 13 years ago

Yes, that's right.