Tag Info

New answers tagged

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


2

You could proceed as follows: Find the file agsm.bst in your TeX distribution. Make a copy of this file and call the copy, say, agsmdoi.bst. (Don't edit the file agsm.bst directly.) Open the file agsmdoi.bst in a text editor. The editor you use to edit your .tex files will do fine. You first need to add a field type named doi. To this effect, find the ...


1

If your key is wiki:xxx then use \cite{wiki:xxx}. If your key is wiki:001 use \cite{wiki:001}. The keys are completely arbitrary and are equal to whatever you set them to in the .bib file. If duplicate keys are present in the .bib file, BibTeX uses the first occurrence.


1

I had a related problem, and a Google search led me to this question ... so I will leave my solution here, in case others run into the same problem. I was using TeXstudio and running BibTeX but no references or citations were showing up. No errors popped up when compiling. The problem was that I was using \bibliography{references.bib} instead of ...


4

I would (and I do) cite it as a @manual: @manual{tantau:2013a, author = {Till Tantau}, title = {The TikZ and PGF Packages}, subtitle = {Manual for version 3.0.0}, url = {http://sourceforge.net/projects/pgf/}, date = {2013-12-20}, } The same goes for other packages.


1

Specifically for the TikZ graphdrawing library, I would recommend citing the following formally archived peer-reviewed article. @inproceedings{Tan12, author = {Tantau, Till}, title = {Graph Drawing in {TikZ}}, booktitle = {Proceedings of the 20th International Conference on Graph Drawing}, series = {GD'12}, year = {2013}, isbn = ...


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



Top 50 recent answers are included