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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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