<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I've been hunting this for hours now, comparing with older docs and systematically eliminating parts of code and finally found it: it's babel. Here are two cases:<br><br>1. <span style="font-weight: bold;">\usepackage[arabic,croatian]{babel}</span><br><br>When arabic and croatian options are set for babel (as in my example), TOC gets cut off. <br><br><br>2. <span style="font-weight: bold;">\usepackage[croatian]{babel}</span><br> <span style="font-weight: bold;">\usepackage{arabxetex}</span><br> <br>When only croatian option is set for babel, and for arabic text is used arabxetex package, TOC is fine. I hope there will be no unpleasent consequences because of change :-)<br><br>I hope this info will be useful for someone.<br><br>P.S. I have to use babel since
I had many issues with polyglossia.<br><br>Best wishes,<br><br>Meho R.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Ulrike Fischer <news3@nililand.de><br><b><span style="font-weight: bold;">To:</span></b> xetex@tug.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 14, 2009 1:44:43 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [XeTeX] Problematic TOC<br></font><br>
Am Tue, 14 Jul 2009 03:02:11 -0700 (PDT) schrieb Meho R.:<br><br>> Hi everyone<br> <br>> The problem is as follows: my TOC is stuck on the first page (get<br>> in the bottom margin and the rest of it isn't display). I noticed<br>> that there is no error messages, just couple of warnings I hope<br>> someone can interpret. I noticed that an additional empty page is<br>> created too, just before the page TOC starts at. If you include<br>> only first two docs I provided so the TOC is less than a page<br>> long, that empty page is gone and everything is fine. But if you<br>> include the third doc or even include some of them twice, you get<br>> cut-off TOC.<br> <br>Obviously something in your code prohibits LaTeX to put a page break<br>between your toc entries. You probably get an overfull vbox message<br>in the log. Shorten your document until you find the culprit code. I<br>would start at the titlecontents-commands.
<br><br><br><br>-- <br>Ulrike Fischer <br><br></div></div></div><br>
</body></html>