Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Exporter that allows Latex Jinja templates to work. Contains logic to appropriately prepare IPYNB files for export to LaTeX. Including but not limited to escaping LaTeX, fixing math region tags, using special tags to circumvent Jinja/Latex syntax conflicts.
Bases: IPython.nbconvert.exporters.exporter.Exporter
Exports to a Latex template. Inherit from this class if your template is LaTeX based and you need custom tranformers/filters. Inherit from it if you are writing your own HTML template and need custom tranformers/filters. If you don’t need custom tranformers/filters, just change the ‘template_file’ config option. Place your template in the special “/latex” subfolder of the ”../templates” folder.