Tag Info

Hot answers tagged

9

I'll will give you a more basic approach without additional tools like JabRef. In my opinion, these tools are fine and can make life a lot easier, but you should have a basic knowledge of what is going on under the hood. Another example is latexmk which takes care of the multiple runs of different programs needed for the finished document. But you should ...


6

To create a .bib file from scratch, the simplest is to use JabRef, a multiplatform bibliography manager written in java. You only have to choose the type of entries you want to cite (article, book, conference &c.), fill in forms for the relevant fields. JabRef has import and export functionalities. Added: As @AlanMunn recalled, Mac users have another ...


6

It is in no way discouraged to comment any files you might have written. What you came across is a slight discrepancy in the handling of comments, or if you will a disagreement about what constitutes a comment. According to btxdoc, §4, item 7, p. 13 BibTeX allows in the database files any comment that's not within an entry. If you want to comment out an ...


5

Recommended solution There's no really simple way to do this elegantly using natbib, since the .bst files that format the bibliography entries either produce the fields or not. There's no way to selectively turn them on or off. For this reason, I would recommend that instead of using natbib you use biblatex to manage your bibliography, since this will allow ...


5

Over the years, many packages have been written to do some special bibliography stuff. Urls and DOIs became prominent over the years, and some bibliographystyles have added features to actually cite online material. With biblatex we have a modern package that tries to implement all the functunality of the various packages in just one LaTeX package. It ...


4

You haven't indicated which bibliography style you intend to use. Is that because you haven't decided yet which style, or styles, you'll employ? BibTeX has been around for well more than two decades. The original BibTeX style files -- plain, unsrt, alpha, apalike, and a couple more -- all date back to an era when online resources didn't exist and thus ...


4

In TeXstudio, open Options and then Configure TeXstudio. This opens: In this window, check the Show Advanced Options at the lower left corner. Now, in Build tab, the first field (under Meta Commands) Build & View has this argument: txs:///compile | txs:///view Change it to txs:///compile | txs:///bibliography | txs:///compile| txs:///compile | ...


4

Following @Jared Kulik's comment above, I contacted ADS directly to enter the missing (arXiV) citations they couldn't find. After a few days, they added them, so that they now appear on their system. Oddly enough, immediately after (and therefore more than 3 weeks after the posting of the paper online), Google Scholar updated its records of the other ...


4

Solution The most recent version of nar.bst has now been updated on CTAN (which had previously had on older version.) Up-to-date TL 2015 and MikTeX should now have this version. If you are running an older version of TL, use the version on CTAN. Original answer The version of nar.bst that comes with TL (as of 2015) is outdated. The most recent version ...


3

Literally copying Gonzalo's \Ribbon[options]{text} code at Easy way to draw ribbon and sticking it inside a \stackinset allows a direct solution. \documentclass{article} \usepackage{tikz,stackengine} \colorlet{color1}{gray!40} \colorlet{color2}{gray} \newlength\myrblen \newlength\myrbht \newlength\myrbarc \setlength\myrblen{1cm} \setlength\myrbht{3cm} ...


3

The bibliography style besjournals doesn't appear to do anything with fields named doi. Thus, for any entry for which you do want to show doi-related information, you need to place that information in the note field which, as your luck would have, will be placed at the end of the formatted entry. For the second entry you're listing, you should create the ...


3

As @AlanMunn has already noted in a comment, you need to use a font encoding other than OT1 (TeX's original font encoding, and still the default for most LaTeX document classes). Assuming you need "only" glyphs that occur in Western and Central European languages, you should probably use the T1 font encoding. Assuming further that one ore more of the long ...


2

You haven't stated which bibliography style -- what you invoke with the \bibliographystyle directive -- you're using. Given the general gist of the discussion, though, it looks like the following problem is dogging the bibliography style you use. Search your bst file for all instances of the string vv. Something like the following make come up several times: ...


2

This is surely a duplicate but I can't find it. Your .tex file should look like this: \documentclass{article} \begin{document} Some text referencing \cite{fosfuri2000patent}. \bibliographystyle{plain} \bibliography{biblio}% if biblio.bib is the name of your .bib file \end{document} Then run pdflatex doc if your .tex file is doc.tex. Then run bibtex ...


2

Load natbib: \documentclass{article} \usepackage{natbib} \usepackage{hyperref} \usepackage{filecontents} \begin{filecontents*}{xyyzzz.bib} @article{oskal, author = {{\"O}zkal, Erhan}, title = {The title}, journal = {The Journal}, year = {2015}, pages = {3027-3036} } \end{filecontents*} \begin{document} \cite{oskal} \bibliographystyle{apalike} ...


2

Give the suitable \setcitestyle command: \begin{filecontents*}{\jobname.bib} @article{cite1, Author = {John Doe and James Doe}, Issue = {71}, Journal = {Phys. Rev. B}, Month = {Mar}, Numpages = {0}, Pages = {5321}, Publisher = {American Physical Society}, Title = {SCIENCE!}, Volume = {32}, Year = {1994}} ...


2

The following lines shows that thebibliography environment for this class accepts no arguments: \newenvironment{thebibliography}%[1] {\section*{\bibname}\bibfont% The standard classes would have something like \newenvironment{thebibliography}[1] The commenting of the [1] means that the environment created cannot take any arguments. So you get an error ...


2

Adding \def\bibsection{\section*{\refname}} to the preamble removes the separator and replaces it with REFERENCES Source: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2006-08/msg00708.html


2

I checked the template you used. (More information was posted to LaTeX-Community.org in How to remove the page number from the end of a reference including template and bst file). My statement there is, that \usepackage{backref} (or a backref or a pagebackref option) has been used and should be removed. Update: in the thread it actually turned out that the ...


2

Possibly this might be a helpful beginning which I've expanded a bit in light of the additional information about your bibliography. Note that I had to expand your example considerably in order to reproduce this as yours did not provide the resources required. Also, I had to invent a definition for \lsstyle. This customises the footers as requested, as far ...


2

I get no error if I load hyperref instead of hypdoc (that's an addition relative to the doc package, which is out of place here). Also you shouldn't use geometry and setspace, as the class already takes care of the pagination settings. Loading lmodern is useless if you later load mathpazo. You don't need xkeyval, which is a helper package for other packages, ...


2

Select the entries of interest and choose Search > Set/clear/rename fields: Now change the Keyword field for all "Selected entries":


2

If I understand correctly, put the names in a \def, and use that in the \cite argument. EDITED to provide self-compiling example. In this example, goosens93 and segl03 are the paper labels, whereas \confrefs is the conference reference label, invoking all of the individual papers from the conference in one fell swoop. \documentclass{article} ...


2

Package regexpatch can be used to replace a string inside the definition text of a macro multiple times: \documentclass{article} \usepackage{hyperref} \usepackage{regexpatch} \newcommand*{\doi}[1]{% \def\tmpdoi{#1}% \xpatchcmd*\tmpdoi{{\textunderscore}}{_}{}{}% \href{http://dx.doi.org/\tmpdoi}{doi:#1}% } \begin{document} DOI is clickable: ...


2

I verified that Bibulous could not achieve what you're looking for, because it lacked access to a variable which gives the numerical order in which a reference is sorted in the reference list. So I added it. This is now available by downloading bibulous.py at Bibulous' GitHub page immediately, and will become available via pip (Python's package manager ...


1

Assuming the folder structure in the question, you should have the following configs. Under Options > Configure TexStudio ...> Commands PdfLatex: pdflatex.exe -synctex=1 -interaction=nonstopmode %.tex -aux-directory=./auxiliary/ BibTex: bibtex.exe ./auxiliary/% Under Options > Configure TexStudio ...> Build (after you checked Show Advanced ...


1

This work when you add \usepackage{cite}


1

There is currently a bug in the babel package from miktex. The files are in tex/tex/generic/babel instead of tex/generic/babel. This is a problem if the cslatex package is installed as now its hyphen.cfg is found before the hyphen.cfg from babel. Until the package is repaired you can do the following: Move the hyphen.cfg from tex/tex/generic/babel to ...


1

If you are using the backend biber you need to run biber instead of bibtex. Your code is working fine for me when I run pdflatex, then biber, and then pdflatex again: If I don't run biber after pdflatex I get the same output as you. Just in case biber was not set up: This guide is incredibly helpful (includes guides for many editors, among which also ...


1

This is a nasty hack, but overcoming the style files defaults isn't that straightforward unfortunately. The suggestion I proposed in my comment, appending the DOI to pages: pages = {1--15. DOI:10.1899/15-9834.6} appends the pp. in front of the page details as the style swaps to this mode after it sees the volume is blank. The solution to this is to put a ...



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