Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2@file
3@brief Custom preprocessor,
4see `custom_preprocessor <https://github.com/jupyter/nbconvert-examples/blob/master/custom_preprocessor/>`_
5"""
7# -- HELP BEGIN EXCLUDE --
9try:
10 if c is None:
11 pass
12except NameError:
13 try: # pragma: no cover
14 c = get_config() # pylint: disable=E0601
15 except (ImportError, NameError) as e: # pragma: no cover
16 from traitlets.config import get_config
17 c = get_config()
18c.Exporter.preprocessors = [
19 '_nbconvert_preprocessor.LatexRawOutputPreprocessor'] # pragma: no cover
21# -- HELP END EXCLUDE --