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

export error (pandoc) #590

Closed
krdau opened this issue May 30, 2019 · 3 comments · Fixed by #790
Closed

export error (pandoc) #590

krdau opened this issue May 30, 2019 · 3 comments · Fixed by #790
Labels
Milestone

Comments

@krdau
Copy link

krdau commented May 30, 2019

When exporting to PDF I get an Error in Manuskript

manuskript-pandoc-error2019-05-30 19-37-55.

(as well as in the terminal)

manuskript-pandoc-terminal-2019-05-27 23-57-30

The Preview/PDF output seems to be ok. I could not identify the "missing character".

@worstje
Copy link
Contributor

worstje commented May 30, 2019

Unfortunately, this is a pandoc error and not a Manuskript error, making it difficult for us to diagnose / fix based on so little information.

Have you tried narrowing down which part of your project causes the problem by exporting only parts of it? Or if you have already done that, by making a copy and then systematically removing parts until the error starts to disappear?

I'll submit an issue on the Pandoc github to ask them to improve that error message in a way that makes sense.

@worstje
Copy link
Contributor

worstje commented May 31, 2019

In regards to identifying the missing character, an issue has been submitted to the pandoc project and even completed already. Once this is in a release, it will probably help you figure out what character is causing the warning and whether it is something you can ignore, or whether you need to truly figure out a fix. (Although we should probably still try to identify why the character isn't properly showing up on our end to begin with...)

@krdau
Copy link
Author

krdau commented Jun 3, 2019

Through export to LaTex I found that the problem in pandoc is the zero width space character (U+200B):

LaTex error message:
! Package inputenc Error: Unicode char ​ (U+200B)
(inputenc) not set up for use with LaTeX.

The problem seems to be connected to manuskript: When I edit (delete the problematic character)
the tex source-code and copy it back into manuskript, then there is no export error message.

But when editing the text in manuskript, under certain conditions this zero width space is (automatically?) included in the text.

I could reproduce the problem only now and then – therefor I do not know what exactly causes the issue.

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

Successfully merging a pull request may close this issue.

3 participants