Hello,
I have compiled a a file from Scrivener3 as markdown (.md) and then as plain text (.txt). The wrote the file in Scrivener 3 using basic markdown: **, *, numbered lists, but nothing too fancy. When I run pandoc from the terminal to creat a pdf, I get this error:
pandoc myplaintext1.txt -o .pdf
Error producing PDF.
! Package inputenc Error: Unicode character (U+2003)
(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H for immediate help.
…
l.139 …d writing assignments in this course. [NOTE: there is nothing at all unusual about line 139 that I can tell. In fact, even if I delete the paragraph containing this sentence, it still throws the same error.]
Try running pandoc with --pdf-engine=xelatex.[/size]
If I copy and past the same file into a plaintext editor such as TextEdit or Atom, save it, and then run the same pandoc command, I encounter no problems. Everything works as it should. So I’m thinking there is something in the Scrivener compiled plain text and .md file that pandoc doesn’t like. But I’m not sufficiently familiar with the inner workings of latex or pandoc to know what. Any advice would be appreciated.
p.s. - If I try runing pandoc with pdf-engine=xelatex I get this:
[WARNING] Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;!
[WARNING] Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;!
[WARNING] Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;!
Thanks in advance.