-
-
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
Pandoc 3.1.6.2 fails conversion to Beamer if URLs contain '#' #9014
Comments
This must have to do with one of these changes:
|
OK, the difference is that in 3.1.6.1 we got
while in 3.1.6.2 we get
The |
Apparently, in general |
frame is a rather special environment that works like a command with argument. That means it can't contain verbatim or verbatim-like material. Either escape problematic chars in the url (
|
Adding
Would there be any drawback to adding it always to slide environments? |
Discussion of drawbacks here: https://tex.stackexchange.com/questions/136240/drawbacks-of-using-fragile-frames-in-beamer What I get from this is that fragile might interact badly with noframebreaks, and that it might increase compile time, but otherwise it's fairly harmless. |
Closoed for now by d21a9cd |
thx 👍 |
FWIW Just sharing as I found this issue with 3.1.6.2 too, using a link inside a caption.
So Example---
title: "Example"
---
See [Quarto guide](https://quarto.org/docs/authoring/markdown-basics.html#text-formatting)
![See [Quarto guide](https://quarto.org/docs/authoring/markdown-basics.html#test-formatting)](https://quarto.org/quarto.png) Rendering to PDF will fail with 3.1.6.2
To be clear, using latest nighlty, it works. Just sharing related to d21a9cd message. It is not just a matter of adding |
The following example document stopped compiling with Pandoc 3.1.6.2 to Beamer:
When translating I get the following error message:
Using the ARM64 Linux binary from the GitHub release page:
Changing the MWE to
i.e. removing the
#module-pandoc
will compile as expected.Edit: The issue seems to be related to the Beamer target. With
pandoc -t latex mwe.md -o mwe.pdf
I could successfully create a PDF (3.1.6.2).Edit: The last working Pandoc version was pandoc-3.1.6.1-linux-arm64.tar.gz (just tested).
The text was updated successfully, but these errors were encountered: