Now I want to build a .bib file based on the citations of a current
document being marked up. I gather LaTeX needs to be told where the
BibTeX databases are located, but I've not been able to find of how to
do it.
I have citations (bib keys) pointing to a half dozen BibTeX databases,
and many will have few or no citations for them.
Haines Brown
If I got you right, you can use bibtool to build a .bib file from the
.aux file of your document.
Christoph
Thanks, Chrisoph, but I did not express the problem clearly
enough. The issue is the presence of multiple BibTeX databases.
In .tex file I have this: \bibliography{/home/brownh/jabref/philos}
As a result in my .aux file there is this:
\bibdata{/home/brownh/jabref/philos}
I could use bibtools to look at the .aux file and find this database and
build a suitable .bib file that contains the book cited from this
philos databased.
The problem is that philos is only one of half a dozen BibTeX
databases. In an article, there are other BibTeX databases holding
citation information such as natsci, socsci, etc.
Can I simply multiply lines in the .tex file such as:
\bibdata{/home/brownh/jabref/philos}
\bibdata{/home/brownh/jabref/natsci}
\bibdata{/home/brownh/jabref/socsci}
to get in .aux
\bibdata{/home/brownh/jabref/philos}
\bibdata{/home/brownh/jabref/natsci}
\bibdata{/home/brownh/jabref/socsci}
Would bibtools then look into the three databases to find the
citations listed in the .aux file?
Perhaps a symlink from each database to the TeX working directory?
Haines
\bibliography{/home/brownh/jabref/philos,/home/brownh/jabref/natsci,/home/brownh/jabref/socsci}
should work.
--
Joost Kremers joostk...@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
> brownh wrote:
>> Christoph Bersch <use...@bersch.net> writes: In .tex file I have
>> this: \bibliography{/home/brownh/jabref/philos}
> [...]
>> The problem is that philos is only one of half a dozen BibTeX
>> databases. In an article, there are other BibTeX databases holding
>> citation information such as natsci, socsci, etc.
>
> \bibliography{/home/brownh/jabref/philos,/home/brownh/jabref/natsci,/home/brownh/jabref/socsci}
>
> should work.
I did not want to leave this thread dangling. The problem was that
when I created my bibliographic databases with jabref, for some reason
I failed to do it with a .bib extension. When I appended this
extension to the jabref databases, BibTeX had no problem accessing
them.
Thank you.
Haines Brown