Jeff Horn <jrhorn...@gmail.com> writes:

> On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti
> <andrea.crott...@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?


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to