Hot answers tagged

8

It's entirely possible to set this up by editing a standard .bst file, it's just somewhat tedious. There are three things needed. First, you need to tell BibTeX to make entries doi, eprint and eprinttype available by modifying the ENTRY list: ENTRY { ... doi eprint eprinttype ... } Second, you need a function that is going to do the formatting. ...


7

Here is a solution using biblatex: All one has to do is to define a new directive to format names: \newcounter{namesleft} \DeclareNameFormat{andNothers}{% \setcounter{namesleft}{\value{author}-\value{liststop}}% \nameparts{#1}% \namepartfamily \ifthenelse{\value{listcount}<\value{liststop}} {\addcomma\addspace}% {\ifmorenames{\printtext{ ...


7

First you define a number which is the number of authors you want to show, to do this add to ENTRY { in your .bst file nbr so it will become: ENTRY { address author booktitle chapter edition editor eid howpublished institution journal key month note number organization pages publisher ...


7

The punctuation sign after the name is determined by the function output.check that, in case the name is not empty calls the function output.nonnull. Shortly, output.nonnull prints a comma if we are in the middle of a sentence, or a period or a space. The style uses the variable output.state to store if we are in the middle of a sentence or elsewhere. Thus, ...


6

I don't know why this was never answered. But for reference, in case anyone else sees this. When you do Insert --> List/ToC --> BibTeX bibliography, you get this window: The \bibliographystyle is chosen by the Style drop-down menu. Choose the one you want from the list. There is no style called alphaabbrv in the list, but alpha does something like what ...


5

I am the author of BibSpace (Github). The system is designed to manage publications and display them on a webpage. The code works perfect for our group (see example) but I am the only developer so far and there is a lot of room to make it better. You are free to fork the code and use it for your group. I am happy to help if you have questions. Edit: Please ...


5

Use the \noopsort device: prefix all "Anonymous" authors with {\noopsort{ZZZZ}}. The \noopsort macro should be defined as taking one input and returning nothing; see the code below for an implementation. All "Anonymous" entries will be placed at the end or, more precisely, after "ZZZZ". (You don't have any authors whose names starts with "ZZZZa", do you?) ...


4

You can start with \usepackage[pagebackref=true]{hyperref} and dig the other options. \documentclass{article} \usepackage[pagebackref=true]{hyperref} \title{Title} \begin{document} \maketitle The reference is \cite{Pirayre_A_2015_j-bmc-bioinformatics_brane_cbrapnegcgrni}. \newpage \begin{thebibliography}{99} ...


4

Rather than take an existing bst file and adjust it in various places to achieve your bibliographic formatting needs, I would like to recommend you create a new bibliography style file that immediately implements all of your formatting requirements. This is actually much less difficult to achieve than it may sound: Just run the makebst utility that's part ...


3

@UlrikeFischer is correct - biber only has one field to work with and so chooses the encoded format for maximum compatibility. You could easily use a sourcemap to copy to another verbatim field (like verba) and use that as the printable version whilst keeping url for the hyperref link. This would need a minor style change but should be relatively easy (make ...


3

If you use biblatex and bibtex you have to add option backend=bibtex to biblatex. And you should define a style you want to use to layout the resulting bibliography, for example style=alphabetic. So with the following MWE (package filecontents is only used to have bib file and TeX code in one compilable MWE; see main changes in tex code marked with ...


3

By default pgfplotstable assumes numbers, and will try to parse the content of the cells as numbers. If you set string type for the column containing the citation it seems to work fine: \documentclass{article} \usepackage{pgfplotstable,filecontents} \begin{filecontents*}{example.txt} x,y,meta 1,2,\cite{aksin} 2,3,\cite{angenendt} 3,7,\cite{doody} ...


3

This seems to work, remember that bibtex usually does not like utf8 (bibtex8 might cope), I tend to just replace æøå in names and titles with their TeX ascii equivalents \ae\o\aa \documentclass[a4paper,danish]{memoir} \usepackage{babel,url} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[authoryear,round]{natbib} \usepackage{filecontents} ...


3

When I have to work on MS Word documents, I wrote my part in a LaTeX file as usual (and enjoy my emacs+AUCTeX shortcuts). Then I convert the document using pandoc to odt and copy/paste my document into the official one (usually a .docx). It probably possible to convert directly to Docx (pandoc seems to support it) The big avantage of pandoc is it can take ...


2

The ISO 690 Wikipedia page claims that this standard concerns the required elements, or inputs, of a bibliographic reference, and that it is not concerned with the formatting of the typeset output. If this information is correct, it doesn't make much sense to talk about an ISO690-compliant BibTeX or biblatex style: Just about all BibTeX and biblatex styles ...


2

The bibliography file (.bib extension, let us use you example bibliography.bib) should be included in the main latex file (let us say it is main.tex) using \bibliography{bibliography} or \addbibresource{bibliography.bib} if you are using biblatex. Then the sequence is called on the main latex file. Thus the sequence is latex main bibtex main latex main ...


2

Not a direct answer but rather a pointer to a possible route to a solution. Last year I developed a BibTeX style for a book catalogue bookdb.bst which involved extending one of the regular BibTeX files. Run texdoc bookdb to view the User Manual and possibly read bookdb.bst if you want the gory internal details. The User Manual doesn't describe the internal ...


2

here is the bibtex entry for one of the items in the bibliography of the cited article, as delivered by mathscinet. the tags for the various elements are the "official" ones used with amsplain, but not all are recognized (see below). zbl is not included in the mathscinet database, nor is arxiv, but ZBL and ARXIV would be appropriate tags. amsplain does ...


2

As noted in a comment, there are several options here. Probably the best is the reading style, which can be used for example with \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[style=reading,abstract=false]{biblatex} \addbibresource{<database>.bib} \begin{document} \nocite{*} \printbibliography \end{document} ...


2

You may be missing the file hispa.bst in your project, which isn't available on Overleaf by default, since it's not included in TeX Live. Uploading a copy of hispa.bst (via Overleaf's Add files > Upload menu) to your project should (and have) help.


1

The problem was identified by Joseph Wrigt in a comment: LyX adds \bibliographystyle to the document, but as achemso already does that, you get an error. I think that to make this work you have to do two things: First choose Insert --> Note --> Comment. Inside this comment-inset, add the bibliography the normal way, with Insert --> List/ToC --> BibTeX ...


1

After a very long time I realised that the problem is the following: build/*.aux does not work because the .bib-file is not in the folder build. As far as I can see exchanging line 6 in the vimrc-code of my question by let g:Tex_CompileRule_pdf = 'mkdir -p build && pdflatex -output-directory=build -interaction=nonstopmode $* && cp *.bib ...


1

@Tom. You need to cut the contents of bibliography and paste the same just before the \end{document} environment. Moreover, remove the \printbibliography from the preamble. This can be done as follows. \documentclass{article} \usepackage{cite} \begin{document} \section{Text goes here}. This feature works as I described in \cite{DUMMY:1} ...


1

That is the whole point of what bibtex does, you could have just one bibtex file for every reference you ever make in every document, and each entry could have every field that you may ever conceivably want to print alongside the reference. bibtex then takes the aux file from the latex run, which tells it which citations are needed, and the bibliography ...


1

Remove the ls-R file from TEXMFHOME. It is highly unlikely that TeX Live is using a file name database there. Then move your .bst files into /home/michael/texmf/bibtex/bst/somename/


1

Workaround: Search for the file where_ever_your_tex_dristibution_is/texmf-dist/bibtex/bst/harvard/dcu.bst copy it to your working directory, rename the copy to, e.g., dcu_NCH32.bst, and replace the two occurrences of " (eds)" with whatever you want. Than invoke the modified style with \bibliographystyle{dcu_NCH32}


1

You may want to load the natbib citation management package and use that package's \defcitealias macro to define, you guessed it, a "citation alias" of the form "CGAL". Then, use \citetalias{CGAL} instead of \cite{CGAL} to generate a citation call-out that uses the alias. \RequirePackage{filecontents} \begin{filecontents}{mybib.bib} @misc{CGAL, key = ...


1

This is what I do Go to Arxiv site: e.g. https://arxiv.org/abs/q-alg/9503002 Click NASA ADS link under References and Citations e.g. http://adsabs.harvard.edu/cgi-bin/bib_query?arXiv:q-alg/9503002 Click Bibtex entry for this abstract e.g. ...


1

There is bibretrieve which works in Emacs.


1

I contacted the maintainer of the natbib package. For completeness, I'm posting the response that I was given. This is an issue that cannot be easily solved. The whole \citet with superscripted numerals was a complicated programming problem, since it is radically different from regular numerical citations. The problem was to add the authors to the ...



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