Tag Info

Hot answers tagged

141

(The following is an expansion of the biblatex tag entry, which I helped to write). First, some distinctions: bibtex and biber are external programs that process bibliography information and act (roughly) as the interface between your .bib file and your LaTeX document. natbib and biblatex are packages that format citations and bibliographies; natbib works ...


89

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


79

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


68

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} {\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 question to ...


62

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


49

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.


44

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


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

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


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


38

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


33

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


33

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


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


31

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


31

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


29

Another way is to use the refcheck package and add \nocite{*} in your document. This package will warn you (amongst other things) about unused references. My MWE: \begin{filecontents}{\jobname.bib} @BOOK{foo:2012a, title = {My Title One}, publisher = {My Publisher One}, year = {2012}, editor = {My Editor One}, author = {Author One} } ...


29

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


28

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


28

Here's a possible solution using biblatex and tex4ht (steps shown after the image). The publication lists can be split according to their types. The result looks like this: While this webpage is not exactly aesthetically "impressive", I suppose there's nothing some really good CSS-fu can't do! ;-) The Bibliography File I used a custom biblatex field, ...


28

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


27

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


27

At a bare minimum, your LaTeX source file needs to contain these elements for \citeauthor to work: ---- doc.tex ---- \documentclass{article} \usepackage[numbers]{natbib} \begin{document} \citeauthor{goossens93} \bibliographystyle{plainnat} \bibliography{doc} \end{document} ---- doc.bib ---- @book{goossens93, author = "Michel ...


24

I would recommend bibexport script. It creates a new .bib file that includes only the references you cite in the .tex file, and cleans them up. I use it for submissions to journals, when I want to send only the relevant references rather than my databases. Also JabRef has some duplicate search and resolve capabilities which can be accessed via the menu ...


24

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


24

To parse BibTeX format files, Biber uses a C library called "btparse" which is, for all intents and purposes, 99.9% compatible with BibTeX. So, You should rarely have problem using Biber as a drop-in replacement for BibTeX. As mentioned by others, the issue is rather the slightly different data model which biblatex has compared with the data model in BibTeX. ...


23

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


22

One can enter non-numeric information -- such as "in press" and "forthcoming" -- directly in the year field of a bibliographic entry. The only time that having non-numeric information in the year field may cause trouble is if you (a) have several "in-press" pieces by the same author(s) and (b) need to ensure that the entries are sorted in a certain order. ...


22

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


21

The reason is as follows: At the first latex run, all \cite{...} arguments are written in the file document.aux. At the bibtex run, this information is taken by bibtex and the relevant entries are put into the .bbl file. At the next run of latex, the .bbl file is included and correct labels for \cite{...} commands are written in .aux file Only at the last ...



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