Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: nbconvert.preprocessors.latex¶
Module that allows latex output notebooks to be conditioned before they are converted.
1 Class¶
-
class
IPython.nbconvert.preprocessors.latex.LatexPreprocessor(**kw)¶ Bases:
IPython.nbconvert.preprocessors.base.PreprocessorPreprocessor for latex destined documents.
Mainly populates the
latexkey in the resources dict, adding definitions for pygments highlight styles.-
preprocess(nb, resources)¶ Preprocessing to apply on each notebook.
Parameters: nb : NotebookNode
Notebook being converted
resources : dictionary
Additional resources used in the conversion process. Allows preprocessors to pass variables into the Jinja engine.
-
