Tag Info

New answers tagged

3

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

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


0

The answer can be found in Section 2.1 of the makebst documentation. In this case, the file iatbr.dbj with the first set of options could look like this: \input docstrip \preamble This is for ... \endpreamble \postamble End of ... \endpostamble \keepsilent \askforoverwritefalse ...


1

The space comes "{" swap$ * "} " * in from format.eprint remove (in a local copy of the bst file, you could report it to the APS) the space after the } so it looks like FUNCTION {format.eprint} { eprint duplicate$ empty$ control.eprint #0 < or { pop$ "" } { duplicate$ "" archive duplicate$ empty$ { pop$ archiv.base } ...


0

You should check first if you're loading the natbib package with the option longnamesfirst. If so, be sure to delete this option. Since the agsm bibliography style is part of the harvard citation management package, you should load the package har2nat if you want to use the agsm bibliography style along with the natbib citation management package. With ...


1

<pre>...</pre> in Zotero passes the contents as raw LaTeX: <pre>\pkg{blahblah}</pre>


1

You can change the maxbibnames value and suppress the month field for articles like this: \documentclass[a4paper,12pt,BCOR13mm,twoside,openright,]{scrreprt} \usepackage[style=chem-acs,maxbibnames=99]{biblatex} \AtEveryBibitem{\ifentrytype{article}{\clearfield{month}}{}} \addbibresource{MWE.bib} \begin{document} This reference should not have a month ...


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


0

If you don't know too much about editing BST files, perhaps the declaration of the different publication types is the least error-prone way. At the very end of your testplainnat.bst-file you have functions for each doctype like: FUNCTION {article} { output.bibitem format.authors "author" output.check author format.key output new.block format.title ...


1

You have an error in the .bib file: a comma is missing at the end of the key. You're also missing a \directorystyle command. In the example I use a filecontents* environment, just to keep the example self-contained; use your own file (and change \directory{\jobname} into \directory{filename}). \begin{filecontents*}{\jobname.bib} @person{blah.doe, name = ...


0

A useful package for generating arbitrary styles is Bibulous. Using the *.bib file provided by the OP, together with the following Bibulous style *.bst file TEMPLATES: mytag = <au>, \textit{<title>}, <journal>[ <volume>], <year>... [, <link1.35:-1>][, <link2.35:-1>][, <link3.35:-1>] SPECIAL-TEMPLATES: ...


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

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


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

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


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


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


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


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


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


0

Since this question uses the code from a previous answer of mine and the OP still does not have a code that is working in his document, I'll give it a try. First of all I don't fully understand your preamble (e.g. as @Cfr stated, there's no definition of \lsstyle), therefore I'll base my answer on your initial code. In my previous answer (Page numbers ...


0

Just your FUNCTION {manual} read FUNCTION {manual} { output.bibitem format.authors output author format.key output format.date "year" output.check date.block format.btitle "title" output.check format.bvolume output new.sentence organization "organization" bibinfo.check output address "address" bibinfo.check output format.edition output ...


0

I found a way through XML. If someone wants to port this to bibtex, here is the equivalent in XSLT https://gist.github.com/milasudril/c61abb7abe44fe2270e5


2

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


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

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


0

One way to accomplish this is slightly change the presort function inside your bibTeX style file. Here I'm using the month-based sorting function suggested by keflavich in the answer below. http://tex.stackexchange.com/a/33332/84764 Code: FUNCTION {sort.format.month} { 't := t #1 #3 substring$ "l" change.case$ "jan" = { "01" } { t #1 #3 ...


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

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

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


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


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


0

I believe you're using the wrong entry type: Instead of @unpublished, you should probably be using @techreport for the entry at hand. Separately, instead of using the note field, you should be using separate series, type, and number fields. Finally, you may want to provide an address field as well. \RequirePackage{filecontents} ...


0

There was a problem with the url field (I suppose direcly copied on the web), which probably had some invisible character in it. I retyped the url, changed the category from @misc to @article since it comes from a journal on line, loaded the url package to break long urls at the end of line. I also propose to use bblatex with option natbib (it emulates the ...


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


0

I ended up screening my 300+ references block-by-block: there was one white space that caused all the problems! one! I learned significantly today. Thank you for your patience. :)


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


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

This work when you add \usepackage{cite}


7

The field type is just for this. Put in your entry type = {Tesis de Maestría},


3

.bib files are bibtex input so not normally in the TEXINPUTS search path for input to latex. I think the best solution is to use \bibliography{library} and leave warning about it not being there to the program that searches for the file, namely bibtex. Alternatives would be to require that TEXINPUTS is locally changed to include $BIBINPUTS so then ...


3

With package biblatex, you can cite online entries (@online) without anything to care about. All entry fields support an url field as well. Remember, you can even refer to a very specific moment by appending the time to the youtube link. \begin{filecontents}{\jobname.bib} @online{youtube, title = {Some cool motion sensor stuff}, date = ...


0

Not that this is better than the alternatives already explored by the OP, but it does avoid placing the "p." manually. It works by using an active . as a surrogate for a "page number dash", so that it isn't interpreted as a "page number range" which is the underlying problem being experienced. The downside is that the \citep must be set in its own group ...


2

@Misc{Zatko15, author = {Peiter Zatko and Ivan Poupyrev and El Guerrab, Rachid and Regina Dugan}, title = {{G}oogle {I/O} 2015. {A} little badass. {B}eautiful. {T}ech and human. {W}ork and love. {ATAP}}, howpublished = {\url{https://www.youtube.com/watch?v=mpbWQbkl8_g}}, month = {May}, day = 29, ...


0

So, the solution I have found is to add a * before the second eprint call, having the following code: FUNCTION {format.eprint} { eprint empty$ { "" } { "available in \href{http://arxiv.org/abs/" eprint * "}{arXiv: " * eprint * "}" *} if$ } When compiling the previous MWE, now the output of BibTeX is This is BibTeX, Version 0.99d (MiKTeX 2.9 ...



Top 50 recent answers are included