Tag Info

Hot answers tagged

211

(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 ...


151

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 ...


136

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 ...


132

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, ...


96

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 ...


73

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.


72

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.


68

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.",


62

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!


62

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 ...


58

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 ...


57

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 ...


57

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}?"


52

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 ...


51

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


49

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 ...


48

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


46

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 ...


45

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 ...


43

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 ...


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 ...


41

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*} ...


41

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 ...


41

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.


38

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 ...


38

With a TeX Live distribution (possibly also with MiKTeX) there is a bibexport program. Assuming your document is myarticle.tex, you have to compile it normally and then you call bibexport -o extracted.bib myarticle.aux where extracted.bib is the name that you want to give to your new .bib file. Notice that you have to give the extension .aux (or no ...


38

I believe that the entry type you want to use is called @incollection. E.g., the entry could be: @incollection{X, author = "O. Grandstrand", title = "Innovation and Intellectual Property Rights", editor = "J. Fagerberg and D.C. Mowery and R.R. Nelson", booktitle = "Oxford Handbook of Innovation", publisher = "Oxford University ...


38

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 ...


37

Just enclose the the author field in another set of braces: @book{CUDA, author = {{NVIDIA Corporation}}, title = {NVIDIA CUDA Compute Unified Device Architecture Programming Guide}, publisher = {NVIDIA Corporation}, year = {2007} }


36

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 ...



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