Skip to content
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

Upgrade regression: compile twice when longtable detected #9284

Closed
kaieberl opened this issue Dec 24, 2023 · 3 comments
Closed

Upgrade regression: compile twice when longtable detected #9284

kaieberl opened this issue Dec 24, 2023 · 3 comments
Labels

Comments

@kaieberl
Copy link

Hi,

There seems to be an upgrade regression in pandoc 3.1.10.
In 3.1.9, when compiling a markdown file with a table, the latex compiler was invoked twice. Now it isn't, which results in the title column of the table and the rest of the table not being aligned.

My command:
pandoc vocab.md -o vocab.pdf --template=my-template.tex

My markdown:

日本語 | 読み方 | 意味 |
|------------------|-------------------|---------------------------|
| 操作 | そうさ | Aktion |
| 追加 | ついか | Hinzufügen |
| 適用 | てきよう | Anwenden |
| 環境設定 | かんきょうせってい | Konfiguration |
| 作成 | さくせい | Erstellen |

System:
macOS 14.2, Macbook Air M2

@kaieberl kaieberl added the bug label Dec 24, 2023
@jgm
Copy link
Owner

jgm commented Dec 24, 2023

I believe this issue is already fixed in the latest release (3.1.11). Please try that.

@kaieberl
Copy link
Author

I should have mentioned that. It's still there in 3.1.11.

@jgm
Copy link
Owner

jgm commented Dec 24, 2023

Sure enough. LaTeX is producing warnings like these which we aren't catching:

Package hyperref Warning: Rerun to get /PageLabels entry.


Package longtable Warning: Column widths have changed
(longtable)                in table 1 on input line 77.


Package longtable Warning: Table widths have changed. Rerun LaTeX.

@jgm jgm closed this as completed in 3c17869 Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants