New answers tagged

0

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


2

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


1

You can use expl3: \begin{filecontents*}{\jobname.bib} @article{paper1, title={Paper 1}, author={Author 1}, journal={Journal 1}, } @article{paper2, title={Paper 2}, author={Author 2}, journal={Journal 2}, } @article{paper3, title={Paper 3}, author={Author 3}, journal={Journal 3}, } @article{paper4, title={Paper 4}, ...


0

I figured out a partial solution. I can simply define macros \def\topicA{paper1,paper2} \def\topicB{paper3,paper4} and then use \cite{\topicA} and \cite{\topicB} However, \cite{\topicA,\topicB} does not work (the aux file contains \citation{paper3,paper4}, so the expansion happens late). So, I simply copied the \expanded macro from ConTeXt (is there a ...


1

Currently I am converting my latex generated pdf as Word documents. I use the pdf export function in Adobe reader to convert the pdf into word files. It works better than using LaTex2RTF tools.


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


1

You didn't show a minimal example, but I guess that you are using the ulem package which redefines \emph to underline. Use \normalem before the bibliographie to get back the normal \emph and read the documentation of ulem.


0

In JabRef, open a new entry with ALT SHIFT N, select Article, cut and paste the reference text into the paste text here window, then Parse With FreeCite. If the reference text is formatted in a standard way (Author, title, journal, vol, pp., year), FreeCite does a decent job inserting the appropriate fields into JabRef, which uses .bib formatting. You will ...


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 easiest way to alter the inclusion of DOIs is to use the rsc package \usepackage[usedoi=true]{rsc} This will send the appropriate setting through to the rsc bibliography style. If you want to do things 'by hand', this can be done without copying and editing the .bst file by creating the 'special' reference by hand. Add an entry, either in a dedicated ...


0

There is bibretrieve which works in Emacs.


1

The simplest solution for the problem is to use the tocbibind package: \usepackage[nottoc]{tocbibind} The option removes the table of contents entry from the table of contents itself, which is the most common usage. If you need it there, just do \usepackage{tocbibind} No \addcontentsline is necessary: the package will take care of adding also the lists ...


0

There are a lot of errors in your code, for example you use the class options for KOMA-Script class scrbook, but your code uses standard book. Please read the documentation to package chapterbib with texdoc chapterbib from your console/terminal. There you find that you first have to compile the mwe.tex, then use console/terminal to run bibtex mwe-1 and ...


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


1

Using JabRef 3.3, exportation to CSV looks fine with an editor supporting UTF-8. The issue is the importation of an UTF-8 CSV file into excel. See https://stackoverflow.com/questions/6002256/is-it-possible-to-force-excel-recognize-utf-8-csv-files-automatically


1

The problem with the given MWE is that it does not contain a \bibiographystyle thus bibtex stops with the error I found no \bibstyle command---while reading file hoofdstuk2..aux (There was 1 error message) and it does not produce a .bbl file.


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


0

When using biblatex, this can also be achieved with the block=ragged option, see §3.1.2.1 in http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/biblatex/doc/biblatex.pdf i.e. \usepackage[block=ragged]{biblatex} will do the trick


0

Well, it seems your question is very unclear to me. Are you forced to use the document class and the bst you used in your MWE? For example for publishing an article? Then do not change the predefined behaviour of the template you use! If you are not forced to use the class and bibliography style why do you not just use another one? It is mutch more ...


1

As @MarcoDaniel has already pointed out in a comment, the bibliography styles unsrt and ieeetr are both quite ancient. In fact, neither bib style has been updated materially since about 1986, i.e., long before anybody conceived of using digital object identifiers (dois) and URLs in bibliographic references. Unsurprisingly, then, these two styles aren't ...


0

I have found no better answer than @mico as it depends on the non-smart .bst style what happens. BibLaTeX is different in its behaviour. Looking forward to when BibLaTeX takes over completely, for literature control purpose, I record the edition as 2,3,4... and for reprints enter pubstate= {reprint}, without the reprint number, as directed in ...


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


0

You did not use biblatex package... This is a modified version of your MWE which works fine: \documentclass[oneside,12pt]{scrbook} %scrbook has more options than article \usepackage[autocite=inline, labeldate=true, uniquename=full,uniquelist=true, style=authoryear,backend=bibtex]{biblatex} \usepackage{lipsum} %easy acess to the text \usepackage{scrhack} ...


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


0

It seems that you call with for example \cite{test} an bib entry that is not included in your bib file. Then I think you see something like the following screenshot: Please have a look into this MWE: \RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @Book{Goossens, author = {Goossens, Michel and Mittelbach, Frank and ...


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


1

Given that the style you need to use disallows using natbib, the conclusion is that the organization you'll submit your paper to doesn't accept an author-year citation scheme. Most likely also biblatex would be rejected. Emulating the working of natbib would mean rewriting it from scratch.


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


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


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


0

Here's a trick I like to use: Create a python script in the root directory of your project, called e.g. compile_refs.py and paste the following code into it: #!/usr/bin/python import subprocess, sys commands = [ ['pdflatex', sys.argv[1] + '.tex'], ['bibtex', sys.argv[1] + '.aux'], ['pdflatex', sys.argv[1] + '.tex'], ['pdflatex', ...


0

Just open the apalike-fr.bst file and replace the code : FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"... ", \'editeur" } by FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"... ", Ed." } and also replace the code FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"... ...


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


1

I'm getting lost in the .bst file I created with "latex makebst". Without access to the full bst file, it's well-nigh impossible to diagnose what may have gone wrong. The only suggestion I can give is to re-run the makebst utility.


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


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

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


0

In the legend, you are using a \cite. So the question mark during the first run is not surprising. Seems you have to hardcode your legend adding Uthor, A (2016).


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


1

This style already uses the sorting function. You can edit sort function bib.sort.order in your .bst file. It is very good described on Bibtex .bst file modification to include alphabetical ordering. I hope it will help you.


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


0

(Too long for a comment, hence posted as an answer.) In the following example, I load the revtex4-1 document class, since that's also the document class loaded by the template file you've provided a link to. Observe that I would encase the contents of the author and title fields in curly braces in order to (a) inform BibTeX that the author is a ...


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


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


0

The answers is almost ready in a previous topic, I've just made some minor changes. \usepackage{etoolbox} ... \begin{document} \newbool{firstbib} \booltrue{firstbib} \preto{\bibitem}\ifbool{firstbib}\thispagestyle{empty}\setbool{firstbib}{false}}{}} \bibliography{references} \bibliographystyle{style}


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

Well, in your code I can see some problems. For example should package hyperref be the last called package! The documentation of package natbib can you read by typing texdoc natbib on your console/terminal. There are the styles listed you can use with natbib and which styles and field names are supported. To give you a starting point I changed your ...


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}



Top 50 recent answers are included