<div class="gmail_quote">On Sun, Aug 21, 2011 at 00:19, Reinhard Kotucha <span dir="ltr"><<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
</div>You also forgot that LaTeX *always* needs several runs in order to<br>
create a TOC.<br></blockquote><div><br></div><div>Of course. That's the way it's designed.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

The mentioned makefile requires standard Unix utilities, which are not<br>
available on Windows, and Windows batch files work on Windows only,<br>
if at all.<br></blockquote><div><br></div><div>The mentioned makefile only pretends to be for *nix systems. Batch files of course only work on Windows.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Furthermore, LaTeX writes a hint to the log file telling you whether<br>
an additional run is needed.  It makes sense to evaluate this hint.<br>
This can be done in Perl without much effort.  I'm looking forward to<br>
see this implemented in an MS-DOG batch file.</blockquote><div><br></div><div>No idea if it's possible with batch scripting. I never needed to write one myself and it's not something I'll do voluntarily. Any decent scripting language can evaluate the hint easily.</div>

<div><br></div><div>Sigmund</div></div>