summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-04-02 14:48:31 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-04-02 14:48:31 +0000
commit722f146502076a08d63a6b145f379f4ef22cbfc9 (patch)
tree99924f76da16f545e57a6fd3e5a8f40ebc81b580 /docutils/test/functional/expected
parent6bc40534d02d737e2c1e9f13a3d7f16074cf85ff (diff)
downloaddocutils-722f146502076a08d63a6b145f379f4ef22cbfc9.tar.gz
Add custom role test to functional latex.
Apply custom role with class patch from Edward Loper. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4493 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected')
-rw-r--r--docutils/test/functional/expected/standalone_rst_latex.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex
index 4e3b7d020..f37b8dd63 100644
--- a/docutils/test/functional/expected/standalone_rst_latex.tex
+++ b/docutils/test/functional/expected/standalone_rst_latex.tex
@@ -222,6 +222,8 @@ reStructuredText construct.
\item {} \href{\#various-non-ascii-characters}{3.2~~~Various non-ASCII characters}
+\item {} \href{\#custom-roles}{3.3~~~Custom Roles}
+
\end{list}
\item {} \href{\#error-handling}{4~~~Error Handling}
@@ -1523,6 +1525,30 @@ X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~X~
%___________________________________________________________________________
+\hypertarget{custom-roles}{}
+\pdfbookmark[1]{3.3~~~Custom Roles}{custom-roles}
+\subsection*{3.3~~~Custom Roles}
+\begin{itemize}
+\item {}
+A role based on an existing role.
+
+\texttt{one} \texttt{two} \texttt{three}
+
+\item {}
+A new role.
+
+\docutilsrolecustomnew{one two three}
+
+\item {}
+A role with class attribute.
+
+\docutilsrolespecial{interpreted text}
+
+\end{itemize}
+
+
+%___________________________________________________________________________
+
\hypertarget{error-handling}{}
\pdfbookmark[0]{4~~~Error Handling}{error-handling}
\section*{4~~~Error Handling}