summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected/standalone_rst_latex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/test/functional/expected/standalone_rst_latex.tex')
-rw-r--r--docutils/test/functional/expected/standalone_rst_latex.tex84
1 files changed, 42 insertions, 42 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex
index 026b75a7d..0654c772e 100644
--- a/docutils/test/functional/expected/standalone_rst_latex.tex
+++ b/docutils/test/functional/expected/standalone_rst_latex.tex
@@ -347,17 +347,17 @@ A paragraph.
Paragraphs contain text and may contain inline markup: \emph{emphasis},
\textbf{strong emphasis}, \texttt{inline literals}, standalone hyperlinks
-(\url{http://www.python.org}), external hyperlinks (\href{http://www.python.org/}{Python}\DUfootnotemark{id30}{id29}{5}), internal
+(\url{http://www.python.org}), external hyperlinks (\href{http://www.python.org/}{Python}\DUfootnotemark{footnote-reference-10}{footnote-6}{5}), internal
cross-references (\hyperref[example]{example}), external hyperlinks with embedded URIs
(\href{http://www.python.org}{Python web site}), \href{http://www.python.org/}{anonymous hyperlink
-references}\DUfootnotemark{id38}{id29}{5} (\href{http://docutils.sourceforge.net/}{a second reference}\DUfootnotemark{id40}{id39}{8}), footnote references (manually
-numbered\DUfootnotemark{id1}{id8}{1}, anonymous auto-numbered\DUfootnotemark{id2}{id12}{3}, labeled auto-numbered\DUfootnotemark{id3}{label}{2}, or symbolic\DUfootnotemark{id4}{id13}{*}), citation references (\hyperlink{cit2002}{[CIT2002]}),
+references}\DUfootnotemark{footnote-reference-16}{footnote-6}{5} (\href{http://docutils.sourceforge.net/}{a second reference}\DUfootnotemark{footnote-reference-17}{footnote-9}{8}), footnote references (manually
+numbered\DUfootnotemark{footnote-reference-1}{footnote-1}{1}, anonymous auto-numbered\DUfootnotemark{footnote-reference-2}{footnote-2}{3}, labeled auto-numbered\DUfootnotemark{footnote-reference-3}{label}{2}, or symbolic\DUfootnotemark{footnote-reference-4}{footnote-3}{*}), citation references (\hyperlink{cit2002}{[CIT2002]}),
substitution references (\includegraphics{../../../docs/user/rst/images/biohazard.png} \&
a \emph{trimmed heart} \texttt{(U+2665):}\ding{170}), and %
\phantomsection\label{inline-hyperlink-targets}inline hyperlink targets
(see \hyperref[targets]{Targets} below for a reference back to here). Character-level
inline markup is also possible (although exceedingly ugly!) in \emph{re}\texttt{Structured}\emph{Text}. Problems are indicated by %
-\raisebox{1em}{\hypertarget{id28}{}}\hyperlink{id27}{\textbf{\color{red}|problematic|}} text
+\raisebox{1em}{\hypertarget{problematic-1}{}}\hyperlink{system-message-1}{\textbf{\color{red}|problematic|}} text
(generated by processing errors; this one is intentional). Here is a
reference to the \hyperref[doctitle]{doctitle} and the \hyperref[subtitle]{subtitle}.
@@ -722,21 +722,21 @@ Python-specific usage examples; begun with ">>>"
\label{footnotes}%
}
%
-\DUfootnotetext{id8}{id1}{1}{%
+\DUfootnotetext{footnote-1}{footnote-reference-1}{1}{%
A footnote contains body elements, consistently indented by at
least 3 spaces.
This is the footnote’s second paragraph.
}
%
-\DUfootnotetext{label}{id3}{2}{\phantomsection\label{label}%
-Footnotes may be numbered, either manually (as in\DUfootnotemark{id9}{id8}{1}) or
+\DUfootnotetext{label}{footnote-reference-3}{2}{\phantomsection\label{label}%
+Footnotes may be numbered, either manually (as in\DUfootnotemark{footnote-reference-5}{footnote-1}{1}) or
automatically using a “\#”-prefixed label. This footnote has a
label so it can be referred to from multiple places, both as a
-footnote reference (\DUfootnotemark{id10}{label}{2}) and as a \hyperref[label]{hyperlink reference}.
+footnote reference (\DUfootnotemark{footnote-reference-6}{label}{2}) and as a \hyperref[label]{hyperlink reference}.
}
%
-\DUfootnotetext{id12}{id2}{3}{%
+\DUfootnotetext{footnote-2}{footnote-reference-2}{3}{%
This footnote is numbered automatically and anonymously using a
label of “\#” only.
@@ -745,19 +745,19 @@ This is the second paragraph.
And this is the third paragraph.
}
%
-\DUfootnotetext{id13}{id4}{*}{%
+\DUfootnotetext{footnote-3}{footnote-reference-4}{*}{%
Footnotes may also use symbols, specified with a “*” label.
-Here’s a reference to the next footnote:\DUfootnotemark{id14}{id15}{†}.
+Here’s a reference to the next footnote:\DUfootnotemark{footnote-reference-7}{footnote-4}{†}.
}
%
-\DUfootnotetext{id15}{id14}{†}{%
+\DUfootnotetext{footnote-4}{footnote-reference-7}{†}{%
This footnote shows the next symbol in the sequence.
}
%
-\DUfootnotetext{id16}{id16}{4}{%
+\DUfootnotetext{footnote-5}{footnote-5}{4}{%
Here’s an unreferenced footnote, with a reference to a
nonexistent footnote:%
-\raisebox{1em}{\hypertarget{id17}{}}\hyperlink{id45}{\textbf{\color{red}{[}5{]}\_}}.
+\raisebox{1em}{\hypertarget{footnote-reference-8}{}}\hyperlink{system-message-2}{\textbf{\color{red}{[}5{]}\_}}.
}
@@ -770,7 +770,7 @@ rendered separately and differently from footnotes.
\end{figure}
Here’s a reference to the above, \hyperlink{cit2002}{[CIT2002]}, and a %
-\raisebox{1em}{\hypertarget{id19}{}}\hyperlink{id46}{\textbf{\color{red}{[}nonexistent{]}\_}}
+\raisebox{1em}{\hypertarget{citation-reference-3}{}}\hyperlink{system-message-3}{\textbf{\color{red}{[}nonexistent{]}\_}}
citation.
@@ -788,13 +788,13 @@ Section headers are implicit targets, referred to by name. See
\hyperref[targets]{Targets}, which is a subsection of \hyperref[body-elements]{Body Elements}.
Explicit external targets are interpolated into references such as
-“\href{http://www.python.org/}{Python}\DUfootnotemark{id31}{id29}{5}”.
+“\href{http://www.python.org/}{Python}\DUfootnotemark{footnote-reference-11}{footnote-6}{5}”.
Targets may be indirect and anonymous. Thus \hyperref[targets]{this phrase} may also
refer to the \hyperref[targets]{Targets} section.
Here’s a %
-\raisebox{1em}{\hypertarget{id48}{}}\hyperlink{id47}{\textbf{\color{red}`hyperlink reference without a target`\_}}, which generates an
+\raisebox{1em}{\hypertarget{problematic-2}{}}\hyperlink{system-message-4}{\textbf{\color{red}`hyperlink reference without a target`\_}}, which generates an
error.
@@ -808,13 +808,13 @@ explicit targets will generate “warning” (level-2) system messages.
\subsubsection{2.13.2   Duplicate Target Names%
- \label{id21}%
+ \label{duplicate-target-names-1}%
}
Since there are two “Duplicate Target Names” section headers, we
cannot uniquely refer to either of them by name. If we try to (like
this: %
-\raisebox{1em}{\hypertarget{id50}{}}\hyperlink{id49}{\textbf{\color{red}`Duplicate Target Names`\_}}), an error is generated.
+\raisebox{1em}{\hypertarget{problematic-3}{}}\hyperlink{system-message-5}{\textbf{\color{red}`Duplicate Target Names`\_}}), an error is generated.
\subsection{2.14   Directives%
@@ -1241,23 +1241,23 @@ allowed (e.g. inside a directive).
\label{target-footnotes}%
}
%
-\DUfootnotetext{id29}{id30}{5}{%
+\DUfootnotetext{footnote-6}{footnote-reference-10}{5}{%
\url{http://www.python.org/}
}
%
-\DUfootnotetext{id33}{id34}{6}{%
+\DUfootnotetext{footnote-7}{footnote-reference-13}{6}{%
\url{http://pygments.org/}
}
%
-\DUfootnotetext{id35}{id36}{7}{%
+\DUfootnotetext{footnote-8}{footnote-reference-14}{7}{%
\url{ftp://ftp.ams.org/ams/doc/amsmath/short-math-guide.pdf}
}
%
-\DUfootnotetext{id39}{id40}{8}{%
+\DUfootnotetext{footnote-9}{footnote-reference-17}{8}{%
\url{http://docutils.sourceforge.net/}
}
%
-\DUfootnotetext{id41}{id42}{9}{%
+\DUfootnotetext{footnote-10}{footnote-reference-18}{9}{%
\url{A:DOS\\path\\}
}
@@ -1266,7 +1266,7 @@ allowed (e.g. inside a directive).
\label{replacement-text}%
}
-I recommend you try \href{http://www.python.org/}{Python, \emph{the} best language around}\DUfootnotemark{id32}{id29}{5}.
+I recommend you try \href{http://www.python.org/}{Python, \emph{the} best language around}\DUfootnotemark{footnote-reference-12}{footnote-6}{5}.
\subsubsection{2.14.7   Compound Paragraph%
@@ -1418,7 +1418,7 @@ This~is~a~parsed~literal~block.\\
Inline~markup~is~supported,~e.g.~\emph{emphasis},~\textbf{strong},~\texttt{literal\\
text},~\textsubscript{sub-}~and~\textsuperscript{super}scripts,\\
inline~formulas:~$A = 2 \pi r^2$,\\
-footnotes\DUfootnotemark{id22}{id8}{1},~%
+footnotes\DUfootnotemark{footnote-reference-9}{footnote-1}{1},~%
\phantomsection\label{hyperlink-targets}hyperlink~targets,~and~\href{http://www.python.org/}{references}.
\end{quote}
@@ -1428,7 +1428,7 @@ footnotes\DUfootnotemark{id22}{id8}{1},~%
}
Blocks of source code can be set with the \DUroletitlereference{code} directive. If the code
-language is specified, the content is parsed and tagged by the \href{http://pygments.org/}{Pygments}\DUfootnotemark{id34}{id33}{6}
+language is specified, the content is parsed and tagged by the \href{http://pygments.org/}{Pygments}\DUfootnotemark{footnote-reference-13}{footnote-7}{6}
syntax highlighter and can be formatted with a style sheet. (Code parsing
is turned off using the \texttt{syntax-highlight} config setting in the test
conversions in order to get identical results with/without installed
@@ -1896,7 +1896,7 @@ Modulation Transfer Function:
\right).
\end{equation*}
Math split over two lines: If a double backslash is detected outside a
-\texttt{\textbackslash{}begin\{...\} \textbackslash{}end\{...\}} pair, the math code is wrapped in an \href{ftp://ftp.ams.org/ams/doc/amsmath/short-math-guide.pdf}{AMSmath}\DUfootnotemark{id36}{id35}{7}
+\texttt{\textbackslash{}begin\{...\} \textbackslash{}end\{...\}} pair, the math code is wrapped in an \href{ftp://ftp.ams.org/ams/doc/amsmath/short-math-guide.pdf}{AMSmath}\DUfootnotemark{footnote-reference-14}{footnote-8}{7}
\texttt{align} environment:
%
\begin{align*}
@@ -1911,7 +1911,7 @@ Cases (“manually”, with \texttt{matrix} environment):
1 & x>0
\end{matrix}\right.
\end{equation*}
-Cases with the \href{ftp://ftp.ams.org/ams/doc/amsmath/short-math-guide.pdf}{AMSmath}\DUfootnotemark{id37}{id35}{7} \texttt{cases} environment (not (yet) supported by
+Cases with the \href{ftp://ftp.ams.org/ams/doc/amsmath/short-math-guide.pdf}{AMSmath}\DUfootnotemark{footnote-reference-15}{footnote-8}{7} \texttt{cases} environment (not (yet) supported by
HTML writers with \texttt{-{}-math-output=MathML}):
%
\begin{equation*}
@@ -2177,7 +2177,7 @@ third paragraph \\
\subsection{3.4   Option lists%
- \label{id23}%
+ \label{option-lists-1}%
}
The LaTeX-2e description environment is used for definition lists.
@@ -2758,7 +2758,7 @@ Handling by the LaTeX writer:
\url{http://www.w3.org/XML/Schema\#dev}
\item[] \href{http://www.w3.org/XML/Schema\%dev}{URL with \%}
\url{http://example.org/Schema\%dev}
-\item[] \href{A:DOS\\path\\}{file with DOS path}\DUfootnotemark{id42}{id41}{9} \url{A:DOS\\path\\}\DUfootnotemark{id43}{id41}{9}
+\item[] \href{A:DOS\\path\\}{file with DOS path}\DUfootnotemark{footnote-reference-18}{footnote-10}{9} \url{A:DOS\\path\\}\DUfootnotemark{footnote-reference-19}{footnote-10}{9}
\end{DUlineblock}
\DUadmonition[note]{
@@ -2769,7 +2769,7 @@ These URLs are typeset inside a LaTeX command without error.
\begin{DUlineblock}{0em}
\item[] \url{http://www.w3.org/XML/Schema\#dev}
\item[] \url{http://example.org/Schema\%dev}
-\item[] \url{A:DOS\\path\\}\DUfootnotemark{id44}{id41}{9}
+\item[] \url{A:DOS\\path\\}\DUfootnotemark{footnote-reference-20}{footnote-10}{9}
\end{DUlineblock}
}
\end{itemize}
@@ -2872,51 +2872,51 @@ section, “Docutils System Messages”:
\DUadmonition[system-message]{
\DUtitle[system-message]{system-message}
-\raisebox{1em}{\hypertarget{id27}{}}
+\raisebox{1em}{\hypertarget{system-message-1}{}}
{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~104
-\hyperlink{id28}{
+\hyperlink{problematic-1}{
Undefined substitution referenced: \textquotedbl{}problematic\textquotedbl{}.
}}
\DUadmonition[system-message]{
\DUtitle[system-message]{system-message}
-\raisebox{1em}{\hypertarget{id45}{}}
+\raisebox{1em}{\hypertarget{system-message-2}{}}
{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~392
-\hyperlink{id17}{
+\hyperlink{footnote-reference-8}{
Unknown target name: \textquotedbl{}5\textquotedbl{}.
}}
\DUadmonition[system-message]{
\DUtitle[system-message]{system-message}
-\raisebox{1em}{\hypertarget{id46}{}}
+\raisebox{1em}{\hypertarget{system-message-3}{}}
{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~401
-\hyperlink{id19}{
+\hyperlink{citation-reference-3}{
Unknown target name: \textquotedbl{}nonexistent\textquotedbl{}.
}}
\DUadmonition[system-message]{
\DUtitle[system-message]{system-message}
-\raisebox{1em}{\hypertarget{id47}{}}
+\raisebox{1em}{\hypertarget{system-message-4}{}}
{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~428
-\hyperlink{id48}{
+\hyperlink{problematic-2}{
Unknown target name: \textquotedbl{}hyperlink reference without a target\textquotedbl{}.
}}
\DUadmonition[system-message]{
\DUtitle[system-message]{system-message}
-\raisebox{1em}{\hypertarget{id49}{}}
+\raisebox{1em}{\hypertarget{system-message-5}{}}
{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~441
-\hyperlink{id50}{
+\hyperlink{problematic-3}{
Duplicate target name, cannot be used as a unique reference: \textquotedbl{}duplicate target names\textquotedbl{}.
}}