On 2023-03-09 19:24:20 +0100, to...@tuxteam.de wrote: > If everything else fails, read the instructions [1]. > > --pdf-engine=PROGRAM > > Use the specified engine when producing PDF output. Valid values > are pdflatex, lualatex, xelatex, latexmk, tectonic, wkhtmltopdf, > weasyprint, pagedjs-cli, prince, context, and pdfroff.
It shouldn't be up to the user to find the good option. The default should work. > For best results, as mentioned in this thread, use lualatex. Caveat: > I just found that in the internet. Use with care :) This is not better: zira:~> pandoc --pdf-engine=lualatex UTF-8-demo.txt -o out.pdf Error producing PDF. ! String contains an invalid utf-8 sequence. l.230 ┐┼╔╘░►☺♀ fi And xelatex outputs lots of warnings and generates garbage. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)