Tag Info

Hot answers tagged

177

(The following is an expansion of the biblatex tag entry, which I helped to write). Some terminology It's first off important to realize that the term BibTeX is often used to refer to various distinct things, and this can lead to some confusion. For example we typically tell new users to "use bibtex for your bibliography" which usually just means don't do ...


116

To typeset accented characters inside bibliography fields for processing with BibTeX, encase them in curly braces. To list but a few accented characters: {\"a} {\^e} {\`i} {\.I} {\o} {\'u} {\aa} {\c c} {\u g} {\l} {\~n} {\H o} {\v r} {\ss} The word Birkhäuser should therefore be entered as Birkh{\"a}user. Addendum: There is an obvious follow-up ...


114

The last time I cited an URL, I used a BibTeX entry of the following form: @misc{bworld, author = {Ingo Lütkebohle}, title = {{BWorld Robot Control Software}}, howpublished = "\url{http://aiweb.techfak.uni-bielefeld.de/content/bworld-robot-control-software/}", year = {2008}, note = "[Online; accessed 19-July-2008]" } If that does not show up, ...


109

A simple way of doing it in BibTeX is with a @misc entry: @misc{WinNT, title = {{MS Windows NT} Kernel Description}, howpublished = {\url{http://web.archive.org/web/20080207010024/http://www.808multimedia.com/winnt/kernel.htm}}, note = {Accessed: 2010-09-30} } You should also perhaps include an author if you know it. And remember to load a package ...


84

Since this question comes up so often, I thought I'd try to supplement ArTourter's correct answer with a more general comment. What does a question mark mean It means that somewhere along the line the combination of LaTeX and BibTeX has failed to find and format the citation data you need for the citation: LaTeX can see you want to cite something, but ...


61

You can "comment" whole entries by erasing the @ in front of the type declaration (@book -> book); there are no other ways of commenting parts of entries. However, unknown fields are ignored, so you can say OPTpages={34--35}, in order to ignore the pages field. Also repeated fields are ignored.


60

The appropriate separator for authors is "and". Comma is used to distinguish first and last name (link): author = "Orti, E. and Bredas, J.L. and Clarisse, C.",


58

Use \nocite{*} in the body of your document to include all the references in the .bib database. To include only some bibliographical entries, you can use \nocite{key1,key2,...,keyn} to include only the entries corresponding to key1,key2,...,keyn.


53

The correct way to load multiple bib files is to use \bibliography{file1,file2} Note the lack of space between the comma and the files!


53

it is also possible, but not so easy as with bibtex. When you finished your document write into the preamble after the already existing biblatex definition: \documentclass{...} ... \usepackage[style=numeric-verb]{biblatex}% change it for your needs \bibliography{examples} %-------------- start insert modified commands ------------------ \makeatletter ...


51

Here's my compilation of the suggestions given. Feel free to edit other suggestions in as appropriate, in addition to posting each suggestion in a separate answer. Note that this list is manually updated, and may not include all the other answers that have been posted! If you find some other answer helpful, please upvote it as well. General-purpose ...


50

When changing the bibliography style, sometimes natbib is upset because it can't interpret the data correctly. In any case, after changing the argument to \bibliographystyle a run of LaTeX and one of BibTeX are necessary to get back in sync. Removing the .bbl and .aux files before those run is recommended, in order to avoid spurious error messages that ...


45

For journal submission, I'm afraid my answer would be 'do not use biblatex'. The bibliography is generated at the LaTeX end by biblatex, and so it is not possible to 'paste in the formatted result'. Most journals want you to either do this or use their own BibTeX style, so biblatex is a bad choice. (This is a shame, but unless/until the journals update their ...


44

I think the best description is given by the author himself in the documentation (1.1 About biblatex): This package provides advanced bibliographic facilities for use with LaTeX in conjunction with BibTeX. The package is a complete reimplementation of the bibliographic facilities provided by LaTeX. It redesigns the way in which LaTeX interacts with ...


44

I have no problem with publisher = {Harold \& Maude}, and running pdflatex and bibtex.


43

Using the biblatex package, you only need to redefine one bibliography string: \documentclass{article} \usepackage[style=authoryear,maxnames=2]{biblatex} \DefineBibliographyStrings{english}{andothers={\&~al\adddot}} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{Aut10, author = {Author, A. and Buthor, B. and Cuthor, C.}, year ...


42

Just replace the first name in question, say Csaba, with {\relax Cs}aba. More generally, place the part of the name that is to be unaffected by the abbreviation inside a TeX group, which is a field that's delimited by { and }, and insert the command \relax at the beginning of that group. Another example of how to make use of this method: To help one's ...


40

Another way this error can arise is if one of your BibTeX entries has no year.


39

Include your DOIs in the BibTeX database under the doi field and include the URLs under the url field; for example: \begin{filecontents*}{test.bib} @article{foo2010, author = "Foo Bar", journal = "J.P.B.", year = 2010, title = "Where the wild things are.", doi = {10.1.1/jpb001}, url = {http://dx.doi.org/10.1.1/jpb001} } \end{filecontents*} ...


38

This is not a bug; it's a feature. BibTeX converts all characters in the title to lowercase, with the exception of the first character. If you want to override this, wrap the character(s) in curly brackets, e.g., title = "Pascal, {C}, {Java}: were they all conceived in {ETH}?"


36

It seems that the PhDbiblio-url2 bibliography style does not want the url field to contain \url{...}. It takes care of the url formating itself, enclosing the contents of the url field in \href{...}. If you have something like url = {\url{http://example.com/}}; in you .bib file, the PhDbiblio-url2 style translates that into ...


35

You need to enclose the \ss macro in braces: (it's also a good idea to enclose the \" within the braces of the 'o'.) Gei{\ss}ler, J{\"o}rg Otherwise, TeX can't tell whether the macro is \ss or \ssler. Usually macros can also be delimited by spaces in LaTeX, but this won't work in your bib file because the space is used by BibTeX to delimit parts of ...


35

The command \clearlist can be used to suppress a category. You can read more details in the documenation texdoc biblatex In the MWE below I have used filecontents* to create the bibliography, but if you already have a .bib file then you can delete these lines. % this part creates mybib.bib % delete these lines if you already have a .bib file ...


35

I think things are just a bit more complicated than in @Joseph's answer. (Though in laying them out, I may violate the desire for a "concise" answer.) My go to reference for details of the BibTeX format is Norman Walsh's page which self describes as: This help entry contains the same information as Appendix B of the LaTeX manual. In BibTeX's world ...


34

I had the same error trying to use spmpsci.bst in conjunction with natbib. While natbib's default citation style is author-year, spmpsci.bst is numeric, so this is a strange error to get. I eventually changed the following: \usepackage[square,sort,comma]{natbib} to \usepackage[square,sort,comma,numbers]{natbib} Problem went away.


34

I don't deprecate any testing ;-) -- all standard styles are available as biblatex styles here: trad-biblatex The following remarks requires biblatex 2.0 or newer! The aim is to setup standard bibliography styles which allow all modifications provided by BibLaTeX. In the first step the implementation of the entry types @BOOK, @ARTICLE and ...


33

The behavior mentioned is the default using IEEEtran.bst style. To change it, you can define a IEEEtranBSTCTL entry in your bib database and change the default value for CTLdash_repeated_names. So, in this case, your entry should look like this: @IEEEtranBSTCTL{IEEEexample:BSTcontrol, CTLdash_repeated_names = "no" } Then in the body of your .tex file ...


32

Based on this example on texample.net I have created this diagram: This infographic is an attempt to visualize the interaction of 'User level' and 'Software/file level' in LaTeX workflow. Sources available here. This is not exactly an answer. To give an idea of the files involved in the compilation, the node named ".tex file" should be elaborated further. ...


32

The natbib package manages the creation and appearance of citations. However, it does not, by itself, determine whether and how lists of numerous authors should be truncated, either in a citation or in the reference listed in the bibliography. Truncation issues are defined in the .bst file, which is called in the command ...


32

The loss of capitalization is by design: BibTeX does this because some, but not all citation styles require capitalization in titles (a.k.a. "title case"); other styles use ordinary case. So BibTeX styles are designed to work as follows: You must write the title in the capitalized form, and your bst style either keeps it this way or converts it to lower ...



Only top voted, non community-wiki answers of a minimum length are eligible