美文网首页
2018-11-14 【jupyter notebook 导出p

2018-11-14 【jupyter notebook 导出p

作者: 入木三 | 来源:发表于2018-11-14 21:55 被阅读0次
  • 找不到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."
    )

相关文章

网友评论

      本文标题:2018-11-14 【jupyter notebook 导出p

      本文链接:https://www.haomeiwen.com/subject/btpsfqtx.html