kpathsea:make_tex: Invalid filename `[FandolSong-Regular.otf]/OT', contains '['
kpathsea:make_tex: Invalid filename `[FandolSong-Regular.otf]/OT', contains '['
Error producing PDF.
! Package fontspec Error: The font "FandolSong-Regular" cannot be found.
For immediate help type H <return>.
...
l.113 }
按照前述的步骤安装好软件后,执行命令:
pandoc 'README.md' -o '/workspace/magao.xwj/Markdown2PdfTest/demo-batch-markdown-to-pdf-master/pdf/profile_readme_sample.pdf' --pdf-engine=xelatex -V mainfont='PingFang SC' --template=template.tex
报错: