##// END OF EJS Templates
Renamed latex_sphinx to latex_sphinx_base
Renamed latex_sphinx to latex_sphinx_base

File last commit:

r9741:364adc3b
r9741:364adc3b
Show More
latex_sphinx_base.tplx
59 lines | 1.7 KiB | text/plain | TextLexer
/ templates / tex / latex_sphinx_base.tplx
Jonathan Frederic
Added document level description and cleaned template up....
r9735 ((============================================================================
NBConvert Sphinx-Latex Template
Purpose: Allow export of PDF friendly Latex inspired by Sphinx. Most of the
template is derived directly from Sphinx source.
Inheritance: null>display_priority>latex_base
==========================================================================))
Jonathan Frederic
Added basic Sphinx template....
r9734 ((*- extends 'latex_base.tplx' -*))
Jonathan Frederic
Added document level description and cleaned template up....
r9735 ((============================================================================
Header, overrides base
==========================================================================))
Jonathan Frederic
Added basic Sphinx template....
r9734 ((* block header *))
Jonathan Frederic
Added document level description and cleaned template up....
r9735
Jonathan Frederic
Got pdflatex to work on this empty sphinx styled template.
r9740 %\newcommand{\sphinxlogo}{}
Jonathan Frederic
Added document level description and cleaned template up....
r9735
%% Generated by Sphinx (not really.)
Jonathan Frederic
Got pdflatex to work on this empty sphinx styled template.
r9740 \def\sphinxdocclass{((* block documentclass *))sphinxmanual((* endblock documentclass *))}
\documentclass[letterpaper,10pt,english]{report}
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 \usepackage[utf8]{inputenc} %(inputenc)s
\DeclareUnicodeCharacter{00A0}{\\nobreakspace} %(utf8extra)s
\usepackage[T1]{fontenc} %(fontenc)s
\usepackage{babel} %(babel)s
\usepackage{times} %(fontpkg)s
Jonathan Frederic
Got pdflatex to work on this empty sphinx styled template.
r9740 \usepackage{import}
\usepackage[Bjarne]{templates/tex/fncychap}
%\usepackage[Bjarne]{} %(fncychap)s
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 \usepackage{longtable} %(longtable)s
\usepackage{templates/tex/sphinx}
Jonathan Frederic
Added document level description and cleaned template up....
r9735 \usepackage{multirow}
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 %"" (preamble)s
Jonathan Frederic
Got pdflatex to work on this empty sphinx styled template.
r9740 \title{((( nb.metadata.name )))} %(title)s}
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 \date{} %(date)s}
\release{} %(release)s}
\author{} %(author)s}
\newcommand{\sphinxlogo}{} %(logo)s}
\renewcommand{\releasename}{Release} %(releasename)s}
\makeindex %(makeindex)s
Jonathan Frederic
Added document level description and cleaned template up....
r9735
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 ((* endblock header *))
Jonathan Frederic
Added basic Sphinx template....
r9734
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 ((* block body *))
Jonathan Frederic
Got pdflatex to work on this empty sphinx styled template.
r9740 \begin{document}
%(shorthandoff)s
\maketitle
\tableofcontents %(tableofcontents)s
\renewcommand{\indexname}{%(indexname)s}
\printindex %(printindex)s
\end{document}
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 ((* endblock body *))
Jonathan Frederic
Added basic Sphinx template....
r9734
Jonathan Frederic
Made significant improvements to the Sphinx-Latex export...
r9736 ((* block footer *))
((* endblock footer *))