DCsunset / pandoc-include

A pandoc filter to allow file and header inclusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non english characters are not processed correctly

ikalogic opened this issue · comments

If I have these spanish words in my main *.md file:
Descripción del producto
It gets correctly converted to PDF.

However, if these same words are included and hence processed by the pandoc-include filter, I get this result in the PDF:

Descripción del producto

As you can see, that special "o" character got messed up. Any idea how to prevent this?

If this can work, it will save me a lot of time!

Thanks!

The workaround i have found for the moment is to html'escpae the text in the included *.md files.
it's works, but the modified files are barely readable...

It seems a bug of this filter.
I may try to fix it later, and it may take some time.

Thank you very much, as I said, there is workaround, so it's not urgent :)

I tried it myself, but couldn't reproduce the problem.
Could you provide a simple example and your options to compile?

Same problem for me.
@DCsunset - to reproduce, try to use some language specific character in file to include and then try to include its to root file.

Fix this issue in v0.4.1 thanks to @mario45211 .