From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Re: [PATCH] Compiling multiple times the LaTeX output
Date: Fri, 01 Oct 2010 12:12:21 -0400 [thread overview]
Message-ID: <21895.1285949541@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com> of "Thu\, 30 Sep 2010 18\:55\:43 +0200." <87vd5njhm8.fsf@mundaneum.com>
Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:
> Hi Nick,
>
> Nick Dokos wrote:
> > Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:
> >> Noorul Islam K M wrote:
> >> > Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:
> >> >> I've been taught of a weird observation: the page number indicated in
> >> >> the TOC of a PDFLaTeX output is wrong by one page...
> >> >
> >> > Quoting from source code
> >> >
> >> > (defcustom org-latex-to-pdf-process
> >> > '("pdflatex -interaction nonstopmode -output-directory %o %f"
> >> > "pdflatex -interaction nonstopmode -output-directory %o %f")
> >> > "Commands to process a LaTeX file to a PDF file.
> >> > This is a list of strings, each of them will be given to the shell
> >> > as a command.
> >>
> >> Attached my proposed patch for fixing this, regarding the TOC error (needed a
> >> third compilation). Here, as many compilations as necessary are run, up to
> >> when LaTeX confirms the result is stable (no message "please re-run...").
> >
> > I don't know if that's still the case, but there were (rare) situations
> > where that would *never* happen: LaTeX would oscillate between two different
> > states of output, so you always needed to do one more compilation. The only
> > fix was to rearrange the *input* sligthly to try to get LaTeX out of its
> > rut.
>
> In years of LaTeX use, that's something that I never have had to play with. I
> think such experiences are close to 0 in one full LaTeX live. Though, yes, it
> can happen.
>
Me neither - it is really rare. See
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=rerun
for one possibility.
OTOH, I have never had a document that requires more than 3 compilations to get
references right either, although I'm sure that they exist. That's what the "3"
suggestion was based on.
>
> > It may be wise to limit the number of compilations to 3 (but perhaps make it
> > configurable, so that it can be increased if necessary).
>
> Nice idea. I'll try to see if I can come up with something like that.
>
Cheers,
Nick
next prev parent reply other threads:[~2010-10-01 16:12 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 14:25 Compiling multiple times the LaTeX output Sébastien Vauban
2010-09-29 15:17 ` Noorul Islam K M
2010-09-30 13:27 ` [PATCH] " Sébastien Vauban
2010-09-30 15:39 ` Nick Dokos
2010-09-30 16:55 ` Sébastien Vauban
2010-10-01 15:32 ` Thomas S. Dye
2010-10-01 21:17 ` Sébastien Vauban
2010-10-04 7:41 ` Carsten Dominik
2010-10-04 10:36 ` Scot Becker
2010-10-05 12:46 ` Sébastien Vauban
2010-10-05 14:17 ` Carsten Dominik
2010-10-05 14:30 ` Matthew Leifer
2010-10-05 15:02 ` Indraneel Majumdar
2010-10-05 16:26 ` Carsten Dominik
2010-10-05 18:55 ` Achim Gratz
2010-10-05 21:12 ` Carsten Dominik
2010-10-06 8:21 ` Sébastien Vauban
2010-10-05 18:24 ` Achim Gratz
2010-10-01 16:12 ` Nick Dokos [this message]
2010-10-06 9:36 ` Bruno Tavernier
2010-10-06 20:39 ` Matthew Leifer
2010-10-07 2:09 ` Bruno Tavernier
2010-10-13 7:49 ` Olivier Schwander
2010-10-13 12:34 ` Carsten Dominik
2010-10-06 21:54 ` Scot Becker
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21895.1285949541@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=wxhgmqzgwmuf@spammotel.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.