emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bibtex and beamer
@ 2011-01-19 21:14 Andrea Crotti
  2011-01-19 22:25 ` Jeff Horn
  0 siblings, 1 reply; 3+ messages in thread
From: Andrea Crotti @ 2011-01-19 21:14 UTC (permalink / raw)
  To: emacs-orgmode

I'm doing a presentation and using bibtex for keeping my references,
exactly how I will use it in the dissertation.

That's really wonderful and it works like a charm, using reftex-citep
and an external bibliography file.

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.

I didn't get it working, and only calling manually
- pdflatex
- bibtex
- pdflatex
- pdflatex

on the generated I could get the correct references...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bibtex and beamer
  2011-01-19 21:14 Bibtex and beamer Andrea Crotti
@ 2011-01-19 22:25 ` Jeff Horn
  2011-01-19 22:40   ` Andrea Crotti
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Horn @ 2011-01-19 22:25 UTC (permalink / raw)
  To: Andrea Crotti; +Cc: emacs-orgmode

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).

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bibtex and beamer
  2011-01-19 22:25 ` Jeff Horn
@ 2011-01-19 22:40   ` Andrea Crotti
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea Crotti @ 2011-01-19 22:40 UTC (permalink / raw)
  To: emacs-orgmode

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-19 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19 21:14 Bibtex and beamer Andrea Crotti
2011-01-19 22:25 ` Jeff Horn
2011-01-19 22:40   ` Andrea Crotti

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).