Tag Info

New answers tagged

1

colorlinks cannot be enabled, after hyperref is loaded. Set the option as package option: \usepackage[colorlinks]{hyperref} The color Violet is undefined, this can be fixed, for example, by setting option svgnames for package xcolor. As Augustin has already analyzed in his answer, class elsarticle defines the colors of all link types to blue. This is done ...


1

The problem is caused by the elsarticle class which defines the colour of the links and prevents you from redefining them. If you change the style to article everything will work.


-2

Did you try biblatex? It has the option for sorting: none Do not sort at all. All entries are processed in citation order I suppose that that is what you want. [added:] To your style file or preamble, add: \usepackage[citestyle=authoryear,bibstyle=authoryear,backend=biber]{biblatex} \ExecuteBibliographyOptions{sorting=none} Of course, there are many ...


2

First of all, the specific example can be better solved using the correct spelling for the name, which is Goethe, but I'll assume that this choice was deliberate in order not to mention any specific real case. The correct syntax with BibTeX is G{\"{o}}the There's nothing you can do about it, except fixing the entries. On the other hand, if you use ...


3

It should be more a comment than an answer but I do not have enough rep to comment. I was managing the bst database at bst.maururu.net but do not have enough time to continue doing so. Of course, I kept a dump of the db, the code of the website and, most importantly, the archive of all styles. To host it, one would need a web server with MySQL and PHP, at ...


1

I guess the easiest way is to do it manually in the .bib file by changing the pages you're inserting: pages = "253--268" -> pages = "253--68"


1

I see nothing strange with this input: \begin{filecontents*}{\jobname.bib} @ARTICLE{DuarteStork:10, AUTHOR = "Marco Duarte and David G. Stork", TITLE = "Image contour fidelity analysis of mechanically aided enlargements of {Jan} van {Eyck's} \emph{Portrait of Cardinal Niccol\`o Albergati}", JOURNAL = "Leonardo", VOLUME = ...


0

I wrote a script a few years ago that will take in ISBN numbers and emit BibTeX entries. See https://gist.github.com/DavidGriffith/5097431. It's very handy when you're faced with a bunch of books and you have a barcode scanner of some sort.


0

I've made a few changes to the original code and now the pdf is being made, though some warnings still exist. In the preamble I've included \usepackage{csquotes} \usepackage[backend=biber, style=numeric]{biblatex} \usepackage{chs_2015} ('numeric' style makes no difference at all in a Beamer presentation!) In the last frame of the presentation I've ...


0

Your code works for me if I load natbib instead of bibtex. Is this acceptable? Result:


0

You should first compile the .tex with pdfLaTeX once, to produce a .aux file. Then compile the created .aux file with bibtex to create a .bbl from the .bib and finaly compile the .tex twice. This should work


0

I don't like how url (and doi) are typically formatted (I think the `URL' which appears before the url is superfluous), so I usually format doi and url in bibtex using the 'note' field, for example note={\url{http://stackexchange.com/}} This has the added bonus that the url (or doi) appears in the citation, even if the bibtex style ignores the url field ...


1

If the objective is simply to include each and every entry in the bib file(s) mentioned in the \bibliography instruction, regardless of whether or not they are \cited explicitly somewhere in your document, simply issue the command \nocite{*} somewhere in the body of the document, i.e., somewhere between \begin{document} and \end{document}.


2

If you really want to use Gh. as initial, it's easy, if not straightforward. The example uses the filecontents* environment just to be self-contained. \begin{filecontents*}{\jobname.bib} @book{test, title={Le{\c{c}}ons de g{\'e}om{\'e}trie diff{\'e}rentielle}, author={Vr{\^a}nceanu, {\relax Gh}eorghe}, year={1947} } \end{filecontents*} ...


1

From my understanding of the problem (which is far from being perfect), each macro used within the bibitems of the bbl file needs to be made available to bibentry when the later is called in the code. The way I've been able to do this, is to make them global within the Tex file explicitly with \global\def. However, for \enquote, this is different because ...


2

When you use babel or polyglossia for language support, you need to add the \renewcommand for the bibliography name to the elements defined by babel or polyglossia. \addto\captionsgerman{\renewcommand{\refname}{Literaturverzeichnis}} It's not quite clear from your question what the problem is with the page headings. In your original code, you don't set ...


2

First off just want to thank you all for your help -- greatly appreciated!! I reached out to Herb Schulz who is a prominent "aider and abettor" on MacTex at tug.org. He thought it likely that the Applescript Bibliography macro had been broken by the upgrade to Yosemite. He suggested that I use the pdflatexmk engine in TeXShop to take care of all the ...


1

Old question, but exactly my problem. I don't know much about TeXstudio, but I put together a hack to get it to work. There must be a better way. Somebody please post it. Go to Options->Configure TeXstudio... Select Commands from the options on the left Scroll to BibTeX Update the BibTeX command as described below The default command should be ...


1

I successfully disabled the citations in my document with: \renewcommand\cite[2][]{} in the preamble. It might not work for all cases, though.


0

the problem is that first you have to latex or pdflatex scroll through the entire document, once or twice, so you can pick up all the bibliographic references that you used, so you tendiras console or part of compilation of Texmaker first call latex, then to bibtex, and finally to latex to generate the reference.


2

According to how you input the data, BibTeX sees just one author of your paper, because there's an additional pair of braces that shouldn't be there. Also, the different authors should be separated by the keyword “and”. Here's the proper code: author = "Y. Kuwata and M. T. Wolf and D. Zarzhitsky and T. L. Huntsberger",


1

You've written the authors' names incorrectly and Bibtex is confused. If you put the surname first followed by the initial you have to put a comma behind each surname: author={Doe1, J. and Doe2, K. and Doe3, L.}, Alternatively you could put initials first and then surnames, in which case no commas are needed: author={J. Doe1 and K. Doe2 and L. Doe3},


3

It is enough to modify the value of \finalandcomma: \documentclass{article} \usepackage[english]{babel} \usepackage{filecontents} \usepackage[backend=bibtex,style=ieee]{biblatex} \begin{filecontents}{\jobname.bib} @article{doe2015, author={Doe1, J. and Doe2 K. and Doe3 L.}, title={Why I get this extra comma before the 'and'?}, year = 2015 } ...


1

Give the url as is, do not enclose it with \url with IEEEtran.bst. Url = {http://iospress.metapress.com/content/t04963284412u236/?p=77f967e6089549a1b0f61a689452e804&pi=11} Turns out that there was a local copy of multibib.sty dating back to 2003 that also prevented compiling.


5

The implementation in biblatex-ieee follows as far as possible that in ieeetran. The latter describes itself as being official correct, so this is a reasonable reference point. On the specific point about the 'Oxford comma' here, if you look at texdoc ieeetran and for example ref. 20 you will see C. Barratt, M. C. Grant, and D. Carlisle. with a comma. ...


6

The failure is not related to arara, but to the fact that you're loading twice your bibliography database: \addbibresource{test.bib} \bibliography{test} All you have to do is to remove the line \bibliography{test} which is redundant. So the MWE % arara: xelatex % arara: bibtex % arara: xelatex % arara: xelatex \documentclass{article} ...


0

Both macros \citep and \citet internally use \NAT@citetp, but when the first is used, \ifNAT@swa is set to true, whereas the second sets it to false. Then it's just a matter of changing the definition of \NAT@nmfmt so that it uses \MakeUppercase in the case of \citep. \begin{filecontents*}{\jobname.bib} @book{Knuth1984, author = {Donald E. Knuth}, title ...


0

Solved; I just added \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} and now it works.


1

You need to do as Mico suggests, and download a style that supports formatting the arXiv ID in the output. Then, you need to add some fields to the BibTeX entry. The key fields are the eprint, archivePrefix and primaryClass fields, where eprint contains the arXiv ID number, archivePrefix contains the archive (arXiv for the arXiv), and primaryClass contains ...


1

There are many BibTeX bibliography styles that (a) do not abbreviate first and middle names and (b) format the full name so that the first (and middle) names are shown before the surnames. Four well-known candidates are plain -- one of the "original" or "base" bibliography styles. Dates back (at least) to the early 1990s. Suitable for numeric citation ...


3

The ieeetr bibliography style is one of the original BibTeX styles. It dates back to (at least) the early 1990s. As such, maybe unsurprisingly, it's not programmed to do anything with a url field. I suggest you use the IEEEtranN bibliography style instead. It is much newer and does know how to process the url field. It also doesn't ignore the address ...


3

Searching for . - gives us line 212 of unsrtdin. \begin{filecontents}{\jobname.bib} @ARTICLE{M1, author = { aaa,bbb}, title = {css}, journal = {Journal of Science}, year = {2015}, note = {akzeptiert} } \end{filecontents} \documentclass{article} ...


0

As Johannes_B pointed out, when using BibTeX it is essential to maintain a specific order in commands. The "Quick Build" command in Texmaker is a shortcut to execute a series of commands at once. What specific serie is executed can be configured via Options -> Configure Texmaker -> Quick Build. The default is set to "PdfLaTex + View PDF". Changing this to ...


2

(Aside: This answer was updated fully after the OP posted a corrected set of bibliographic entries.) Thanks for updating the set of bibliographic entries, so that they are now minimally compilable. A comment up front: The issue with some names being truncated to initials should be gone completely. I trust you can no longer generate "T. v. d. P". You still ...


0

Some journals like Neuron only want an et al. in the Reference list after 10 authors have been listed. Helps to be able to paste this code over the relevant section of your .bst file rather than having to go through the whole makebst thang. I think the following achieves this: FUNCTION {format.names} { 'bibinfo := duplicate$ empty$ 'skip$ { 's := "" ...


1

You have modify the bst-file. Make sure to save it under a new name and change the date in the file. Change the misc function to look like this: FUNCTION {misc} { output.bibitem format.authors output title howpublished new.block.checkb format.btitle output%<- significant change howpublished new.block.checka howpublished output format.date ...


3

Here is an example using biblatex and an entry set: bib file @Set{AL:lower, entryset = {AL:main,AL2,AL3}, } @Article{AL:main, author = {Angus-Leppan, P. V.}, title = {A Study of Refraction in the Lower Atmosphere}, journaltitle = {Survey Review}, year = 1961, volume = 120, pages = 62 } @Article{AL2, xref = {AL:main}, ...


1

There are some BibTex utilities on CTAN: https://www.ctan.org/tex-archive/biblio/bibtex/utils The following two sound like they will do exactly what you asked for: bibtool: https://www.ctan.org/tex-archive/biblio/bibtex/utils/bibtool bibclean: https://www.ctan.org/tex-archive/biblio/bibtex/utils/bibclean


1

When using BibTeX (or biblatex), one should not insert the instructions \begin{thebibliography}{99} and \end{thebibliography}. These instructions are needed only if one builds the bibliography entirely "by hand". Assuming your bib entries are in file called aref.bib, you should write \bibliography{aref} Note that the filename extension, .bib, is not ...


1

To use BibTex Harvard Style use the following packages in your preamble: \usepackage[style=authoryear-comp,natbib]{biblatex} \addbibresource{ExampleFile.bib} Or if you want numeric style of references use: \usepackage[style=numeric,natbib]{biblatex} \addbibresource{ExampleFile.bib} In this example the bib file should be in the same directory as the ...


1

biblatex provides a shorthand field that you can set in the bibliography database and that will be set instead of the label the biblatex style would print. Here is a short example: \documentclass{article} \usepackage{biblatex} \begin{filecontents}{\jobname.bib} @online{texsx, author={{The community}}, ...


1

The biblatex package has two citation styles 'draft' and 'debug' which seems to do just that (see the docs with texdoc biblatex or through CTAN). Using the keys actually seems to be useful if you are drafting a document as you can find an entry in your bibliography file fastest through the key. However if you are planning to use this in a published paper ...


0

As a workaround, you can modify your bib file. Use something like authors_full = {{your} and {full} and {author} and {list}} for the original author list and author = {first \textit[et al.}} for the short list.


-1

The answer is as @Sigur wrote: run (pdf)latex + bibtex + (pdf)latex + (pdf)latex [+ preview] In TeXmaker, this can be done using shortcuts F6 + F11 + F6 + F6 [+ F7].


0

You wrote at the end of your own answer: Better answers are welcome of course. I would like to suggest that you set up the author field as author = "{\relax Th} Author", rather than as author = "\mbox{Th.} Author",. What's the practical difference, you may ask? Won't either approach render the first name as "Th."? The answer is no, at least not ...


1

The document class file comnet.cls contains the following instructions, starting at line 1306: \usepackage[sort&compress]{natbib} \bibpunct{[}{]}{,}{a}{,}{;} The a in the fourth argument of \bibpunct instructs natbib to generate authoryear-style citation call-outs. However, the bibliography style file comnet.bst is not compatible with authoryear-style ...


0

It is also possible to do if you use a reference manager as Zotero. Then you can import a bibtex file. It will result in its own folder, and then you can export it to whatever format you want. Just another solution :)


0

If you would rather not have the .bst-file in the same directory or if you would like to use it for more than one document, create a custom root directory. In MiKTeX, for example, this can be done in the MiKTeX Options: Go to the Roots tab and click on Add.... To have some consistency, I usually use the original root paths within my custom root directory, ...


0

In the new version of Persian-bib package (Version 0.8), I added a new style Persian-fa-inLTR.bst, which can be used for these situations. The following example shows how to use it: % !TEX TS-program = XeLaTeX \begin{filecontents}{SomeReferences.bib} @CONFERENCE{Amintoosi87afzayesh, AUTHOR = {امین‌طوسی,محمود and مزینی,ناصر and فتحی,محمود}, TITLE ...


3

You can define your own bracket command (or redefine \mkbibbrackets): \makeatletter \newrobustcmd{\mkbibbracketscolor}[1]{% \begingroup% \blx@blxinit \blx@setsfcodes \color{CeruleanRef}\bibopenbracket#1\bibclosebracket% \endgroup} \makeatother \DeclareCiteCommand{\cite}[\mkbibbracketscolor] {\usebibmacro{cite:init}% \usebibmacro{prenote}} ...



Top 50 recent answers are included