New answers tagged

2

It may depend on your style. But I think I'd do: @Manual{FEMAMD, title = {Multi-hazard Loss Estimation Methodology: Eathquake Model (Technical Manual)}, edition = {Hazus-MH~2.1}, author = {{Federal Energy Management Agency Mitigation Division}}, organization = {{Department of Homeland Security}}, } Which seems to ...


1

Once you close the appendices environment, any definitions made within that group that are not global disappears. For example, your \renewcommand{\chaptername}{Appendix} doesn't exist after \end{appendices}. And, since \end{appendices} doesn't close off (or ships out) the page, any headers that are set after it may revert back to previous definitions. That's ...


0

First of the title of the question should probably be changed as jsbref is not related to this, plus its only job is to edit the bib file, it is not involved in the further process. I'm wondering whether you've fallen victim of editors parsing log files in a bad manner. The only thing wrong with the mwe is a missing bibliography style, try adding \...


0

If you're using the \bibliographystyle{plain}, then use the below format in your .bib file: @inproceedings{vqa-url, note = {\url{https://visualqa.org}}, } and then, to cite the URL in the LaTeX document, simply do: \cite{vqa-url} which will then give the plain URL as the result in your references section: https://visualqa.org and a corresponding ...


1

You wrote, For some reason, no matter what I do, [BibTeX] does not show the [contents of the note field]. Can someone help me out? You mention that you use the plos2015 bibliography style. The file plos2015.bst defines the misc function, which governs how entries of type @misc are formatted, as follows: FUNCTION {misc} { output.bibitem format.authors "...


0

I opened the .bib file in TextEdit and used find/replace to change Local-Url = {originalPATHtoFOLDER/ to Local-Url = {newPATHtoFOLDER/ After the slash the actual pdf file followed by } is stored in the .bib file entry. This worked for me.


0

Emacs, AUCTeX and RefTeX are only tools you use, to prepare you LaTeX input file, which is then compiled via LaTeX---and in your case BibTeX. Emacs/AUCTeX suggests the correct compiler you should use in the correct order. Please, keep always in mind, that LaTeX does not know anything of Emacs and its magic. Despite of your definition (setq reftex-default-...


1

As the documentation says: The format of the doi can be controlled by redefining the \doitext command, \documentclass{article} \usepackage{natbib} \usepackage{doi} % hyperlink URLs \renewcommand{\doitext}{DOI:~} \begin{filecontents*}{\jobname.bib} @article{milner92, author = {Robin Milner and Joachim Parrow and David Walker}, title = {A Calculus ...


1

plainnat uses the macro \doi to typeset the DOI. If the macro is not defined, it will use the following replacement definitions \providecommand{\url}[1]{\texttt{#1}} \expandafter\ifx\csname urlstyle\endcsname\relax \providecommand{\doi}[1]{doi: #1}\else \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi Assuming you load url or hyperref, you ...


2

\documentclass{article} \begin{filecontents*}{bib.bib} @article{milner92, author = {Robin Milner and Joachim Parrow and David Walker}, title = {A Calculus of Mobile Processes, {I} and {II}}, journal = {Inf. Comput.}, volume = {100}, number = {1}, pages = {1--77}, year = {1992}, doi = {10.1016/0890-5401(92)90009-5}, } \end{filecontents*} \...


0

The solution of Emilie Picard-Cantin works great as long as you (use TexStudio and) do not \include{} files into the file that you compile. The auxiliary file of the included file is placed next to the included file, instead of in the build directory. This results in bibtex not being able to find the generated .aux file. Using \input{} instead of \include{} ...


0

Solution: Asking my office colleague expert on IEEE Access, the solution is just adding these two lines: \bibliographystyle{unsrt} \bibliography{refs} Where my bib file is refs.bib. It works properly as it is. No other packages are needed. P.S. The solution in the comment does not work properly (maybe I did something wrong I guess) and other errors ...


0

The warnings you mention are generated by BibTeX and silence can't cope with those, because it only acts when LaTeX is run. Just don't run BibTeX if you don't want to see them. If you use a wrapper such as latexrun, then find a way to tell it you don't need BibTeX until you decide that it's time to fix the bib entries. However, since it seems that the main ...


2

The first attempt is to protect the citation within braces: \item[{\cite[<some text>]{<some bib>}}] In addition, this trick could be used in theorem blocks, eg, \begin{theorem}[{\cite[<some text>]{<some bib>}}] \end{theorem}


2

After you settle with your university how entries of type @techreport, @misc, and @unpublished -- to name just a few important entry types -- should be formatted, I would urge you to run the makebst utility once more and create a custom bst file. The structured question-and-multiple-choice-answer format of the utility should let you achieve virtually all of ...


0

Copying the idea from Biblatex: Two bibliographies with different styles and sortings and adapting it to filter by type (@online) instead of keyword we get \documentclass{article} \usepackage[style = alphabetic, labelnumber, defernumbers = true, backend = biber]{biblatex} \usepackage{hyperref} \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} \...


-1

I had a very similar problem: Error: Unicode char ́ (U+0301)(inputenc) not set up for use with LaTeX … and it seems the problem was not in my body text but in my .bib file ... I have a citation in the line in which my compilation says I had the mistake, and checking this reference inside the .bib file it had several different accented vowels in ...


0

I found out, that there is the option label for the @online{} articles. I can use this to fix my problem.


0

Thanks for your answer. I just want to add a comment for new users: The file myplain.bst must be in the same folder as your parent .tex file. If you have your work splitted in several .tex files, (e.g. in a thesis), you have to put the .bst file in the same folder as your non-parent .tex file. Example Parent tex file: thesis/thesis.tex Chapters' path: ...


0

Many years ago, I adapted Refbase to a mathematical setting, which included writing import plugins for MathSciNet and the arXiv. My adapted version can be found on github. It is, however, quite old now.


1

KBibTeX is a bibliography editor for KDE that supports retrieving bibliographic information from various sources, including mathscinet.


1

Here's something I whipped up. It's not going to win any style awards, but it's sufficient for the task at hand. You're welcome to use, modify, distribute, whatever. At the very least it should save you some time if you're writing your own. #!/usr/bin/env python3 import sys import requests,urllib3 from bs4 import BeautifulSoup titles = [] count = 0 ...


1

If you are not using additional citation packages and thus use the definitions from the kernel, you can redefine the internal macro that places the citation and the postnote to simply drop the postnote \documentclass{article} \usepackage[utf8]{inputenc} \makeatletter \def\@cite#1#2{[{#1}]} \makeatother \begin{filecontents}{\jobname.bib} @book{Knu86, ...


1

Yes you can! The following two lines do the trick. \let\oldcite\cite \renewcommand{\cite}[2][]{\oldcite{#2}} The first line copies the definition of the \cite-macro to the macro \oldcite. Renewing the command with the same number of parameters (two) and one optional value while only parsing the second parameter, the citation key, to the original cite-macro ...


0

I'm going to answer myself: First of all add \usepackage{natbib} (idk if this is relevant but it works for me). Then change \input by \include on every capter in order to generate de .aux files. Compile the pdf and then open the .aux and compile the bibliography of every .aux files that should include the references. Compile twice the pdf. Done! One more ...


0

\usepackage{lifecon} then \ddot{a} gives a umlaut. This is a symbol in actuarial mathematics (lifecon as in lifecontingencies). I quote from a previous answer on stack exchange,"That package doesn't seem to be part of the major TeX distributions, but you can find a copy of it in the lifecontingencies repository on GitHub."


1

With backend=biber, instead of backend=bibtex, you need to run Biber on your document and not BibTeX. Assuming that your document is called doc.tex you would now run pdflatex doc biber doc pdflatex doc pdflatex doc instead of pdflatex doc, bibtex doc, pdflatex doc, pdflatex doc. (Where pdflatex can of course be replaced by your favourite flavour of LaTeX: ...


0

It looks like multibbl works fine with latexmk. I don't use TeXWorks but others should be able to let you know how to set latexmk processing up under TeXWorks. An alternative is to set up arara processing up and tell arara what you need to do (as special comments in your file.


2

You must run bibtex on each included file individually. Compile complete document and then bibtex introduccion bibtex seleccion_regulador etc. the compile again two times complete docuemnt


1

This is how I would interpret the suggestion in the linked question. Put everything but the bibliography in one (or more) file(s), and the bibliography material in a separate file, and pull all of them in with \includes. Process the whole job as many times as necessary, until all cross-references are resolved. When there are no more errors (or warnings), ...


1

Echoing the sentiment expressed by @Johannes_B, I don't think it's a good idea to modify the file aea.bst. In my opinion, the only valid reason for using this particular bibliography style is if you're planning to submit a paper either to the American Economic Review or to one of its sister publications. However, if you really, absolutely, must change the ...


1

Thanks to the first \step the sourcemap shown in the question only applies to entries with the entry key ctan. Since the key of the example entry is Zaharia2012, the mapping does not apply. The shown \clearlist and \clearfield statements wouldn't work for a variety of reasons. archivePrefix is a convenience/legacy alias for the proper field eprinttype, so ...


0

I have found a solution. It was inspired by this post. I added \RequirePackage[backend=biber, style=apa, citestyle=authoryear ]{biblatex} into the .cls file and \bibliography{bib file without .bib} after \documentclasswith \printbibliography towards the end of the document.


1

Here are four solutions. Add a type field to the bib-entry of the manual Add type = {Computer Software} to the bib-entry of the manual such that it reads @Manual{RCT2019, author = {{R Core Team}}, title = {{R: A Language and Environment for Statistical Computing. Version 3.6.1}}, year = {2019}, howpublished = {Vienna, Austria},...


0

I found a solution, in case anyone needs this: @Software{RCT2019, author = {{R Core Team}}, date = {2010-02-19}, howpublished = {{R: A Language and Environment for Statistical Computing. Version 3.6.1 [Computer Software]. Vienna, Austria}}, note = {EPEL Repo}, url = {https://www.R-project.org/ }, }


1

The italic version of the ampersand in Computer Modern just looks like the first picture you posted. But you could use the slanted version of it: \documentclass{article} \begin{document} \& % or {\upshape \&} {\itshape \&} {\slshape \&} \end{document} Edit If you want to change the appearance of & in the whole document ...


1

I do not understand why you want to do this. With a simple \cite and the plain style you'll get the same: \documentclass{article} \usepackage{natbib} \renewcommand\citep[1]{[\citenum{#1}\relax]} \begin{filecontents*}{\jobname.bib} @incollection{lennon1965, author = {John Lennon}, booktitle = {A book with articles}, editor = {...


3

model6-num-names.bst calls format.names$ in several places. Furthermore, some uses of format.names$ are not actually used to print the name in the output (this is the case for the bit you showed as modified in the question: the code there does "et al." handling, but does not print the names). We need to modify uses in FUNCTION {format.names} FUNCTION {...


0

I had the same problem with the the bibtex style jss.bst which has a function (remove.dots) that removes dots in the input. Since the dot was removed the other suggested solution in the comments to the original post did not work, but I found another solution which is to encode the backslash and the dot using ASCII hexadecimal codes using TeX's ^^ ...


0

The references contained in the .bib file are shown only if they are cited with \cite in the .tex file.


1

The best way seems to be to use biblatex/biber. Then you can define a field "IDS" for our bibtex item and it then listens to its citekey and whatever ids you specify in this field.


Top 50 recent answers are included