Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to disable an export option? #1065

Closed
ieglonew01f opened this issue Jul 20, 2019 · 2 comments
Closed

Is there a way to disable an export option? #1065

ieglonew01f opened this issue Jul 20, 2019 · 2 comments
Labels

Comments

@ieglonew01f
Copy link

Currently, I'm trying to disable pdf exports and latex exports is there a way to do so? Is there an option to blacklist certain exports?

@MSeal
Copy link
Contributor

MSeal commented Jul 22, 2019

Well, if latex isn't installed the exports will fail. There's not an ability to remove the export options from the --to list afaik.

@rahulpshah
Copy link

rahulpshah commented May 15, 2020

Problem?
I am trying to disable pdf exporter for nbconvert based so that it does not show as an option when someone uses Jupyterlab. I don't have latex packages on the host machine so it does not make sense to show pdf as an option.
Fix?
Have a c.NbExporter.blacklist_exporters = ["pdf"] in jupyter_server_config.py to specify invalid exporters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants