-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LaTeX/XeLaTeX Table of Contents: Page Numbers of by TOC Length #4755
Comments
Pandoc should run the pdf-engine twice for TOC generation, but maybe there's a bug when using xelatex..? Can you try with the latest pandoc release? And can you try with pdflatex instead? Also, does it work when you do |
I just created an example to reproduce the bug (Pandoc version 2.2.1). |
Alternative minimal repro:
|
Actually, we run the engine 3 + 1 = 4 times. But the first two times it (sometimes?) doesn't run properly with
Anyone any idea what's going on? Or can repro on other systems? I'm on macOS. |
This appears to be an unwelcome consequence of the fix for #4484. |
I have a large PDF document (60 pages) generated from Markdown using XeLaTeX.
All the numbers in the table of contents are off (too small) by two pages, and two pages is the length the table of contents needs.
In LaTeX, an additional run usually fixes that issue. How can this be achieved as a workaround? And is this a bug or am I doing something wrong?
EDIT: I'm using Pandoc Versoin 2.2.1
The text was updated successfully, but these errors were encountered: