Frank Tetzel <
s144...@mail.zih.tu-dresden.de> writes:
>> However, creating this bib file with JabRef is laborious. I use JabRef
>> to create multiple subdatabases, one for each database used in my
>> document and with different titles. With an editor I then consolidate
>> them into one .bib file placed in my document's working directory.
>
> My current workflow is very similar. I use Kbibtex and i have one
> master .bib file containing all the literature (including references to
> the local pdf file).
Thanks, Frank.
I've spent significant time trying to pursue the issue, and so far no
luck.
I first tried bibtool on Universal.tex:
$ bibtool -x Universal.aux -o Universal.bib -v
--- BibTool: Trying /home/haines/.bibtoolrsc
--- BibTool: Trying /home/haines/.bibtoolrsc.rsc
--- BibTool: Trying ./.bibtoolrsc
--- BibTool: Trying ./.bibtoolrsc.rsc
--- BibTool: Trying /usr/share/bibtool/.bibtoolrsc
--- BibTool: Trying /usr/share/bibtool/.bibtoolrsc.rsc
--- BibTool: Reading <stdin>
After much digging, I found out that bibtool is written for bibtex and
does not understand an .aux file written in biblatex. One can edit the
.aux file, but that's opening the way to problems. The consensus seems
to be that if biblatex is used, best is to use biber to generate a
.bib file.
So I next tried biber
I spent a lot of time with its --tool mode before I realized it must
have a .bib file as datasource. To generate a new .bib file one should
use the --output_format=bibtex option. One stumbling block was
that bibtex manual specifies the option as --output-format, which does
not work. Otherwise following the manual's example, I do:
$ biber --output_format=bibtex Universal.bcf
INFO - This is Biber 1.8
INFO - Logfile is 'Universal.blg'
INFO - Reading 'Universal.bcf'
INFO - Found 137 citekeys in bib section 0
INFO - Looking for bibtex format file 'Universal.bib'
ERROR - Cannot find 'Universal.bib'!
INFO - ERRORS: 1
I thought a .bib file is supposed to be the output, not input.
While my citations are all in \include{} files, it seems to me
that biber here simply needs the .bcf file to do the job.
Someone suggested the answer is to do:
$ biber Universal.tex --output_format bibtex
INFO - This is Biber 1.8
INFO - Logfile is 'Universal.tex.blg'
ERROR - Cannot find control file 'Universal.tex.bcf'! - did you
pass the "backend=biber" option to BibLaTeX?
INFO - ERRORS: 1
but this is even worse.
Apparently pybib can be used. Unfortunately, it is not documented and
you have to know python to understand what its tools are doing.
Apparently I'm unable to grasp the biber syntax.
Haines Brown