Tag Info

New answers tagged

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


2

biblatex/biber supports fixed sets (@set in the bib) and dynamic sets: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[subentry]{biblatex} \addbibresource{biblatex-examples.bib} \defbibentryset{multi}{shore,angenendt,westfahl:space} \begin{document} \cite{set} \cite{multi} \cite{shore} \printbibliography ...


0

The word Through is unbreakable, so you can neglect the warning. There are also two typos in your bibliography: no space after 17, in [8] and Space after Prentice- in [9].


0

The answer by @egreg is good but does not address the BibDesk gui itself. In BibDesk, both {\"{a}} and {\"a} are acceptable but you may still see the error until you restart BibDesk or at least reopen the .bib file. I haven't found any other way to get the error messages to update.


2

Make a copy of apalike.bst, rename it e.g. myapalike.bst To make volume bold find FUNCTION {format.vol.num.pages}. In this function replace line { volume field.or.null with { "{\bfseries " volume "}" * * field.or.null To make et al italic find FUNCTION {format.lab.names}. In this function make 2 replacements: % { pop$ "et~al." * } should become { pop$ ...


0

Make a copy of apalike.bst and name it something useful like apalike-nospace.bst. Save this in your local texmf folder in texmf/bib/bst. Then change the format.names function in the .bst file. The crucial change is in the following string in the function which tells bibtex how to format the name pieces: "{vv~}{ll}{, jj}{, f.}" This needs to be changed ...


1

By suggestion of @Mico, I looked at the webpage of APS and found the following How can I make the titles of cited journal articles appear in the bibliography? REVTeX 4.1 calls in a default BibTeX Style (.bst) file for each supported journal. The .bst files support displaying the titles of cited journal articles in the bibliography. To display ...


0

If you don't mind using biblatex instead of bibtex, you could simply use the following: \printbibliography[heading=none]. Dependencies: biblatex biblatex-ieee (for the IEEE bibliography style) Here's a minimal example: \documentclass{article} \usepackage[style=ieee]{biblatex} \addbibresource{refs.bib} \begin{document} \section{Some section} Some text ...


0

The log file given above shows that: I found no \bibdata command which means, you have not loaded bib database file in \bibliography{} command. Likewise, I found no \bibstyle command means, you have not given the bibliography style in \bibliographystyle{}.


0

You should not have any formatting in the BibTeX file, or at least only that which is essential (normally in titles). Here, you have year={\textbf{2008}} which should be year={2008} The odd error you get is from natbib, which expects to be able to make the year available as a number: formatting breaks that.


1

One very clean solution is to make the list format use the two command \multilistdelim and \finallistdelim at the appropriate places \renewbibmacro*{list:plain}{% \ifnumgreater{\value{listcount}}{\value{liststart}} {\ifboolexpr{ test {\ifnumless{\value{listcount}}{\value{liststop}}} or test \ifmoreitems } ...


1

The acmsiggraph document class file and auxiliary files don't seem to be on the CTAN; however, I found some files at http://www.siggraph.org/sites/default/files/acmsiggraph2015.zip. If that's not where you got the template and document class files from, please state your preferred source for these files. The main thing to note is that the argument of the ...


0

Well, as @jon said in the comment, this is a grammatical problem. Maybe I'm using the passive voice too much. The easy solution is avoiding those \citeauthor{key} at the end of a phrase. The technical solution uses biblatex, as recommended in the post linked in OP (here again as a reference: Preventing repeated periods in citations). I'm adding this as an ...


0

This style seems to use author names and years in the reference abbreviations, i.e., something like [Smith94] instead of [1]. If that was the case, the weirdness would result because you do not supply authors (author = {...}) in your BibTeX entries. On their website, it says: The in-text citation style is as follows: For parenthetical citations we ...


0

May not be a complete answer but here's what works for me after trial and error, they key point is ordering of the various \usepackage commands. %Better refs \usepackage{varioref} \usepackage{hyperref} \usepackage[nameinlink]{cleveref} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[square,sort,comma,numbers]{natbib} \usepackage[color]{showkeys} and ...


1

You will need to modify the bibliography style file -- here: apalike.bst -- to get BibTeX/LaTeX to print "submitted" rather than "tted" in the citation call-outs. I suggest you proceed as follows: Find the file apalike.bst in your TeX distribution. Make a copy of this file, and name the copy (say) myapalike.bst. (Don't edit an original file of the TeX ...


2

There are 3 common ways to create a bibliography in LaTeX. Use the thebibliography environment. Use a database of bibliographical entries and BibTeX. The database takes the form of a .bib file. Use a database of bibliographical entries, Biblatex and Biber. The database can be in one of several forms, most commonly a .bib file. The template assumes ...


1

An inproceedings entry uses the same fields as an incollection entry. Keep thetitle field set to the title of the article, and use the booktitle field to define the title of the conference.


0

Thanks for the comments. The problem (as @Mico noted) is with the czech language. The following kludge fakes the edition: @Preamble{"\newcommand{\noopsort}[1]{}"} @Book{howell15:_ode, language = {english}, author = {Howell, Kenneth B.}, title = {Ordinary Differential Equations: An Introduction to the Fundamentals}, publisher = ...


2

You are using field names in the .bib which require Biblatex, but are then using BibTeX only to compile. BibTeX/natbib/etc. don't know anything about date or journaltitle. You need to either use Biblatex or correct the .bib file to use traditional BibTeX fields e.g. journal, year, month, day etc.


2

Basically, the behavior you have observed is by design and the actual purpose of splitting @inproceedings and @proceedings entries: If you cite a paper (@inproceedings entry), BibTeX will either import the missing information from the crossref'ed @proceedings entry into the paper's entry inside the bibliography or, if more than two papers from the same ...


0

https://norwied.wordpress.com/2012/07/10/how-to-break-long-urls-in-bibtex/ \usepackage{url} \usepackage{breakurl} \usepackage[breaklinks]{hyperref}


1

This works just fine, the format states that you should use either {...} or "..." around entries. \begin{filecontents}{bib_fileX.bib} @article{merton80, author = "Robert C. Merton", title = "On Estimating the Expected Return on the Market", year = "1980", journal = "Journal of Financial Economics", volume = "8", pages = "323--361" } \end{filecontents} ...


-1

Remove the `` '' and put curly brackets around the arguments like author = {Robert C. Merton}, if you want a part to be exactly like you entered, you may choose another set of brackets author = {{Robert} C. Merton}, this will not get abbreviated to R. C. Merton (independent from bib-style). This is also needed, if you need special characters or ...


0

Try changing the bibliography style. Changing the bibliography style from \bibliographystyle{amsplain} to \bibliographystyle{unsrt} worked for me.


2

You should create a LocalTeXMF root directory, say in your personal directory. Whatever the exact name you give it, you have to declare it via MiKTeX Options, Roots tab, Add button. Everything you'll put in this directory must respect the TeX Directory Structure (TDS). In this root, copy the .bst file as ...


0

My error was that I wasn't using an EXACT copy of elsarticle-num.bst. I was using the one I downloaded from Elsevier. Using an exact copy fixed my problem.


2

Here's a TeXstudio macro that I use for exactly the purpose you mention: %SCRIPT txt = cursor.selectedText() editor.write("{"+txt+"}") cursor.clearSelection() One you have added this in the Edit Macros window (I used "Braces Around Text" as the Name and left the other fields blank), you can assign it a keyboard shortcut in Configure TeXstudio | Shortcuts. ...


5

You could basically use any symbol for this, I decided for a bunch of + characters, which do not occur very often and stored this to a command, which is then used in a redefined \@citex command, which is called by \cite. The \@citex command is taken from latex.ltx, i.e. the LaTeX kernel. Of course, any package using a different \cite definition will break ...


3

With biblatex and biber (which understands utf8) there is no problem: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage[english,russian]{babel} \usepackage[autostyle]{csquotes} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @article{article:manoilov, author = {Новиков, Л.В. and Манойлов, ...


1

How about @misc{blabla, auhor = {author name}, title = {software name (version ...)}, year = {year}, url = {url}, } I think that would be completely valid. Additionally, you could use the note field to add information.


2

I'd say that "1997" is the year, "206" is the volume number, and "1996" is the issue number. I'd keep the abbreviated journal name, as I see little point in writing the full form, which would be "{\"O}sterreichische Akademie der Wissenschaften, Mathematisch-Naturwissenschaftliche Klasse, Sitzungsbericht~II". \RequirePackage{filecontents} ...


3

For citing sources using BibTeX, you should use \cite{...}, and when you don't cite any sources, you get an error message like this: ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.24 ...


3

You can achieve it by testing if doi is empty inside the function format.url. Replace your format.url by the following: FUNCTION {format.url} { doi empty$ { url duplicate$ empty$ { pop$ "" } { "\urlprefix\url{" swap$ * "}" * } if$ } { "" } if$ }


4

I use amsrefs because I like to annotate my bibliographies, and that's much easier in the amsrefs structure. Publishers have never complained about my using it, although some have asked me to do some work getting the italics how they want, and such minutiae.


0

For entries of type @inproceedings, the bibliography style ieeetr provides the following definition of the function inproceedings: FUNCTION {inproceedings} { output.bibitem format.authors "author" output.check format.title "title" output.check blank.sep crossref missing$ { format.in.ed.booktitle "booktitle" output.check format.bvolume ...


0

I'm a TexStudio user and whenever I receive this error message, it's because I've changed the default bibliography tool from biber to biblatex. To change it back, I have to do Tools > Configure TexStudio > Build > Default Bibliography Tool and the process works again. Even if this answer never helps anyone else ever, it'll at least be good for me ...


3

A. Short answer You are not using BibTeX but the built-in mechanism for the bibliography. In order to specify the title with -V biblio-title=Bibliography you have to use either --biblatex or --natbib. B. Long answer If you are producing LaTeX output with pandoc you have three options for the bibliograpy: Using the built-in mechanism, using natbib, and ...


1

The problem is due to a build profie in TeXnicCenter, which included a run of bibtex on the main file. Turning off this profile removes the error messages.


2

That will resolve the problem ;) : pdflatex paper.tex bibtex paper.aux pdflatex paper.tex evince paper.pdf


2

texdoc biber: 2.6. Performance Biber can’t really be compared with BIBTEX in any meaningful way performance- wise. Biber is written in Perl and does a great deal more than BIBTEX which is written in C. One of Biber’s test cases is a 2150 entry, 15,000 line .bib file which references a 630 entry macros file with a resulting 160 or so page (A4) ...


0

I finally came to a solution. When I had \bibliography{mybib}, the bibliography file could not be found. By specifying the location as I did below solves the problem. \bibliographystyle{plain} \bibliography{/Users/SextonEconomics/Desktop/mybib} \end{document}



Top 50 recent answers are included