将python脚本转换PDF文件
安装nbconvert(pip install nbconvert or conda install nbconvert)
(https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex.)继续安装pandoc,下载速度极慢,尝试手机QQ浏览器下载后传百度网盘。
(https://pandoc.org/)继续安装Tex的环境。windows下可用安装MikTex(需要64位系统)(https://miktex.org/howto/install-miktex)
修改article.aplx文件
(https://blog.csdn.net/wxw_csdn/article/details/88836942)
解决转PDF文件时日文显示的问题
在C:\Users\1410131\AppData\Local\Continuum\anaconda3\Lib\site-packages\nbconvert\templates\latex\aricle文件的
\documentclass下添加:\usepackage{luatexja}导出Notebook页面时选择Download as LaTex。
用miktex打开导出的Tex文件,并使用LuaLaTex排版。