BibTeX, biblatex and biberoption to avoid running bibtex in pdflatex

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
aidanc
Posts: 7
Joined: Wed Dec 07, 2011 7:04 pm

option to avoid running bibtex in pdflatex

Post by aidanc »

Dear all,

I was wondering if anyone knows of an option that can be passed to pdflatex to avoid running bibtex. I am calling pdflatex from another program (GNU R), and the call fails with the error “I found no \bibdata command-“. The document in question is small and has no biblio. I know texniccenter has an option to not run bibtex when calling pdflatex, but this is a tick box so I can’t find out what the command line option is from there. I also can’t see the option under pdflatex –help in the command window. I am running Miktex 2.9.

Thanks in advance for any help!

Best regards,
Aidan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

option to avoid running bibtex in pdflatex

Post by josephwright »

I'm not clear on what you are doing. At the Command Line

Code: Select all

pdflatex <file>
just runs pdfLaTeX without anything else. How are you running pdfLaTeX?
Joseph Wright
aidanc
Posts: 7
Joined: Wed Dec 07, 2011 7:04 pm

Re: option to avoid running bibtex in pdflatex

Post by aidanc »

Hi Joseph,

that makes two of us :)

I'm running

texi2dvi("filename.tex", pdf = TRUE, texi2dvi = "pdflatex")

in the statistical package R.

I thought that this was just calling pdflatex on the file, but it's possible that it it also calls bibtex separately. I'll check if pdflatex from the command line works without error, in which case I'll know the issue is with this command in R and not with pdflatex (unfortunately I'm away from my PC now).

thanks a lot for your help!

Aidan
Post Reply