| 1 |
|
| 2 |
test_source = "latex_literal_block.rst" |
| 3 |
test_destination = "latex_literal_block_listings.tex" |
| 4 |
|
| 5 |
|
| 6 |
writer = "latex" |
| 7 |
settings_overrides = { |
| 8 |
'stylesheet': 'docutils', |
| 9 |
'legacy_column_widths': True, |
| 10 |
'use_latex_citations': False, |
| 11 |
'literal_block_env': 'lstlisting', |
| 12 |
'latex_preamble': r""" |
| 13 |
% PDF Standard Fonts |
| 14 |
\usepackage{mathptmx} % Times |
| 15 |
\usepackage[scaled=.90]{helvet} |
| 16 |
\usepackage{courier} |
| 17 |
% LaTeX syntax highlight with "listings": |
| 18 |
\lstloadlanguages{[LaTeX]TeX} % comma separated list of languages |
| 19 |
\newcommand{\DUCLASSlatex}{\lstset{language=[LaTeX]TeX}} |
| 20 |
""", |
| 21 |
} |