Closed deerchao closed 3 months ago
The default LaTeX renderer, pdflatex
, cannot handle general unicode characters. You can use a different one such as LuaLaTex or XeLaTex to get better support, and you'll need to use fonts that support the necessary characters as well. Here's an example configuration from the test suite that should be enough to get started:
Note the font configuration to use Noto CJK SC (Simplified Chinese), this is likely the main font you'll need. See also the section on fonts in Pandoc's manual.
Closing since this is really a LaTeX configuration question but let me know if there's anything else I can do to help.
With the first non-ascii char in my book.toml, there comes an error:
and this is the log: