-
Notifications
You must be signed in to change notification settings - Fork 41
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
Ignore :exports none
#50
Comments
By accident I mistyped the header and then the following worked. Note the doubling of
|
I am not sure how you can have it both ways. Your work around seems to work like you want, presumably because you get something like ":export none" as the string, so the code you linked above doesn't get rid of it, but for some reason still works to exclude it in LaTeX. I guess if I did it correctly in ipynb, it would exclude it there too. One solution you could use is a function in ox-ipynb-preprocess-hook that removes ":export none" from source blocks. |
Thanks for the hint to ox-ipynb-preprocess-hook. I don't know much about the code base of org-babel but I'll give it a try. |
I frequently use the header argument
:exports none
for code blocks that I don't want to be exported to LaTeX:But now I face the issue that these bocks are not even exported to ipynb, though they are crucial for running the notebook.
Is it possible to ignore
:exports none
during export to ipynb?The text was updated successfully, but these errors were encountered: