Hot answers tagged

10

biblatex distinguishes two language fields: (1) language and (2) langid. According to the biblatex documentation, p. 20, [the language field holds the] language(s) of the work. Languages may be specified literally or as localization keys. If localization keys are used, the prefix lang is omissible. on p. 25 we have [langid] The language id of the ...


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


9

Find plain.bst on your file system, copy the file, rename the file to something else. Open the file, add a comment that the name has changed and the current year and preferrably your name. Find the edition function and replace it with the following block: FUNCTION {format.edition} { edition empty$ { "" } { output.state mid.sentence = { ...


8

Is title={Title} identical to title={ Title } and title=" Title "? Yes. See below for a sample .bib file and the result of running it through BibTeX, viz., a corresponding .bbl file. The .bbl file is created by BibTeX and is read by LaTeX during subsequent compilations; LaTeX, not BibTeX, does the actual typesetting the formatted bibliography. To study ...


8

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


8

article class (and probably most others) defines the bibliography with \sfcode`\.\@m so you do not get end of sentence spaces.


8

For the answer to your edited question see here (the old version with explanations is left below). Our bibliography environment can be even more mundane now \defbibenvironment{bibliography} {\noindent} {\unspace} {} The work is now done by begentry which prints the label \renewbibmacro*{begentry}{% \printtext[labelnumberwidth]{% ...


7

Running bibtex: voss@shania:~/Mist> bibtex test This is BibTeX, Version 0.99d (TeX Live 2015) The top-level auxiliary file: test.aux The style file: plain.bst Database file #1: test.bib Repeated entry---line 2 of file test.bib : @article{Carberry_2012 : , title={Deconstructing Write-Back Caches}, volume={9}, ...


7

@egreg's comment is correct; the user base for amsrefs is mainly material published by the ams, although i know of a few other journals that accept its use. bibtex was very solidly entrenched before amsrefs was envisioned, and there were (sadly unrealized) hopes for its "completion". there are, as far as i know, no formal pros/cons lists for amsrefs. one ...


7

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


7

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


7

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


7

Throw the things you want to maintain your capitalization on into curly braces, e.g. {TCP}.


7

You could use perl to go through the bib file, save all titles as a hash key with its line as the hash value, and then loop through it and print the title if its value has multiple entries. To do so, create a file with the following content, e.g. "finddupls.pl", change the bib file name, then execute perl finddupls.pl in your terminal: #!perl my %seen = ...


6

Here a solution mostly stolen from Audrey in Count number of references using biblatex %\RequirePackage{filecontents} \begin{filecontents}{\jobname.bib} @article{one, author = {Bee, B. and Wombat, W.}, title = {Loving cobblestone}, journal = {Stones weekly}, year = {2015}, keywords = {mefirst}, } ...


6

You can use babplain for a babel-aware version of plain part of the babelbib package see texdoc babelbib for more details. You also need to add \usepackage{babelbib} so that it defines all the new fixed texts in an appropriate language.


6

Using UTF-8 text input and rather basic math approximations we get: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \DeclareUnicodeCharacter{025B}{\ensuremath{\varepsilon}} \DeclareUnicodeCharacter{03F5}{\ensuremath{\epsilon}} \DeclareUnicodeCharacter{03B5}{\ensuremath{\varepsilon}} \begin{document} latin open e U+025b [ɛ] ...


6

Use the right packages, in this case textalpha; note that ε is U+03B5 GREEK SMALL LETTER EPSILON. Since we're dealing with the name of a star, the Greek letter is to be used. I also fixed the BibTeX entry for the paper, which had a few errors. \begin{filecontents*}{\jobname.bib} @ARTICLE{1937ApJ....86..570K, author = {Kuiper, G. P. and Struve, O. and ...


6

The bibliography style spbasic requires \usepackage{natbib} as it's seen in the comments on top of it %%********************************************************************************%% %% %% %% For Springer medical, life sciences, chemistry, geology, engineering and %% %% ...


6

In TeXstudio, open Options and then Configure TeXstudio. This opens: In this window, check the Show Advanced Options at the lower left corner. Now, in Build tab, the first field (under Meta Commands) Build & View has this argument: txs:///compile | txs:///view Change it to txs:///compile | txs:///bibliography | txs:///compile| txs:///compile | ...


6

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


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


6

Zotero Better BibTex allows for automated export to BibTeX/BibLaTeX (a.o.). It's set-and-forget; you export a collection to a file, tick "Keep updated", and Bob's your proverbial uncle. Any changes you make to that collection or its entries will cause a background update of the bib file. You can have multiple of such exports set up -- BBT implements heavy ...


6

According to the documentation of bibtex, the sort order of plain is author, year, title, as the OP stated, not author, title, year. This seems to be a misunderstanding. This refers to plain standard style, where as in section 2.2 of bibtex manual the changes are described: If the author, title, year sorting is requested, it's perhaps better to use the ...


5

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


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


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


5

If you need the optional argument of \cite then you have to extend the code: \documentclass{article} \let\myCite\cite \makeatletter \def\cite#1{\cite@I#1!!} \def\cite@I{\@ifnextchar*\cite@II\cite@III} \def\cite@II#1!!{} \def\cite@III#1!!{\myCite{#1}} \makeatother \begin{document} foo\cite{article-minimal} and bar\cite{*article-full} ...


5

Hidden in the mass of comments, a couple of reasons for sticking to BibTeX have been brought forth. I'll list them without comment; everybody will have to make up their own mind about their priorities. bibtex is faster than biber (1, 2). There are, as of today, many more styles for BibTeX, including not-yet ported journal styles (reference needed, in ...


5

You can use pandoc-citeproc, which is a part of the excellent pandoc program, to convert your .bib file to a .json file. pandoc-citeproc --bib2json foo.bib > foo.json But I doubt the output will be exactly what you need, because the specs you have linked seem to go beyond what pandoc offers.



Only top voted, non community-wiki answers of a minimum length are eligible