Re: refdbib: multiple occurence of the same reference ends up in multiple entries in .bib file
Markus Hoenicka <[email protected]> Mon, 22 Feb 2010 11:33:57 +0100
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
"O. Hartmann" <[email protected]> was heard to say: > Dear Sirs, > I have some trouble in creating my bibliography using a refdb-database. > My text is spread over several files, connected via \input{} statements > in a main head-file. Running latex/pdflatex on the head file, creates an > .aux files, which is used by refdbib as input. refdbib then retrieves > for each entry the appropriate reference from the SQL DB (postgresql 8.4 > server on a FreeBSD 8.0-STABLE platform) - but there a multiple > occurences of the same reference, exactly as many as \cite't in the main > text. Is this a feature or a bug? This might be a documentation bug. If you use refdbib directly instead of the runbib script, you have to eliminate duplicates from the .aux file manually. The runbib script does this by passing the contents of the .aux file through sort and uniq. You can pipe the results directly into refdbib. Have a look at the runbib script as a guidance (search for the block of code starting with "### BibTeX"), or use that script instead of doing it manually. I'll add a note about this problem to the RefDB manual. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev