Tag Info

New answers tagged

1

My final document preamble (thanks to Mico for pointing me in the right direction) \documentclass{acm_proc_article-sp} %ACM template for conference proceedings \usepackage[utf8x]{inputenc} %for special characters \usepackage{listings} %for code sections \usepackage[square,authoryear]{natbib} %for ...


1

Instead of editing the bibliography style file (not something to be done lightly!), you may want to look into using a competent citation management package that lets you generate the desired format of the citation callout directly, independently of the bibliography style you may choose to use. Since you're using the natbib citation management package, and ...


1

In your bib entrys LatencyArbitrageTheRealPower and michaelLewisWrong is a comma missing. Add them and everything should compile. Here the two corrected bib entrys: @article{LatencyArbitrageTheRealPower, title = {Latency Arbitrage: The Real Power Behind Predatory High Frequency Trading}, author = {Sal Arnuk and Joseph Saluzzi}, year = ...


4

Remove the ALT prefixes from author and editor fields, i.e., change ALTauthor to author and ALTeditor to editor. Do this only for fields whose values are not {•}, of course, or you'll get some bitter complaints from BibTeX... By the way, I think the title of the cetin entry should start with {``Sodium Hydroxide'' Ullmann's... rather than with {"Sodium ...


4

Assuming your copy of the style file ACM-Reference-Format-Journals.bst is more or less the same as the one I was able to obtain from this GitHub site, you can get rid of the bracketd citation labels by loading the natbib package (in the preamble): \usepackage{natbib} To get rid of the handing indentation, use the instruction \setlength\bibhang{0pt} You ...


1

Also check out https://github.com/jburon/pnas2011.bst for PNAS bibtex style updated to match the current fashion in reference layout as of 4 September 2011.


2

FWIW, Oren Patashnik's original BibTeX documentation defines a \BibTeX command in the preamble of the corresponding .tex file: \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} The larger title version is hand-crafted like this: \title{B\kern-.05em{\large I}\kern-.025em{\large ...


4

After much gnashing of teeth, trying \BiBTeX, \BIBTeX, \BibTeX, \bibTeX, ... in the hope that such a command would be defined somewhere and looking through SO, I looked through the Wikipedia page, found Oren Patashnik's original BibTeX documentation, located the corresponding .tex file and found that a \BibTeX command was defined in its preamble: ...


3

You need to format your bibliography file correctly. Writing author = "{xxx yyy and aaa bbb}" will be interpreted as a one single author whose name is simply a surname. You should write author = {xxx yyy and aaa bbb} or better author = {yyy, xxx and bbb, aaa} with each name as Last, First: @TechReport{E:N:T:Z:2003, author = {Elnikety, ...


0

Others have mentioned the missing "year" entry which can cause this error. For me it was a missing comma at the end of a line before the "year" entry. This probably lead to Bibtex not seeing the "year" entry and throwing the error. See the missing comma after the "author" entry here: @book{schroedinger_what_1944, title={What is life?}, ...


3

A BibTeX database is a plain text file (.bib file): JabRef provides a convenient and powerful editing front-end but cannot store data in the file without it being in the source. As such, if you add custom fields to the database they will be in the .bib file and so JabRef will show them in the source tab (which is meant for low-level editing). It is of ...


0

Not a good solution but works for now. I was able to modify the style file to ignore author if a key is specified, to format the label for 2, 3 or more authors manually. And for a single author I modified it to display 4 letters.


2

This is one reason why it is can be helpful to start with a minimal WORKING example, if you can find one :-) #+LaTeX_HEADER: \usepackage{mathptmx} #+LaTeX_HEADER: \usepackage{pifont} #+LaTeX_HEADER: \usepackage[margin=0.7in]{geometry} #+LaTeX_HEADER: \usepackage[backend=bibtex,sorting=none]{biblatex} #+LaTeX_HEADER: \addbibresource{gg.bib} %% point at your ...


3

After loading natbib, but still in the preamble, provide the instruction \setcitestyle{authoryear,round} Alternatively, you could load the natbib package with the options authoryear and round: \usepackage[authoryear,round]{natbib}


2

To get the appearance of the entries in the references, keep using the plainnat bibliography style but do not load the natbib package. You'll get: \documentclass[a4paper]{article} % to keep output all on one page \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm,graphicx} %\usepackage{natbib} %% deliberately ...


5

You can use arbitrary keywords that are not yet defined. They will be ignored by bibtex. In JabRef, you can add those fields in Options/Set up general fields.


0

I had this same problem - the issue was I was using both \begin{thebibliography} \end{thebibliography} AND \bibliography{IEEEabrv,references_v2} % Using references_v2.bib To use an external .bib file, you should comment-out the \begin{} & \end{} lines. Of course IEEE tells us to copy/paste the entire .bbl file into the .tex doc before ...


4

You can make a copy of aer.bst and modify it to bypass the comparison of author (and editor) names. The following patch should do the trick. In the patch, the modified bibliography style file is named aer2.bst. I have edited two lines in the function make.list.label. --- aer.bst 2014-01-12 01:23:55.000000000 +0200 +++ aer2.bst 2014-08-20 ...


3

The organization HarvestChoice suggests the following citation of the publication in question: HarvestChoice, 2006. "[Tanzania] National Sample Census of Agriculture 2002/2003: Small Holder Agriculture, Volume II: Crop Sector - National Report." International Food Policy Research Institute, Washington, DC., and University of Minnesota, St. Paul, MN. ...


3

I had the same issue lately, so maybe this help. But as usually, this is depending on your bibliography style 1 - Use double braces author = {{Harvest Choice}} to avoid the reformatting of things via bibtex 2 - I used the url = {} field and a latex url command within it: url = {\url{yadayada}} 3 - You could try other bibliography styles or edit the .bst ...


5

To get the entries listed by \citep or \citet printed in the order in which they are input, rather than sorted alphabetically by authors' names, omit the option sort&compress when loading natbib. If neither the sort nor the sort&compress options are set, the ordering of the citation callouts is determined by the way you sort the keys in the ...


2

I was using the wrong options for natbib. Upon removal of the "square" and "number" options, citations now appear in the proper format (I'm using "sort" and "round").


1

The disambiguation of multiple publications of the same author's last name in the same year is handled by the bibliography style. Try \bibliographystyle{APA} to see the difference. If you are required to take agsm then there might be a way to edit the respective .bst file, but thats beyond my skills :)


0

A quick and dirty hack method would be to use the "text after" option of the cite and citep[][]{} commands to add the "a" and "b" in the initial reference in the text and use the notes field in the bibliography to provide the "a" and "b" clarification. That systenm should work, although it is quite clunky and depending on how often you have the case you ...


1

Biblatex (not BibTeX) defines a field pubstate, where you can set different types like inpress, submitted, forthcoming, etc. The full list is in the biblatex manual.


1

A possible, yet sort of hacky solution to this, would be to use the note field in your bibliography entry. This would usually print it out in your bibliography but not in the individual references in your thesis. Depending on your bibliography style and bibliography engine, there might be better ways with proper support, but the notes field should do the ...


1

(Too long for a comment, hence posted as an answer.) An observation up front: Given that your bibliographic entries have doi and url fields, you should consider using the unsrtnat bibliography style along with the natbib citation management package; the venerable unsrt style simply ignores those fields. If you load natbib with the option numbers, you ...


1

The solution in apacite: how to suppress url if doi is avalable? can be modified as follows (it requires the environ package). \usepackage{apacite} \usepackage{etoolbox} \usepackage{environ} \newtoggle{bibdoi} \newtoggle{biburl} \makeatletter \undef{\APACrefURL} \undef{\endAPACrefURL} \undef{\APACrefDOI} \undef{\endAPACrefDOI} ...


1

(Aside: I noticed your posting from almost four months ago only just now. In the meantime you are probably long done with the Master's thesis. Hopefully, though, the following answer will turn out to be useful for others who also need to accomplish the task you've outlined.) You could proceed as follows: First, find the file apacite.bst in your TeX ...


1

This seems to be a problem with the two custom elements included in your MWE - the \documentclass[11pt,a4paper]{../uolthesis} documentclass and whatever is in your \usepackage{../draft_doc} package. Using the standard report class and commenting the mentioned usepackage line (as well as getting rid of the stuff relating to hyphenation) yields the following ...


1

It turned out that writing a quick program to do this was the most viable solution left. Recently I got around to place it on GitHub for everyone to use and contribute. It is a very simple and ugly implementation but it did the trick for the 150+ BibTeX entries for my Ph.D. thesis. In case you need something like I did, have a look at ...


3

The first bib-Entry (Ratnayake) misses an "and" between the first two authors. And you should have a look at your BibTeX warning: BibTeX> Warning-- can't use both author and editor fields in Hernandez It is explainded here: The idea is that an inbook entry refers to a book entry, and therefore should not have an editor. \documentclass{article} ...


0

On Debian the texmf directory is in your home directory: ~/texmf. I have the following in my .emacs: (setq reftex-default-bibliography '("~/texmf/bibtex/bib/ty2.bib")) (setq reftex-bibpath-environment-variables '("/home/tws/texmf/bibtex/bib/:/home/tws/texmf/bibtex/"))


2

You can set a master file (main.tex). Thus you can include the following in all .tex files in your project. %%% Local Variables: %%% mode: latex %%% TeX-master: "main" %%% End: after that reflex will find the bibliography from the master (main.tex) file.


2

Thanks for updating your posting and indicating which bibliography style you employ. I trust that my-apalike is fairly similar to the "standard" apalike bibliography style. You need to open the file my-apalike.bst in a text editor -- the program you use to edit your .tex files will do fine -- and look for certain hard-coded English-language terms and ...


0

As you did not provide a MWE I just assume, that you use babel and the following code should help as babel does it for you. \documentclass{article} \usepackage[portuguese]{babel} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @phdthesis{moraes:2008, author = {de Moraes, S.V.M.}, title = {The Portuguese Title}, school = ...


0

It's not JabRef that will change anything, but the compiler. If you use biblatexand babelor polyglossia(the latter with XeLaTeX or LuaLaTeX) declaring portuguese at the main language, this will be automatic. In addition, note that if you use biber to compile the bibliography, it can be saved in UTF8 format, letting you typeset directly accented letters.


0

Sorry for bothering, Found the answer from a friend \usepackage{bibentry} \nobibliography* %% this line tells latex to reuse bib entries from bib file \bibentry{key}


3

Thanks for providing the additional piece of information that you wish to use authoryear-style citation callouts. The following instruction and comments are in the file main.tex that's provided by the package you're using: \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the natbib reference package - read up on this to edit the ...


0

Problem is fixed. I think errors came from the used document class package. Instead of \documentclass[phd]{theseUL} I used this class package \documentclass[a4paper, 12pt]{report} and compilation run successfuly. Thank you Stefan for your support.


3

While it is indeed the case that many authoryear-style citation systems truncate the list of authors or editors down to "FirstSurname et al." whenever the piece has more than two authors or editors, it's actually not that uncommon to encounter a style that truncates the list only if the piece being cited has more than three authors/editors. For instance, I ...


0

I already answered here on LaTeX-Community, but also here my answer. I can see that you use \input for including the chapters in this line: \input{../chap2_definitions/chap2_definitions} However, you should use \include instead, this way you would get .aux files for each chapter which can be processed. Otherwise, with \input, you would need \cbinput or ...



Top 50 recent answers are included