Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-13 Thread Olivier Schwander
Le 06 Oct 2010 21:39, Matthew Leifer a écrit: That is odd. texi2dvi should default to using regular latex. You usually have to pass a -p option or use the alias texi2pdf in order to use pdflatex. It might be that you have a LATEX environment variable set. In any case, you can alter this

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-06 Thread Matthew Leifer
That is odd. texi2dvi should default to using regular latex. You usually have to pass a -p option or use the alias texi2pdf in order to use pdflatex. It might be that you have a LATEX environment variable set. In any case, you can alter this behaviour by setting the LATEX environment variable,

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-06 Thread Scot Becker
How about introducing a #+LATEX_CMD: option in org-mode? (and default to pdflatex) Yes, please! I use xelatex almost exclusively since it has unicode support for non-latin scripts. And increasingly, some will presumably want to use LuaTeX, which I'm told is slated to replace pdflatex in the

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-05 Thread Matthew Leifer
Hi, I don't know if you are aware, but there is a utility called texi2dvi that figures out how many times LaTeX, bibtex, etc. need to be run and automatically runs them the correct number of times for you. It also has an option -p that uses pdflatex and generates pdf instead of dvi. In my

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-05 Thread Carsten Dominik
On Oct 5, 2010, at 2:46 PM, Sébastien Vauban wrote: Hi Carsten, Carsten Dominik wrote: Thanks for the patch! I would certainly have a better way to process these files. I would certainly *like very much to have your* better way to process it. Sorry about that confusing sentence...

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-05 Thread Indraneel Majumdar
texi2dvi is also on my minimal MikTex system, I'd certainly love a patch that uses it instead of a shell script (although I also have cygwin too).. On 2010-10-05 20:00, Matthew Leifer wrote: Hi, I don't know if you are aware, but there is a utility called texi2dvi that figures out how many

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-05 Thread Carsten Dominik
On Oct 5, 2010, at 8:55 PM, Achim Gratz wrote: Commit 59ba4125 lisp/org-latex.el raises warning during byte-compile: In org-export-as-pdf: org-latex.el:882:28:Warning: assignment to free variable `errors' org-latex.el:882:47:Warning: reference to free variable `errors' Fixed, thanks. -

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-04 Thread Carsten Dominik
Hi Sebastian, Thanks for the patch! I would certainly have a better way to process these files. My questions: 1. Can we run bibtex only if we have an indication that it might be needed? Maybe by looking at the output of the first LaTeX run? Hmm, maybe this would not work if only the

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-04 Thread Scot Becker
As soon as I can, I'll give the patch a test using XeLaTeX as well. It'd be great to have this feature also be able to run xelatex instead of pdflatex to support that toolchain as well (for its better UTF-8 support and OpenType font integration). I expect this to be easy, because as far as I can

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-01 Thread Thomas S. Dye
On Sep 30, 2010, at 6:55 AM, Sébastien Vauban wrote: Hi Nick, Nick Dokos wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com wrote: Noorul Islam K M wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: I've been taught of a weird observation: the page number indicated in the TOC of

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-01 Thread Nick Dokos
Sébastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi Nick, Nick Dokos wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com wrote: Noorul Islam K M wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: I've been taught of a weird observation: the page number indicated in the