##// END OF EJS Templates
Sphinx templates draw underlaying data from Sphinx classes.
Jonathan Frederic -
Show More
@@ -1,59 +1,60 b''
1 ((============================================================================
1 ((============================================================================
2 NBConvert Sphinx-Latex Template
2 NBConvert Sphinx-Latex Template
3
3
4 Purpose: Allow export of PDF friendly Latex inspired by Sphinx. Most of the
4 Purpose: Allow export of PDF friendly Latex inspired by Sphinx. Most of the
5 template is derived directly from Sphinx source.
5 template is derived directly from Sphinx source.
6
6
7 Inheritance: null>display_priority>latex_base
7 Inheritance: null>display_priority>latex_base
8
8
9 ==========================================================================))
9 ==========================================================================))
10
10
11 ((*- extends 'latex_base.tplx' -*))
11 ((*- extends 'latex_base.tplx' -*))
12
12
13 ((============================================================================
13 ((============================================================================
14 Header, overrides base
14 Header, overrides base
15 ==========================================================================))
15 ==========================================================================))
16 ((* block header *))
16 ((* block header *))
17
17
18 %\newcommand{\sphinxlogo}{}
18 %\newcommand{\sphinxlogo}{}
19
19
20 %% Generated by Sphinx (not really.)
20 %% Generated by Sphinx (not really.)
21 \def\sphinxdocclass{((* block documentclass *))sphinxmanual((* endblock documentclass *))}
21 \def\sphinxdocclass{((* block documentclass *))sphinxmanual((* endblock documentclass *))}
22 \documentclass[letterpaper,10pt,english]{report}
22 \documentclass[letterpaper,10pt,english]{report}
23 \usepackage[utf8]{inputenc} %(inputenc)s
23 \usepackage[utf8]{inputenc} %(inputenc)s
24 \DeclareUnicodeCharacter{00A0}{\\nobreakspace} %(utf8extra)s
24 \DeclareUnicodeCharacter{00A0}{\\nobreakspace} %(utf8extra)s
25 \usepackage[T1]{fontenc} %(fontenc)s
25 \usepackage[T1]{fontenc} %(fontenc)s
26 \usepackage{babel} %(babel)s
26 \usepackage{babel} %(babel)s
27 \usepackage{times} %(fontpkg)s
27 \usepackage{times} %(fontpkg)s
28 \usepackage{import}
28 \usepackage{import}
29 \usepackage[Bjarne]{templates/tex/fncychap}
29 \usepackage[Bjarne]{templates/tex/fncychap}
30 %\usepackage[Bjarne]{} %(fncychap)s
30 %\usepackage[Bjarne]{} %(fncychap)s
31 \usepackage{longtable} %(longtable)s
31 \usepackage{longtable} %(longtable)s
32 \usepackage{templates/tex/sphinx}
32 \usepackage{templates/tex/sphinx}
33 \usepackage{multirow}
33 \usepackage{multirow}
34
34
35 %"" (preamble)s
35 %"" (preamble)s
36
36
37 \title{((( nb.metadata.name )))} %(title)s}
37 \title{((( nb.metadata.name )))} %(title)s}
38 \date{} %(date)s}
38 \date{} %(date)s}
39 \release{} %(release)s}
39 \release{} %(release)s}
40 \author{} %(author)s}
40 \author{} %(author)s}
41 \newcommand{\sphinxlogo}{} %(logo)s}
41 \newcommand{\sphinxlogo}{} %(logo)s}
42 \renewcommand{\releasename}{Release} %(releasename)s}
42 \renewcommand{\releasename}{Release} %(releasename)s}
43 \makeindex %(makeindex)s
43 \makeindex %(makeindex)s
44
44
45 ((* block sphinxstyle *))((* endblock sphinxstyle *))
45 ((* endblock header *))
46 ((* endblock header *))
46
47
47 ((* block body *))
48 ((* block body *))
48 \begin{document}
49 \begin{document}
49 %(shorthandoff)s
50 %(shorthandoff)s
50 \maketitle
51 \maketitle
51 \tableofcontents %(tableofcontents)s
52 \tableofcontents %(tableofcontents)s
52
53
53 \renewcommand{\indexname}{%(indexname)s}
54 \renewcommand{\indexname}{%(indexname)s}
54 \printindex %(printindex)s
55 \printindex %(printindex)s
55 \end{document}
56 \end{document}
56 ((* endblock body *))
57 ((* endblock body *))
57
58
58 ((* block footer *))
59 ((* block footer *))
59 ((* endblock footer *))
60 ((* endblock footer *))
@@ -1,13 +1,16 b''
1 ((============================================================================
1 ((============================================================================
2 NBConvert Sphinx-Latex HowTo Template
2 NBConvert Sphinx-Latex HowTo Template
3
3
4 Purpose: Allow export of PDF friendly Latex inspired by Sphinx HowTo
4 Purpose: Allow export of PDF friendly Latex inspired by Sphinx HowTo
5 document style. Most of the is derived directly from Sphinx source.
5 document style. Most of the is derived directly from Sphinx source.
6
6
7 Inheritance: null>display_priority>latex_base->latex_sphinx_base
7 Inheritance: null>display_priority>latex_base->latex_sphinx_base
8
8
9 ==========================================================================))
9 ==========================================================================))
10
10
11 ((*- extends 'latex_sphinx_base.tplx' -*))
11 ((*- extends 'latex_sphinx_base.tplx' -*))
12
12
13 ((* block documentclass *))sphinxhowto((* endblock documentclass *))
13 ((* block documentclass *))sphinxhowto((* endblock documentclass *))
14 ((* block sphinxstyle *))((* include 'sphinxhowto.cls' *))((* endblock sphinxstyle *))
15
16
@@ -1,13 +1,14 b''
1 ((============================================================================
1 ((============================================================================
2 NBConvert Sphinx-Latex Manual Template
2 NBConvert Sphinx-Latex Manual Template
3
3
4 Purpose: Allow export of PDF friendly Latex inspired by Sphinx Manual
4 Purpose: Allow export of PDF friendly Latex inspired by Sphinx Manual
5 document style. Most of the is derived directly from Sphinx source.
5 document style. Most of the is derived directly from Sphinx source.
6
6
7 Inheritance: null>display_priority>latex_base->latex_sphinx_base
7 Inheritance: null>display_priority>latex_base->latex_sphinx_base
8
8
9 ==========================================================================))
9 ==========================================================================))
10
10
11 ((*- extends 'latex_sphinx_base.tplx' -*))
11 ((*- extends 'latex_sphinx_base.tplx' -*))
12
12
13 ((* block documentclass *))sphinxmanual((* endblock documentclass *))
13 ((* block documentclass *))sphinxmanual((* endblock documentclass *))
14 ((* block sphinxstyle *))((* include 'sphinxmanual.cls' *))((* endblock sphinxstyle *))
General Comments 0
You need to be logged in to leave comments. Login now