Show More
@@ -0,0 +1,10 b'' | |||||
|
1 | c = get_config() | |||
|
2 | ||||
|
3 | c.ConverterTemplate.extract_figures=True | |||
|
4 | c.ConverterTemplate.template_file='latex_sphinx_howto' | |||
|
5 | c.ConverterTemplate.tex_environement=True | |||
|
6 | c.NbconvertApp.fileext='tex' | |||
|
7 | c.NbconvertApp.write=True | |||
|
8 | ||||
|
9 | c.ExtractFigureTransformer.extra_ext_map={'svg':'pdf'} | |||
|
10 | c.ExtractFigureTransformer.enabled=True |
@@ -0,0 +1,10 b'' | |||||
|
1 | c = get_config() | |||
|
2 | ||||
|
3 | c.ConverterTemplate.extract_figures=True | |||
|
4 | c.ConverterTemplate.template_file='latex_sphinx_manual' | |||
|
5 | c.ConverterTemplate.tex_environement=True | |||
|
6 | c.NbconvertApp.fileext='tex' | |||
|
7 | c.NbconvertApp.write=True | |||
|
8 | ||||
|
9 | c.ExtractFigureTransformer.extra_ext_map={'svg':'pdf'} | |||
|
10 | c.ExtractFigureTransformer.enabled=True |
@@ -0,0 +1,13 b'' | |||||
|
1 | ((============================================================================ | |||
|
2 | NBConvert Sphinx-Latex HowTo Template | |||
|
3 | ||||
|
4 | Purpose: Allow export of PDF friendly Latex inspired by Sphinx HowTo | |||
|
5 | document style. Most of the is derived directly from Sphinx source. | |||
|
6 | ||||
|
7 | Inheritance: null>display_priority>latex_base->latex_sphinx_base | |||
|
8 | ||||
|
9 | ==========================================================================)) | |||
|
10 | ||||
|
11 | ((*- extends 'latex_sphinx_base.tplx' -*)) | |||
|
12 | ||||
|
13 | ((* block documentclass *))sphinxhowto((* endblock documentclass *)) |
@@ -0,0 +1,13 b'' | |||||
|
1 | ((============================================================================ | |||
|
2 | NBConvert Sphinx-Latex Manual Template | |||
|
3 | ||||
|
4 | Purpose: Allow export of PDF friendly Latex inspired by Sphinx Manual | |||
|
5 | document style. Most of the is derived directly from Sphinx source. | |||
|
6 | ||||
|
7 | Inheritance: null>display_priority>latex_base->latex_sphinx_base | |||
|
8 | ||||
|
9 | ==========================================================================)) | |||
|
10 | ||||
|
11 | ((*- extends 'latex_sphinx_base.tplx' -*)) | |||
|
12 | ||||
|
13 | ((* block documentclass *))sphinxmanual((* endblock documentclass *)) |
@@ -1,10 +1,10 b'' | |||||
1 | c = get_config() |
|
1 | c = get_config() | |
2 |
|
2 | |||
3 | c.ConverterTemplate.extract_figures=True |
|
3 | c.ConverterTemplate.extract_figures=True | |
4 | c.ConverterTemplate.template_file='latex_sphinx' |
|
4 | c.ConverterTemplate.template_file='latex_sphinx_base' | |
5 | c.ConverterTemplate.tex_environement=True |
|
5 | c.ConverterTemplate.tex_environement=True | |
6 | c.NbconvertApp.fileext='tex' |
|
6 | c.NbconvertApp.fileext='tex' | |
7 | c.NbconvertApp.write=True |
|
7 | c.NbconvertApp.write=True | |
8 |
|
8 | |||
9 | c.ExtractFigureTransformer.extra_ext_map={'svg':'pdf'} |
|
9 | c.ExtractFigureTransformer.extra_ext_map={'svg':'pdf'} | |
10 | c.ExtractFigureTransformer.enabled=True |
|
10 | c.ExtractFigureTransformer.enabled=True |
General Comments 0
You need to be logged in to leave comments.
Login now