jupyter中把ipynb文件导出为pdf

发布时间 2023-06-24 15:43:21作者: l_v_y_forever

 

1、安装Python包,其中6.4.4是根据提示确认的必须要大于等于6.4.4

pip3 install nbconvert==6.4.4

2、安装Inkscape,官网地址:https://inkscape.org/zh-hans/?switchlang=zh-hans

3、安装pandoc,官网地址:https://pandoc.org/installing.html

4、安装Tex,可参考:https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex,官网地址:https://tug.org/mactex/