Skip to content

Pandoc issue #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Pandoc issue #1

wants to merge 1 commit into from

Conversation

bugeacl
Copy link

@bugeacl bugeacl commented Dec 4, 2024

Hello, I seem to be getting issues when it comes to the generator. After some troubleshooting, I found out I was getting this Pandoc error:

Error producing PDF.\n! LaTeX Error: Invalid UTF-8 byte sequence (\xef\xbf\xbd\\lst@FillFixed@).\n\nSee the LaTeX manual or LaTeX Companion for explanation.\nType  H <return>  for immediate help.\n

That was the output coming out of the subprocess.popen() command.
I am seeing this in the man page of Pandoc, which is makes me think this is a problem not fixable at the moment:

--listings[=true|false]
              Use  the  listings  package for LaTeX code blocks.  The package does not support multi-byte
              encoding for source code.  To handle UTF-8 you would need to use a custom  template.   This
              issue is fully documented here: Encoding issue with the listings package.

Do you think there's anything better that could fix it other than removing the --listings flag?

@bugeacl
Copy link
Author

bugeacl commented Dec 4, 2024

Side note, would be worth adding the src and out folders with some example files to confuse people less. I've had two people giving me the repository now, and as you'd imagine they're a bit confused

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
1 participant