BibTeX F11", das sich in den "Optionen > TeXMaker konfigurieren" anpassen läßt. Standardeinstellung für das Kommando Bibtex ist bibtex %.aux. Der intuitive Versuch biber %.bcf hat leider den o.g. "empty bibliography"-Fehler wiederholt. Ich hoffe, mein Problem. The error. No "backend" specified, using Biber backend. gives the hint that biblatex is using biber. But you are using bibtex during compilation. biblatex uses biber by default (when no backend is specified). You can over come this by using \usepackage[backend=bibtex]{biblatex}. to force biblatex use bibtex. Dec 1, 2015 Use now bibtex mwe to create the bibliography with BiBTeX, afterwards pdflatex mwe.tex two times. Because you use encoding utf-8 it would be better to use biber instead of bibtex. Then change line backend=bibtex to backend=biber and use biber mwe instead bibtex mwe to create the bibliography.">
1 Zunris

Texmaker Bibtex Empty Bibliography

Some tools for generating LaTeX .bst files (bibliographic styles), such as the docstrip utility, have known compatibility issues with the package csquotes. The csquotes package is a robust quotation management tool, with support for multiple languages and advanced quotation elements of interest to those writing formal academic documents. For those writing theses, dissertations, or other formal documents where a robust quotation management package is required, it is an excellent choice.

One problem with many .bst files available online is that they attempt to define something called \enquote within the style. When used without csquotes, this is fine, but csquotes has its own defined variable called \enquote. LaTeX does not appreciate having two variables with the same name, so it will call an error, and the document will refuse to compile.

The error will look like this:


And it is resolved by redefining one of these variables. I recommend redefining the one in the .bst file to something like \enquotebst. This can be done very easily to your .bst file using find/replace. The risk of modifying csquotes is that you are tampering with a built-in package that might be updated and reset every time TeX updates are downloaded. For example, in the ajs.bst file commonly found online for sociologists, the \enquote variable appears in two places:



and



Replace "enquote" with "enquoteFILENAME" or "enquotebst" wherever it appears in the .bst file. The error will stop if \enquote was your problem. If the error continues, ensure that your .bst file is in the correct directory and that you are only calling the bibliography once.

“Normal” use of BibTeX from LaTeX

To create a bibliography for your document, you need to perform a sequence of steps, some of which seem a bit odd. If you choose to use BibTeX, the sequence is:

First: you need a BibTeX bibliography file (a file) — see “creating a BibTeX file”.

Second: you must write your LaTeX document to include a declaration of the ‘style’ of bibliography, citations, and a reference to the bibliography file mentioned above. So we may have a LaTeX file containing:

\bibliographystyle{plain} ... Pooh is heroic~\cite{Milne:1926}. ... Alice struggles~\cite{Carroll:1865}. ... \bibliography{mybooks}
Note: we have bibliography style plain, above, which is nearly the simplest of the lot: a sample text, showing the sorts of style choices available, can be found on Ken Turner’s web site: http://www.cs.stir.ac.uk/ kjt/software/latex/showbst.html

Third: you must process the file.

latex myfile
As LaTeX processes the file, the command writes a note of the style to the file; each command writes a note of the citation to the file, and the command writes a note of which file is to be used, to the file.

Note that, at this stage, LaTeX isn’t “resolving” any of the citations: at every command, LaTeX will warn you of the undefined citation, and when the document finishes, there will be a further warning of undefined references.

Fourth: you must run BibTeX:

bibtex myfile
Don’t try to tell BibTeX anything but the file name: say (because you know it’s going to read the file) and BibTeX will blindly attempt to process .

BibTeX will scan the file; it will find which bibliography style it needs to use, and will “compile” that style; it will note the citations; it will find which bibliography files it needs, and will run through them matching citations to entries in the bibliography; and finally it will sort the entries that have been cited (if the bibliography style specifies that they should be sorted), and outputs the resulting details to a file.

Fifth: you run LaTeX again. It warns, again, that each citation is (still) undefined, but when it gets to the command, it finds a file, and reads it. As it encounters each command in the file, it notes a definition of the citation.

Sixth: you run LaTeX yet again. This time, it finds values for all the citations, in its file. Other things being equal, you’re done… until you change the file.

If, while editing, you change any of the citations, or add new ones, you need to go through the process above from steps 3 (first run of LaTeX) to 6, again, before the document is once again stable. These four mandatory runs of LaTeX make processing a document with a bibliography even more tiresome than the normal two runs required to resolve labels.

To summarise: processing to resolve citations requires: LaTeX; BibTeX; LaTeX; LaTeX.


This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=usebibtex

Leave a Comment

(0 Comments)

Your email address will not be published. Required fields are marked *