diff options
Diffstat (limited to 'docutils/test')
| -rw-r--r-- | docutils/test/functional/expected/standalone_rst_latex.tex | 9 | ||||
| -rw-r--r-- | docutils/test/functional/expected/standalone_rst_xetex.tex | 9 | ||||
| -rwxr-xr-x | docutils/test/test_writers/test_latex2e.py | 2 |
3 files changed, 9 insertions, 11 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex index ab1402f9c..73cbbf004 100644 --- a/docutils/test/functional/expected/standalone_rst_latex.tex +++ b/docutils/test/functional/expected/standalone_rst_latex.tex @@ -152,8 +152,7 @@ }{} % rubric (informal heading) -\providecommand*{\DUrubric}[1]{% - \subsubsection*{\centering\textit{\textmd{#1}}}} +\providecommand*{\DUrubric}[1]{\subsubsection*{\emph{#1}}} % sidebar (text outside the main text flow) \providecommand{\DUsidebar}[1]{% @@ -205,7 +204,7 @@ \title{reStructuredText Test Document% \label{restructuredtext-test-document}% \label{doctitle}% - \\ % subtitle% + \\% \DUdocumentsubtitle{Examples of Syntax Constructs}% \label{examples-of-syntax-constructs}% \label{subtitle}} @@ -1203,9 +1202,9 @@ You can make up your own admonition too. \emph{Sidebars} are like miniature, parallel documents. \DUsidebar{ -\DUtitle[title]{Sidebar Title} +\DUtitle[sidebar]{Sidebar Title} -\DUsubtitle[sidebar]{Optional Subtitle} +\DUsubtitle{Optional Subtitle} This is a sidebar. It is for text outside the flow of the main text. diff --git a/docutils/test/functional/expected/standalone_rst_xetex.tex b/docutils/test/functional/expected/standalone_rst_xetex.tex index 18e148bd9..99ea92ef8 100644 --- a/docutils/test/functional/expected/standalone_rst_xetex.tex +++ b/docutils/test/functional/expected/standalone_rst_xetex.tex @@ -154,8 +154,7 @@ % rubric (informal heading) -\providecommand*{\DUrubric}[1]{% - \subsubsection*{\centering\textit{\textmd{#1}}}} +\providecommand*{\DUrubric}[1]{\subsubsection*{\emph{#1}}} % sidebar (text outside the main text flow) \providecommand{\DUsidebar}[1]{% @@ -204,7 +203,7 @@ \title{reStructuredText Test Document% \label{restructuredtext-test-document}% \label{doctitle}% - \\ % subtitle% + \\% \DUdocumentsubtitle{Examples of Syntax Constructs}% \label{examples-of-syntax-constructs}% \label{subtitle}} @@ -1205,9 +1204,9 @@ You can make up your own admonition too. \emph{Sidebars} are like miniature, parallel documents. \DUsidebar{ -\DUtitle[title]{Sidebar Title} +\DUtitle[sidebar]{Sidebar Title} -\DUsubtitle[sidebar]{Optional Subtitle} +\DUsubtitle{Optional Subtitle} This is a sidebar. It is for text outside the flow of the main text. diff --git a/docutils/test/test_writers/test_latex2e.py b/docutils/test/test_writers/test_latex2e.py index 1c705feb7..9208bb73e 100755 --- a/docutils/test/test_writers/test_latex2e.py +++ b/docutils/test/test_writers/test_latex2e.py @@ -929,7 +929,7 @@ head_template.substitute(dict(parts, } """, titledata=r"""\title{This is the \emph{Title}% \label{this-is-the-title}% - \\ % subtitle% + \\% \DUdocumentsubtitle{This is the \emph{Subtitle}}% \label{this-is-the-subtitle}} \author{} |
