Tag Info

New answers tagged

1

Won't inserting \raggedrightjust before \printbibliographydo the job?


1

I modified abbrvnat.bst to issue \myand{} instead of and (changing the places where " and " appears). Then prepared this input file: \begin{filecontents*}{\jobname.bib} @book{RefWorks:1, author={John Johnson}, year={2015}, title={Book Name}, publisher={Publishing Company}, address={United States of America}, edition={1st}, ...


1

The underscore _ is the problem. Normally the underscore is only allowed in math mode to start an index. That is why LaTeX/BibTex reports the error. You should escape the underscore, i.\,e. write \_. BUT, I guess from your question that you are doing somehing fundamentally wrong. Normally, there is the special field url={} that should be used in a bib-file, ...


0

Thanks to @rvaneijk who alerted me to this answer by @tonio. The compile rule should be changed to "pdflatex -interaction=nonstopmode %:r & bibtex %:r & pdflatex -interaction=nonstopmode %:r"


0

i don't really know what happened but i finally made it! in order to make everything clear, i tried to put all the script in a new .tex file... It actually works pretty well (even better than what my mac produces) right nowm with a simple copy/paste to another file. Guess my file was corrupted with too many errors...


1

You can create a Makefile or a script to do this. The script can be called from the TexMaker or other editor. At Linux, I use a Makefile for the purpose. I just need to run make and everything is compiled! :) A Makefile or script is useful since you don't need to "stick" with an editor configuration. You can run it also from a terminal, allowing you to ...


0

Ok so it looks like all i had to do was to compile manually my main file with pdflatex, then bibtex once for each included part, then pdflatex twice on the main file... Is it possible to make it happen as a fast compilation with TexMaker?...


1

Academic standards do not require you to cite the typesetting software you composed your dissertation with. It's a tool you used, not an intellectual input to your work. You wouldn't cite the manufacturer of your printer either. Of course the opposite is true if you are writing a dissertation about computer typesetting. Your question though has one more ...


1

First, some examples of names with Two-word surnames Charles De Gaulle Martin Van Buren Kristin Scott Thomas Helena Bonham Carter Antonio Garcia Pascual Marco Del Negro Vincent Van Gogh Piero Della Francesca [also written as "Piero della Francesca"] (In case you're curious: The first two are former Presidents of their respective countries; the middle two ...


0

I found a hack of the bst file here Add a line to FUNCTION {output.bibitem} in the file yourbib.bst (...) "}" write$ newline$ "\hspace{0em}\\" % CHANGED LINE before.all 'output.state := }


0

Quick solution that may work for you: keep things together with parentheses. author={{Foo, Bar} and third_author and fourth_author},


0

BibTex allows in this case possible forms for the name: "Jan A. {van Mieghem}" "{van Mieghem}, Jan A." You can use the parenteses {} to isolate parts that you want to keep together. Both ways are fine. Source: here


1

To disable the replacing repeated author, organization, and editor names with long dashes when using the siam bibliography style, you could take the following steps: Find the file siam.bst in your TeX distribution. Make a copy of this file and name the copy, say, siamnodash.bst. (Do not edit an original file from your TeX distribution.) Open siamnodash.bst ...


1

There is some problem with using achemso when you do not have any citations. If I run \begin{document} \bibliographystyle{achemso} \bibliography{library.bib} \end{document} I get an error. But running \begin{document} \bibliographystyle{plainnat} \bibliography{library.bib} \end{document} or \begin{document} \cite{somebody1990} ...


3

I assume that your wish to avoid seeing the word "microwave" hyphenated as "mi-crowave" anywhere in the document, not just in the bibliography section. If you want to suppress hyphenation of this word globally, just add the instruction \hyphenation{microwave} in the preamble. (If you load the babel package as well, be sure to insert the instruction ...


1

I've been having this problem for years, so I sat down to finally figure it out. Some people suggested it just didn't work on windows. It does. Tested with Windows 7 Enterprise SP1. Lyx 2.1.3, and JabRef 2.10 On Windows, the LyX pipe is not a file. It is a special windows "Named Pipe". A named pipe must have the name \\.\pipe\FOO where FOO can be ...


0

Bibtex in combination with natbib does the trick. \usepackage[natbibapa]{apacite} % or you can also use % \usepackage{natbib} \citet*{smith13} demonstrated conclusively that it is possible to generate full names using BibTex. The example above results in: Waldo Smith (1993) demonstrated conclusively that it is possible to generate full names using ...


1

As mentioned in the comments, you should run biber to compile your bib file as you have used biber as the backend. \usepackage[style=authoryear,backend=biber]{biblatex} Here are the commands to compile your myFile.tex and your .bib files: pdflatex myFile biber myFile pdflatex myFile


1

In APA, the CVE list could be qualified as a database. For Example: @MISC{CVE-2014-0160, title = {{CVE}-2014-0160.}, howpublished = "Available from MITRE, {CVE-ID} {CVE}-2014-0160.", month=dec # "~3", year = {2013}, url={http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160 }, urldate={19 April 2015} }


1

The formatting of your @article-type entries is specified in a part following FUNCTION {article} which starts on line 482 for apalike.bst and line 1036 for (the current version of) science.bst. In order to remove the title field from article entries in apalike.bst (or for that matter any other *.bst-file), comment out line 488 by adding a %: % ...


-1

More suggestions for a workaround can be found here: http://www.latex-community.org/forum/viewtopic.php?f=31&t=2840


0

(Too long for a comment, hence posted as an answer.) If I include the instructions \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} in the preamble, I am unable to reproduce the errors you report having encountered, using the bib entries you posted. You may want to check your editor's input encoding settings, just in case these settings involve an ...


1

I use the browser extension Zotero to export .bib files. It also has the handy feature of downloading and renaming a .pdf of the article for offline if it is available, as well as organizing references into folders, and lots of other time (sanity) saving features. Output for OP article: @article{kaye_special_2014, title = {Special {Issue} on {Science} ...


-1

Found it! If the references have key1, key2. Citing with a star combines them. instead of \cite{key1, key2}, using \cite{key1, *key2} gives the desired result. Cheers. Note: This was achieved when using revtex 4.1, which uses natbib. The latest version of natbib might be required for this to work


1

@cfr has provided a list of entry types recognized by BibTeX, along with lists of required and optional field types for each entry typle -- as given by the "basic" bibliography styles -- plain, abbrv, and alpha. The fields, and what BibTeX is supposed to with any given field, are defined by the bibliography style you select. For example, the plain ...


4

texdoc bibtex is the obvious source. This lists all standard types with their required and optional fields (pp. 8-9): article An article from a journal or magazine. Required fields: author, title, journal, year. Optional fields: volume, number, pages, month, note. book A book with an explicit publisher. Required fields: author or editor, ...


0

If you use biblatex +biber (which understands utf8),it compiles fine. Just add these lines to your preamble: \usepackage{biblatex} \addbibresource{kilder.bib} and replace at the end of the document: \bibliography{kilder} \bibliographystyle{plain} with: \nocite{*} \printbibliography


1

biblatex's standard styles have no trouble (and no scruple) at all to display a url and urldate for @books or any other entry type. This feature can be turned off via url=off, in which case only @online entries retain their URLs (see ยง3.1.2.2 Style-specific [Preamble Options], p. 55 of the biblatex documentation). Most custom styles available from CTAN ...


2

Here is an attempt at getting a bibliography as described in your post, made with biblatex: \documentclass[firstinits=true]{acm_proc_article-sp} \usepackage{biblatex} \usepackage{filecontents} \usepackage{xpatch} \begin{filecontents}{mybiblio.bib} @ONLINE{ pal:working, URL = "http://opensource.mit.edu/papers/madanmohan.pdf", ORGANIZATION= "{M}{I}{T} ...


2

I have no idea about texstudio but you have deleted the generated bibliography (bbl) so you need to run in order latex, bibtex, latex, latex, on your document to regenerate it.


0

At support.mendeley.com/customer/portal/articles/723677-adding-new-variables-to-my-citation-style the problem of unsupported fields in Mendeley Desktop is addressed. The workaround explained there also works for Zotero: Add a DOI to a Zotero item of the type "book", for instance, by putting the line {:DOI:10.1037/11019-008} somewhere in the "extra" ...


0

The current download of JabRef will not run for me on OS 10.10.2 (OS X says it is 'damaged'.) But BibDesk also provides a way of doing this. Open your large .bib in BibDesk. Create a new, empty Bibliography. Click Database > 'Select Publications from .aux File' Navigate to the .aux file for your document. All entries cited in your document will now be ...


4

\documentclass{article} \begin{document} \section{Polka loving Platypus} \cite{companion}\cite{article-full} \bibliographystyle{alpha} \bibliography{xampl, biblatex-examples} \end{document} Running bibtex on the aux file of the first LaTeX run gives us the following The style file: alpha.bst White space in argument---line 5 of file ...


1

Try \usepackage[hyphens]{url} ... \path {http://www.firstclass.cz/2014/03/odmitl-prodat-googlu-svuj-napad-za-tri-ctvrte-miliardy-ted-na-nem-sam-vydelava/#sthash.JkwV1KGY.nzfkNxcQ.dpbs} Note the "hyphens" option. This usually works fine with the plain old article class.


1

My suggestion is to use BibLaTeX. The BibLaTeX has a @software entry type (is similar to @misc), and a version field: @software{math, author = {{Wolfram Research, Inc.}}, title = {Mathematica 8.0}, url = {https://www.wolfram.com}, version = {0.8}, date = {2010}, }


0

EDIT: Contrary to my previous answer, this is actually a quirk of the "kbib" bibliography style that you are using -- it is unable to handle such author names. If you switch to the "plainnat" style, for example, you will get the correct result.


0

I had a similar problem and solved with this technique: https://hci.rwth-aachen.de/materials/bib/?id=kluth2011a


0

I'll give the best trick I've come up with to make this work. First, I get rid of the longbibliography option in the documentclass command. Then I run latex on the file. It generates a file called filenameNotes.bib, with "filename.tex" the name of the tex file. This file contains the following, @CONTROL{REVTEX41Control} ...


0

Seems not to be possible with detex.


4

Add \bibliographystyle{abbrv} before \bibliography{testbiblio} full code. I modified little bit. :) \begin{filecontents}{testbiblio.bib} @ARTICLE{one, author = {John Smith}, title = {Recent advances in physics}, journal = {Phys. Rev. D}, year = {2015}, volume = {10}, pages = {123456}, number = {5} } \end{filecontents} ...


2

I added a *-variant that prints the citation anyway, and it doesn't count as the first (maybe you want it in the introduction or later in the document). \begin{filecontents*}{\jobname.bib} @Manual{vcd, title = "vcd: Visualizing Categorical Data", author = "David Meyer and Achim Zeileis and Kurt Hornik", year = "2015", note = ...


1

on the assumption that \nocite isn't really needed, this should work: \newcommand{\expkg|[1]{\textsf{#1}\ixp{#1}} \newcommand{\pkg}[1]{\textsf{#1}\ixp{#1} \citep{#1}\expkg{#1}} after all, a single \cite will put an entry in the \.aux file that tells bibtex to identify a matching entry in the .bib file and create an equivalent entry in the .bbl file -- ...


3

May be you need this: \def\pkg#1{\textsf{#1}\ixp{#1}~\citex{#1}} \def\citex#1{\expandafter\ifx\csname cit:#1\endcsname\relax \expandafter\gdef\csname cit:#1\endcsname{}% \citep{#1}% \else \nocite{#1}% \fi } The \citex macro tests if the parameter was used before, i.e. if the control sequence \cit:parameter is defined. If not, then ...


0

This is not a direct answer, but perhaps you would find it useful. Here is a package I wrote, but never published to serve a similar but not identical purpose. The purpose of this package is to make it easier to write articles on programming languages. To reference a language such as Java, you write \Java in your input. It would add the citation, but only if ...


0

You should insert the instruction \nocite{article1} before the abstract environment. That way, it'll be numbered as [1] even though no citation call-out is generated by the \nocite instruction. \documentclass[conference]{IEEEtran} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @article{article1, author = {Author 1}, title = ...


4

The simple solution is to modify the title field in the bib file. Change "Recent advances in physics" to "J. Smith, Recent advances in physics", and so on for each citation. If you want a fix for the general case, you'll need to modify revtex4's .bst file to change the formatting of the output. On my system, Debian Linux with Tex Live, the location of the ...


1

If you're looking for a solution to the problem rather than an answer to the question (as I understand it), I'd recommend using arara. There's very good integration documentation available in arara's critically-acclaimed manual, chapter 4. Essentially, you place a few lines at the top of your TeX document like this: % arara: pdflatex % arara: bibtex % ...


0

The issue was related to extra.label, which was missing in the original bst-file. Running the makebst again and copying the code-snip from the new bst-file works for me now. Old code: FUNCTION {format.date} { month "month" bibinfo.check duplicate$ empty$ year "year" bibinfo.check duplicate$ empty$ { swap$ 'skip$ { "there's a month but ...


0

A neat trick to get the WYSIWYG effect in the titles of your bibtex is to use double curlies to encode the titles, e.g.: @book{aitchison2001language, title={{Language Change: Progress or Decay?}}, author={Aitchison, Jean}, year={2001}, publisher={Cambridge University Press} }


1

Try deleting all the .aux and .bbl files generated before, leaving only .tex and .bib. Recompile main file first, then compile bibtex. It seems to be like the old thebibliography command generated aux files that are not compatible with \bibliography. If that still doesn't work, double check your .bib using some other tool like JabRef.



Top 50 recent answers are included