Nick Fraser
2015-04-19 14:46:15 UTC
Hello,
I'm using Pandoc to convert a .docx file to both latex and pdf. The file
has several special characters in it, for example 'ÎŽ'.
get around this:
1. Change the font type (using --variable mainfont=Arial) to a font that
does render the symbol in the PDF.
2. Manually change the 'ÎŽ' symbol in the .tex file to the latex format
$\delta$, and then it is rendered in the PDF without having to change font.
Option 2 would be vastly preferable for me, if there were some automated
way to do this on conversion from the original .docx file. Can anyone
suggest how this might be achieved?
Sorry if this all sounds very rookie - it is my first weekend of diving
into Pandoc!
I'm using Pandoc to convert a .docx file to both latex and pdf. The file
has several special characters in it, for example 'ÎŽ'.
pandoc -o test.tex test.docx --latex-engine=xelatex
This is fine, except the ÎŽ symbol appears in unicode in the .tex file, sopandoc -o test.pdf test.tex --latex-engine=xelatex
It doesn't render the 'ÎŽ' symbol in the PDF. So far I found two options toget around this:
1. Change the font type (using --variable mainfont=Arial) to a font that
does render the symbol in the PDF.
2. Manually change the 'ÎŽ' symbol in the .tex file to the latex format
$\delta$, and then it is rendered in the PDF without having to change font.
Option 2 would be vastly preferable for me, if there were some automated
way to do this on conversion from the original .docx file. Can anyone
suggest how this might be achieved?
Sorry if this all sounds very rookie - it is my first weekend of diving
into Pandoc!
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+***@googlegroups.com.
To post to this group, send email to pandoc-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2cd21267-71d9-41ba-a789-59d55e8c913c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+***@googlegroups.com.
To post to this group, send email to pandoc-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2cd21267-71d9-41ba-a789-59d55e8c913c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.