summaryrefslogtreecommitdiff
path: root/docutils/test/test_writers
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2003-06-13 17:40:06 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2003-06-13 17:40:06 +0000
commit1058c1bcb63f928915bc0a6fc98a7734354660fe (patch)
treed4a80c6150bfdb2886ea4c67b6ce71bb4d7ebe3e /docutils/test/test_writers
parentc9a90adeea45cdf1671dadb2184ed6bfa5824f58 (diff)
downloaddocutils-1058c1bcb63f928915bc0a6fc98a7734354660fe.tar.gz
Adapt test to rubric support.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1447 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_writers')
-rw-r--r--docutils/test/test_writers/test_latex2e.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docutils/test/test_writers/test_latex2e.py b/docutils/test/test_writers/test_latex2e.py
index f3779964b..81b2c2e14 100644
--- a/docutils/test/test_writers/test_latex2e.py
+++ b/docutils/test/test_writers/test_latex2e.py
@@ -58,6 +58,9 @@ latex_head = """\
\\setcounter{topnumber}{50}
\\setcounter{bottomnumber}{50}
% end floats for footnotes
+% some commands, that could be overwritten in the style file.
+\\newcommand{\\rubric}[1]{{\\hfill \\color{red}\\bfseries{}#1 \\hfill }}
+% end of "some commands"
\\input{style.tex}
"""