Jupyter notebook Jupyter笔记本:在Jupyter_notebook_config.py文件中获取nbconvert配置?

Jupyter notebook Jupyter笔记本:在Jupyter_notebook_config.py文件中获取nbconvert配置?,jupyter-notebook,nbconvert,Jupyter Notebook,Nbconvert,我有一个问题,下面两行来自配置文件,是nbconvert()的配置选项 请注意,它们列在笔记本电脑配置选项() 但是,使这些配置选项真正生效的唯一方法是将它们放在jupyter\u notebook\u config.py文件中,而不是放在jupyter\u nbconvert\u config.py文件中。这对我来说毫无意义。有人能解释一下原因吗?您是在命令行中使用nbconvert,还是在笔记本中使用“下载为”菜单?配置文件由应用程序加载,因此jupyter\u notebook\u Con

我有一个问题,下面两行来自配置文件,是nbconvert()的配置选项

请注意,它们列在笔记本电脑配置选项()


但是,使这些配置选项真正生效的唯一方法是将它们放在jupyter\u notebook\u config.py文件中,而不是放在jupyter\u nbconvert\u config.py文件中。这对我来说毫无意义。有人能解释一下原因吗?

您是在命令行中使用nbconvert,还是在笔记本中使用“下载为”菜单?配置文件由应用程序加载,因此
jupyter\u notebook\u Config.py
中的设置将影响使用笔记本应用程序转换文件。
c.TemplateExporter.template_path = ['.', "/Users/williamhenry/Library/Jupyter/templates"]

c.TemplateExporter.template_file = 'printviewlatex'