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

Incompatibility issue with latest version of pandoc #2173

Open
gabemorris12 opened this issue Aug 28, 2024 · 1 comment
Open

Incompatibility issue with latest version of pandoc #2173

gabemorris12 opened this issue Aug 28, 2024 · 1 comment

Comments

@gabemorris12
Copy link

When converting a notebook that has an image to a PDF via xelatex, you will now receive an error with version 3.2.1 and above on pandoc. Pandoc has added a new macro that is not defined in the jinja templates. See pandoc issue 10125 for more details on reproducing the issue.

@afeld
Copy link
Contributor

afeld commented Nov 25, 2024

The specific error I was getting, in case it helps anyone else searching:

! Undefined control sequence.
l.399 \pandocbounded
                    {\includegraphics[keepaspectratio]{extras/img/hw_4_bonus...

? 
! Emergency stop.

The fix seems to be adding \pandocbounded (jgm/pandoc#10125 (comment)), but I'm not sure where.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants