jupyter-book: PDF's do not respect hidden cells
If you use hide-cell, the cell does not show up in the HTML version, but does show up in both the LaTeX and HTML based PDFs.
The new version is fantastic, by the way!..
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 23 (16 by maintainers)
ah yes - I think that particular feature hasn’t yet made its way into the Latex builder (cc @mmcky )
For the HTML builder - hmm I hadn’t thought about the best way to handle that. It’s a bit tricky going from interactive -> static PDF gracefully. So you’d expect a “hidden” cell (w/ a toggle button) to be removed in the final PDF?
And thanks 😃
@mmcky I think that’s reasonable. I will go ahead and merge it.
@AakashGfude given
juptyerbook-latexis still in development – I think you can merge that branch into master to set that extension up. We can add new features and bug fixes via PR. It will make initial testing a bit easier. We should also addinstallinstructions to the README while it is not available viapipwhat do you think?
@amichuda – @AakashGfude is starting to look into this also and plans to make some headway for improvements to
latexin jupyterbook-latex repo to holdtransformsneeded to improve latex support. So it would be great to work with you on this. (Currently that repo is empty but is a placeholder for work to be done on this).As a starting guide to learn about
sphinx transformsis in the developing extensions guide which gives you an overview ofsphinx. There isn’t much documentation ontransformsandpost-transforms. The application interface is here and the actual code is well organised insphinxrepo.