Jupyter Notebooks: nbconvert configurations being picked up in jupyter_notebook_config.py file?

限于喜欢 提交于 2019-12-11 01:17:52

问题


I have a question, the following two lines, from a config file, are configuration options for nbconvert (http://nbconvert.readthedocs.io/en/latest/config_options.html)

Note that they are note listed under notebook configuration options (http://jupyter-notebook.readthedocs.io/en/latest/config.html)

c.TemplateExporter.template_path = ['.', "/Users/williamhenry/Library/Jupyter/templates"]

c.TemplateExporter.template_file = 'printviewlatex'

However, the only way I can actually get these configuration options to take effect is to put them in the jupyter_notebook_config.py file, NOT in the jupyter_nbconvert_config.py file. This does not make any sense to me. Can anyone explain why?

来源:https://stackoverflow.com/questions/37536824/jupyter-notebooks-nbconvert-configurations-being-picked-up-in-jupyter-notebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!