-
找不到pandoc
安装pandoc,加入环境变量,必要时重启jupyter或机器。
[! Package ucs Error: Unknown Unicode character 9474 = U+2502,
(ucs) possibly declared in uni-37.def.
(ucs) Type H to see if it is available with options.
可能含有中文等,\Anaconda3\Lib\site-packages\nbconvert路径下,
修改\templates\latex文件夹下,article.tplx
里
\documentclass[11pt]{article}
为
\documentclass[11pt]{ctexart}
修改exporters文件夹下pdf.py
里
latex_command = List([u"xelatex", u"{filename}"], config=True,
help="Shell command used to compile latex."
)
为
latex_command = List([u"xelatex", u"{filename}"], config=True,
help="Shell command used to compile latex."
)