ipypublish.preprocessors.latex_doc_links module¶
-
class
ipypublish.preprocessors.latex_doc_links.
LatexDocLinks
(**kw)[source]¶ Bases:
nbconvert.preprocessors.base.Preprocessor
a preprocessor to resolve file paths in the ipub metadata section
retrieve external file paths from metadata, resolve where they are, if the path is relative make sure that the link points to a single folder add ‘external_file_paths’ and ‘bibliopath’ (if present) to resources
-
filesfolder
¶ A trait for unicode strings.
-
metapath
¶ A trait for unicode strings.
-
preprocess
(nb, resources)[source]¶ 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.
Parameters: - nb (NotebookNode) – Notebook being converted
- resources (dictionary) – Additional resources used in the conversion process. Allows preprocessors to pass variables into the Jinja engine.
-