# NBConvert to PDF: works from command line, doesn't work from Notebook Interface

**URL:** https://discourse.jupyter.org/t/nbconvert-to-pdf-works-from-command-line-doesnt-work-from-notebook-interface/953
**Category:** nbconvert
**Created:** [May 2, 2019, 11:51am UTC](https://discourse.jupyter.org/t/nbconvert-to-pdf-works-from-command-line-doesnt-work-from-notebook-interface/953 "2019-05-02T11:51:29Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![t-makaro](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/t-makaro/32/607_2.png) [@t-makaro](https://discourse.jupyter.org/u/t-makaro)
#### Post date: [August 6, 2019, 7:35pm UTC](https://discourse.jupyter.org/t/nbconvert-to-pdf-works-from-command-line-doesnt-work-from-notebook-interface/953/4 "2019-08-06T19:35:19Z")

</div>

> [@lmnice](#):
>
> So it seems as though `nbconvert` ignores the configuration file when called from the interface.

Each Jupyter app has it’s own config file. To set nbconvert configuration inside of the notebook add these configuration options to the `~\.jupyter\jupyter_notebook_config.py` file. Or reference the nbconvert config file from the notebook config file with [load\_subconfig](https://traitlets.readthedocs.io/en/stable/config.html#configuration-objects-and-files#configuration-files-inheritance). This is the proper/official way to do this.

---

_[View the full topic](https://discourse.jupyter.org/t/nbconvert-to-pdf-works-from-command-line-doesnt-work-from-notebook-interface/953)._
