| | |
| | | \definecolor{VerbatimColor}{rgb}{1,1,1} |
| | | \definecolor{VerbatimBorderColor}{rgb}{1,1,1} |
| | | |
| | | % mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch) |
| | | % \makeatletter |
| | | % \renewcommand{\py@noticestart@warning}{\py@heavybox} |
| | | % \renewcommand{\py@noticeend@warning}{\py@endheavybox} |
| | | % \renewcommand{\py@noticestart@note}{\py@heavybox} |
| | | % \renewcommand{\py@noticeend@note}{\py@endheavybox} |
| | | % \makeatother |
| | | |
| | | % icons in note and warning boxes |
| | | \usepackage{ifthen} |
| | | |
| | |
| | | |
| | | latex_elements = { |
| | | 'preamble': _PREAMBLE, |
| | | # mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch) |
| | | # 'wrapperclass': 'book', |
| | | 'date': '', |
| | | 'releasename': 'Version', |
| | | 'title': r'The Pyramid Web Framework', |
| | |
| | | content_offset, block_text, state, state_machine): |
| | | return [nodes.raw( |
| | | '', |
| | | r""" |
| | | % mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch) |
| | | % \frontmatter |
| | | % prevent part/chapter/section numbering |
| | | % \setcounter{secnumdepth}{-2} |
| | | % suppress headers |
| | | % \pagestyle{plain} |
| | | % reset page counter |
| | | % \setcounter{page}{1} |
| | | % suppress first toc pagenum |
| | | % \addtocontents{toc}{\protect\thispagestyle{empty}} |
| | | """, |
| | | format='latex')] |
| | | |
| | | |
| | |
| | | content_offset, block_text, state, state_machine): |
| | | return [nodes.raw( |
| | | '', |
| | | r""" |
| | | % mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch) |
| | | % \mainmatter |
| | | % allow part/chapter/section numbering |
| | | % \setcounter{secnumdepth}{2} |
| | | % get headers back |
| | | % \pagestyle{fancy} |
| | | % \fancyhf{} |
| | | % \renewcommand{\headrulewidth}{0.5pt} |
| | | % \renewcommand{\footrulewidth}{0pt} |
| | | % \fancyfoot[C]{\thepage} |
| | | % \fancyhead[RO]{\rightmark} |
| | | % \fancyhead[LE]{\leftmark} |
| | | """, |
| | | format='latex')] |
| | | |
| | | |
| | |
| | | content_offset, block_text, state, state_machine): |
| | | return [nodes.raw( |
| | | '', |
| | | r""" |
| | | % mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch) |
| | | % \backmatter |
| | | % \setcounter{secnumdepth}{-1} |
| | | """, |
| | | format='latex')] |
| | | |
| | | |