Using IPyPublish
Sphinx Extensions
Additional Information
Validation Schemas
ipypublish.preprocessors.latex_doc_captions.
LatexCaptions
Bases: nbconvert.preprocessors.base.Preprocessor
nbconvert.preprocessors.base.Preprocessor
a preprocessor to:
find cells with a ipub.caption meta-tag, extract the caption and label to a dict and remove the cell
find cells with the found labels and replace their captions
add_prefix
A boolean (True, False) trait.
preprocess
Preprocessing to apply on each notebook.
Must return modified nb, resources.
If you wish to apply your preprocessing to each cell, you might want to override preprocess_cell method instead.
nb (NotebookNode) – Notebook being converted
resources (dictionary) – Additional resources used in the conversion process. Allows preprocessors to pass variables into the Jinja engine.