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

Pandoc > 3.5 (or maybe lower) breaks PDF export for underlined quotes and maybe other stuff #1230

Open
jochenklar opened this issue Jan 20, 2025 · 0 comments
Milestone

Comments

@jochenklar
Copy link
Member

Description / Beschreibung

A clear and concise description of what the bug is.

Expected behaviour / Erwartetes Verhalten

A clear and concise description of what you expected to happen.

Steps to reproduce / Schritte zum Reproduzieren

Create a view with:

{% load view_tags %}
<u>'</u>

Viewing the view for a project results in a RuntimeError:

Pandoc died with exitcode "43" during conversion: Error producing PDF.
! Cannot use \XeTeXglyph with ectt1000; not a native platform font.
\remove@tlig #1->\XeTeXglyph 
                             \numexpr \XeTeXcharglyph #1\relax 
l.61 \ul{\textquotesingle{}}

Using

            pandoc_args = [arg.replace(
                '--pdf-engine=xelatex', '--pdf-engine=lualatex'
            ) for arg in pandoc_args]

at https://github.com/rdmorganiser/rdmo/blob/interview-contact-modal/rdmo/core/utils.py#L233-L234 fixes the issue.

No clue if changing to lualatex introduces new problems.

References / Verweise

@jochenklar jochenklar added this to the RDMO 2.3.0 milestone Jan 20, 2025
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

1 participant