Tag Info

New answers tagged

0

I had this problem when switching from Windows & Texniccenter to Ubuntu and TexStudio. Turns out the problem was spaces in my file name. If you are running out of ideas and your tex file name has spaces, try removing them.


0

In my case it was fault of editing tool. I was using TexMaker and it did not showed bibliography, because it was not enabled in build settings (preferences). Hope this helps somebody using TexMaker.


6

The “How to attribute” page says Books The attribution should be displayed either on the same page as the symbol, with the colophon, in the bibliography or Credits section. So you can simply add a “Credits” section at the end of the introduction, or anywhere else, for instance in a final colophon: \section*{Credits} The icon SoundWave ...


2

The package apacite does no underlining. The problem could be in you loading \usepackage{ulem} Note that underlining for emphasis is a typographical device that eminent typographers consider very bad. It can have its uses for special notation, but it should never be used for emphasis.


0

You should use biblatex with style=apa and natbib option. For the problem created by ulem, if you need its functionalities, you can load it with option normalem or use soulutf8 instead: \documentclass[12pt,american, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{filecontents} \usepackage[normalem]{ulem} ...


1

As you've set the natbib tag, I'm inferring that you're using the natbib citation management package. If this inference is valid, you could load the package as follows to achieve your objectives: \usepackage[square,semicolon]{natbib}


1

I know this is an old question, but I recently encountered a similar problem. After fixing errors in the .bib document (such as adding backslashes to the %) remember to delete the .bbl document first and recompile. The way I add urls to bibtex is thus: @misc{fenwayHouse, title={{Fenway House}}, howpublished="\url{http://web.mit.edu/fenwayhouse}" } ...


3

If the .bst file is the one at this link, then the changes you have to do are: at line 246, change { " {\rm a} " * t * } into { " \textrm{a}~" * t * } at line 339, change { " a " * t * } into { " a~" * t * } at line 1193, change { " a " * s #2 "{vv~}{ll}" format.name$ * } into { " a~" * s #2 "{vv~}{ll}" format.name$ * } As you are on it, ...


5

By default, in TeX Live bibtex looks for local .bib files in your local texmf/bibtex/bib folder. So you can put your directory containing the bib files there, or make a symbolic link inside that folder to your directory. Either one will work. Then you just use \bibliography{a,b,c} for .bib file a.bib, b.bib etc.


1

Since I just wasted a day on this, figured I'd post my findings and solution. In order of the key steps.. I switched from TeXWorks to TeXStudio which doesn't require a workaround / multiple clicks to build the pdf and the bibliography with biber, although as pointed out there are hacks for this as linked above. I set the ...


1

It turns out that modifying a copy of the file IEEEtran.bst to achieve your objective is not particular difficult. I suggest you perform the following steps: Find the file IEEEtran.bst in your TeX distribution. (If you run TeXLive, it probably resides at /usr/local/texlive/2014/texmf-dist/bibtex/bst/IEEEtran/.) Make a copy of this file -- don't edit a file ...


2

Consider using biblatex-ieee and the urldate field rather than note. The default string for urldate isvisited on (in English). If you prefer the string produced in your question, uncomment the 3 commented lines. \documentclass{article} \usepackage[style = ieee, urldate =comp]{biblatex} \usepackage{xpatch} \usepackage{url} ...


3

the canonical order of bibtex sort fields is the following: author(s) (or sort keys if an alpha sort is requested), year, title. whether the bibtex ordering is controlled by a plain or an alpha .bst file, if the year of publication is the same, the element that will control the sort is the title. so if the title of the earlier part begins with "z", only ...


0

Well, in my case Herbert and moewe's suggestions didn't help. I had to change the FUNCTION {format.lab.names} % There are three apalike cases: one person (Jones), % two (Jones and de~Bruijn), and more (Jones et~al.). % This function is much like format.crossref.editors. % FUNCTION ...


5

The BibTeX author mentions: Here's how BibTeX works. It takes as input an .aux file produced by LaTeX on an earlier run; a .bst file (the style file), which specifies the general reference-list style and specifies how to format individual entries, and which is written by a style designer (called a wizard throughout this program) in a ...


2

If you want to consider using biblatex-ieee, it's easy with the xpatch package: \documentclass{article} \usepackage[style = ieee]{biblatex} \usepackage{xpatch} \xpatchbibdriver{inproceedings}{% \usebibmacro{volume+part}% \newunit \usebibmacro{publisher+location+date}% } {% \usebibmacro{publisher+location+date}% \newunit \usebibmacro{volume+part}% ...


2

You need to edit the associated .bst file and adjust the inproceedings FUNCTION to match the sequence in the output. Since you're using IEEEtran, we're talking about IEEEtran.bst. Here's the entry in question: FUNCTION {inproceedings} { std.status.using.comma start.entry if.url.alt.interword.spacing format.authors "author" output.warn name.or.dash ...


0

I have come up with a workaround solution that is fairly bad, but not as bad (to me) as modifying the .bib file somehow. Load amsrefs with the option y2k, and run BibTeX (the option alphabetic should also be used). Then remove the y2k option before running LaTeX. The reason this works is that amsrefs runs BibTeX using the biblipgraphy style amsxprt, ...


2

I managed to redefine \beamer@newblock so that the text in the author block is saved and then later used after the title block. I used the definition of the command in beamerbaselocalstructure.sty (Till Tantau, Vedran Miletić) as the starting point for my modifications. Note that the bibliography entry author template is now used for the title and the title ...


0

cfr's comment provided the answer---deleting the generated files (aux etc.) and recompiling solved this. Sometimes it's the simple things...


0

I was also interested in this very same thing, and in the end came up with a small pygtk (Python 2.7/Gtk2) application, called bibview (bibview_pygtk.py); released here: http://sourceforge.net/p/sdaaubckp/code/HEAD/tree/xtra/tex/bibview/ I've written a bit about it in the README, which should be visible at the above link; otherwise, here are some ...


0

The following MWE will work, removing \usepackage{cite} and using a different style, like apalike. The icon can be easily removed as shown in the MWE. Line breaks are inherent to the style, either write the 3 lines shown in the MWE or create your own style that doesn't include line breaks using makebst. More styles can be downloaded from ...


7

Standard bibtex styles cover only one type of ISBN (it does not matter if you use the 13 or 10 digit format). With biblatex you can create new fields for bibtex entries, let us say ISBN13 and ISBN10. Then all you have to do is redefine how the isbn field is printed, e.g., \DeclareFieldFormat{isbn}{\textsc{isbn}~\printfield{isbn13}} or you can create ...


4

Not with BibTeX alone. If you're using biblatex you can: \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @BOOK{A1, author = {Author One}, title = {Alpha}, publisher = {Publisher A}, year = {2000}, } @BOOK{B2, author = {Author Two}, title = {Beta}, publisher = {Publisher B}, year = {2001}, ...


2

This might answer your question probably only partly: I have a master document with some child documents. All lyx files have the same document type and use the defaults. To include packages or define macros I have an additional tex file (options.tex) which contains everything that needs to be done in the preamble. In the preamble of the lyx documents I add ...


1

bibtex has a command line switch (i.e., min-crossrefs=<number> to control the minimum number of a crossref is used to be included in the bibliography. If one cannot control the option when bibtex is run, there are a few options. You can run bibtex -min-crossrefs=500 <file> on your own computer to generate the bibliography in a ...


5

With every call to \cite, LaTeX writes to the .aux file. All we have to do is mimic \cite without this writing feature: \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} \@article{lorem,author={Lorem Ipsum}} \@article{ipsum,author={Ipsum Lorem}} \end{filecontents*} \makeatletter % Partly taken from ...


2

I'm using biber to automatically remove the escapes (the option (c) in the question, which I seem unable to avoid) as follows: biber --tool library.bib and a biber.conf with the following simple regex map: <map> <map_step map_field_source="url" map_match="\\" map_replace="" /> </map> Not ideal, but until Mendeley starts ...


1

I don't think that the part of the instructions you cite means that you have to generate a PDF with hyperlinked references. However, it's possible that they say this somewhere else. Looking back at my last article published with Springer, I notice that I did in fact include a package to enable hyperlinks of this kind to be made. And I don't think that I ...


5

You can have such a functionality easilly with the biblatex package, by redefining the mkbibnamelast command. See also the p.95 of the biblatex ( Version 2.8a 25/11/2013) documentation. (As egreg points it, the bibliography is somehow faulty, I edit it) \begin{filecontents*}{biblio.bib} @ARTICLE{nothing, author = {Noone and others}, ...


0

You could open the .bib file and do a find and replace of author = " { with author ="\textbf{` This seems a bit of an annoying hack though. I'm sure you could find a better way to do it in the .bst file.


0

The part about \label and \ref refers to things like section numbers and (if applicable) example numbers. It means that you should use \label and \ref rather than having actual numbers in your .tex file. The part about\cite and \bibitem just means that you should use BiBTeX for bibliographical references. I've published with Springer and, unless they've ...


1

You shouldn't use applemac encoding for .tex files any more! All modern OS understand UTF8 and, with ascii, it is the only universal format. I have no idea why the default in TeXshop still is applemac, if I'm not mistaken. You also can use UTF8-encoded .bib files if you make your bibliography with biblatex/biber, and JabRef is able to save your .bib files ...


3

Assuming that the bib file is the same directory than your document, and context is run twice, the only way I get an error, is with the omission of [criterium=text] right after \placepublications. So for example: \setupbibtex[database={xampl},sort=author] \setuppublications[alternative=apa-de,numbering=yes,refcommand=num] ...


2

Mispelled line corrected. It is assumed, that you a going to use latex, bibtex and twice latex (or another command, like pdflatex). \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage{caption} \usepackage{cite} \begin{document} \section{Introduction} %bla bla .... \cite{tets} bla bla .... \cite{test} ...


1

I can't remember the logic with complete certainty, but I think you've found the right function to edit. The .bst syntax is slightly ... odd, but the key couple of lines in plain.bst are: s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { ... } while$ (this is from plain.bst – many other .bst files are derived ...


1

use \expandafter\addbibresource\expandafter{\myPath biblio.bib} or define \edef\myFile{\myPath biblio.bib} \addbibresource{\myFile}


2

The change.case$ built-in function is described in the source (texk/bibtex-x/bibtex-4.c in TeX Live): * The |built_in| function change.case$ pops the top two (string) * literals; it changes the case of the second according to the * specifications of the first, as follows. (Note: The word `letters' in * the next sentence refers only to those at ...


2

I created a custom bibliography style with makebst. With a standard article document class, the result looks like this: Document class svjour3 from the publisher of the journal alters the citation style (by using \bibpunct) to drop the comma between author and year: Code of the example document %\documentclass[natbib]{svjour3} % File available from ...


1

I identified 2 problems in your MWE: As @Paul Gessler said, in \bibliographystyle{style}, "style" is not a valid bibliography style. To read more about the different bibliography styles, check the link he provided or this one. I couldn't compile your literature.bib file, because the last element in the bibitem has a colon at the end (" url = ...


2

Without any packages, you just have to redefine the way \@biblabel works: \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @BOOK{A1, author = {Author One}, title = {Alpha}, publisher = {Publisher A}, year = {2000}, } @BOOK{B2, author = {Author Two}, title = {Beta}, publisher = {Publisher B}, ...


2

Here is something that satisfies your requirements for the entry types you've mentioned. It uses biblatex. Probably for other entry types, there would remain some job to be done. \documentclass[12pt,english,french]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{xpatch} \usepackage{filecontents} ...


3

I am not sure, if it is an expected behaviour. If we take class from here http://www.latextemplates.com/template/elseviers-elsarticle-document-class, the title References appears.


2

It is a class feature, but it is possible, to redefine \bibliography of course in order to automatically add a \section*: \documentclass[final,5p,times,twocolumn]{elsarticle} \journal{Elsevier Journal} \renewcommand{\bibname}{References}% \let\ElseVierBibliography\bibliography% \renewcommand{\bibliography}[1]{% \section*{\bibname}% ...


3

This is the expected behavior with this class. If you look in the template they provide, the elsarticle-template.tex file, you should see 4 lines before the end of the file: Here are two sample references: \cite{Feynman1963118,Dirac1953888}. \section*{References} \bibliography{mybibfile} \end{document}


2

The field number refers to a series of books (for instance, Academic Press' “Pure and Applied Mathematics”) or the issue number of a journal's volume. Probably HT-FED2004-56887 should go in a note field, with an explanation of its meaning; in the ASME site it is presented as “Paper number” and is part of the DOI, which is doi:10.1115/HT-FED2004-56887. ...


4

The option footinbib leads to the creation of an extra .bib file with entries of the form: @MISC{NoteX,note="Supplemental Material reference"} Instead of using footnotes, you can also add such entries to your .bib file and use standard cite commands.


5

Each \footnote under your document setup produces a bibliography key of the form NoteX where X is the regular footnote number. So, in your case, \cite{Note1} would reference the first footnote citation, while (say) \cite{Note17} would reference a citation in the footnotes corresponding to footnote number 17. Here's a minimal example explaining its usage: ...


0

You can try this, defined with biblatex and the numeric style. I could only manage the article (and alike) entry type, since I don't know what are the specifications for book, for instance. I added an issue field to your item, to be able to format it in a sensible way (date and issue are mixed in the original definitions of biblatex); of course this ...


1

Here is how you do it! (without suffering like I have). Note my answer only covers books and article bibtex entries. As you are submitting a manuscript to springer you should use their tex class svjour3 found here, but it is not necessary for what follows. Now download biblatex and create a file called biblatex.cfg and put it in the same folder as your .tex ...



Top 50 recent answers are included