emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bibtex and beamer
Date: Wed, 19 Jan 2011 23:40:36 +0100	[thread overview]
Message-ID: <m1k4i0y0t7.fsf@ip1-201.halifax.rwth-aachen.de> (raw)
In-Reply-To: AANLkTin+9mWAvHnduGfWH_4Y+8LkX23wA5vW44WJ8efL@mail.gmail.com

Jeff Horn <jrhorn424@gmail.com> writes:

> On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti
> <andrea.crotti.0@gmail.com> wrote:
>> Only one thing is not clear, how do I tell org-mode to call
>> pdflatex/bibtex "enough" times to get all the links correctly setup.
>
> If you're using a *nix system, you might try customizing
> `org-latex-to-pdf-process` with "texi2dvi".
>
> I've been having intermittent issues with bibtex and beamer. Not sure
> what did it on my end, but I flip between "texi2dvi" for
> beamer/latex/bibtex usage, and "shell command sequence" (what you
> mention) for publishing PDFs on my personal website (like my CV).

Thanks a lot, with this

(setq org-latex-to-pdf-process '("pdflatex -interaction nonstopmode -output-directory %o %f" "bibtex %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f"))

It works quite well, even if it looks like an hack, but I can avoid
using texi2dvi I think...

It takes some time though for the whole process, and sometimes only one
run of "pdflatex" would suffice.
Is it so hard to have a smarter check for how and what passes are
needed?

Is not enough to check if all the references are satisfied?

And another thing, why do I have to setup a default citation file?
(setq reftex-default-bibliography "cit")

In theory from my understanding reftex should grep this in my file
\bibliography{cit}

and open that file to see the citations, is that not correct?

      reply	other threads:[~2011-01-19 22:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 21:14 Bibtex and beamer Andrea Crotti
2011-01-19 22:25 ` Jeff Horn
2011-01-19 22:40   ` Andrea Crotti [this message]

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=m1k4i0y0t7.fsf@ip1-201.halifax.rwth-aachen.de \
    --to=andrea.crotti.0@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).