If I don't specify the font, then the Chinese characters in the generated pdf file are all gone in Document Viewer 3.10.0. But it doesn't have error messages.
The attachment shows the differences of output between two commands:
pandoc -o c.pdf --latex-engine=xelatex test
pandoc -o c2.pdf --latex-engine=xelatex -V mainfont='WenQuanYi Micro Hei' test
If I don't specify the font, then the Chinese characters in the generated pdf file are all gone in Document Viewer 3.10.0. But it doesn't have error messages.
The attachment shows the differences of output between two commands: engine= xelatex test engine= xelatex -V mainfont='WenQuanYi Micro Hei' test
pandoc -o c.pdf --latex-
pandoc -o c2.pdf --latex-