emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to get BibTeX to work with Org mode LaTeX export?
Date: Sat, 18 May 2013 10:37:31 -0400	[thread overview]
Message-ID: <87d2so2w2c.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: CAFiLVrY+FcD2__cSdvf9yn9eOUisRPoxGg8n78B66tpmhWf=Bg@mail.gmail.com

Jay Kerns <gjkernsysu@gmail.com> writes:

>> - The question is about how to get Org mode to do the whole job, as there is
>> a command for it which is supposed to do exactly that but it doesn't.
>>
>
> Have you tried (something like) the following in your init file?
>
> (setq org-latex-pdf-process (quote ("texi2dvi --pdf --clean --verbose
> --batch %f" "bibtex %b" "texi2dvi --pdf --clean --verbose --batch %f"
> "texi2dvi --pdf --clean --verbose --batch %f")))
>
> You can read more about this variable (and customize it) with
>
> C-h v org-latex-pdf-process RET
>
> I hope this helps,

If texi2dvi works, then there is no need for a three-element list: just
the first invocation of texi2dvi should be enough to do the job.

If texi2dvi does *not* work, then a three-element list is necessary (but
not necessarily sufficient): an invocation of pdflatex, followed by
bibtex, followed by (at least) another invocation of pdflatex (followed
by more invocations of pdflatex if there are still complaints).

-- 
Nick

  reply	other threads:[~2013-05-18 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-18  7:09 How to get BibTeX to work with Org mode LaTeX export? Omid
2013-05-18  8:28 ` Yury Bulka
2013-05-18  8:40   ` Omid
2013-05-18  9:36     ` Jay Kerns
2013-05-18 14:37       ` Nick Dokos [this message]
2013-05-18 21:36       ` Omid
2013-05-18 14:17   ` Nick Dokos
2013-05-18 16:33 ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2so2w2c.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).