summaryrefslogtreecommitdiff
path: root/docutils/test/functional
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-11-28 15:18:45 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-11-28 15:18:45 +0000
commit895fa6acbed785bda9f64813095207c03037e259 (patch)
tree68c582a3521f1bf3286f472ba3e409ddad0c11d9 /docutils/test/functional
parentb51b174915144f71c2a716a4c1a65fd8ba6c7f23 (diff)
downloaddocutils-895fa6acbed785bda9f64813095207c03037e259.tar.gz
Fix: output hypertargets
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4819 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional')
-rw-r--r--docutils/test/functional/expected/standalone_rst_latex.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex
index efcbb0d8a..dabeac688 100644
--- a/docutils/test/functional/expected/standalone_rst_latex.tex
+++ b/docutils/test/functional/expected/standalone_rst_latex.tex
@@ -127,9 +127,9 @@ reStructuredText construct.
% This is a comment. Note how any initial comments are moved by
% transforms to after the document title, subtitle, and docinfo.
-% Above is the document title, and below is the subtitle.
+\hypertarget{doctitle}{}% Above is the document title, and below is the subtitle.
% They are transformed from section titles after parsing.
-% bibliographic fields (which also require a transform):
+\hypertarget{subtitle}{}% bibliographic fields (which also require a transform):
\hypertarget{table-of-contents}{}
\pdfbookmark[0]{Table of Contents}{table-of-contents}
\subsubsection*{~\hfill Table of Contents\hfill ~}
@@ -774,7 +774,7 @@ rendered separately and differently from footnotes.
Here's a reference to the above, [\hyperlink{cit2002}{CIT2002}], and a {\color{red}\bfseries{}{[}nonexistent{]}{\_}}
citation.
-
+\hypertarget{another-target}{}
%___________________________________________________________________________
@@ -783,7 +783,7 @@ citation.
\pdfbookmark[1]{2.13~~~Targets}{targets}
\pdfbookmark[1]{2.13~~~Targets}{another-target}
\subsection*{2.13~~~Targets}
-
+\hypertarget{example}{}
This paragraph is pointed to by the explicit ``example'' target. A
reference can be found under \href{\#inline-markup}{Inline Markup}, above. \href{\#inline-hyperlink-targets}{Inline
hyperlink targets} are also possible.
@@ -796,7 +796,7 @@ Explicit external targets are interpolated into references such as
Targets may be indirect and anonymous. Thus \href{\#id22}{this phrase} may also
refer to the \href{\#id22}{Targets} section.
-
+\hypertarget{id22}{}
Here's a {\color{red}\bfseries{}`hyperlink reference without a target`{\_}}, which generates an
error.
@@ -873,7 +873,7 @@ document (a document-wide \href{\#table-of-contents}{table of contents}).
An image directive (also clickable -{}- a hyperlink reference):
\href{\#directives}{\includegraphics{../../../docs/user/rst/images/title.png}}
Image with multiple IDs:
-
+\hypertarget{image-target-1}{}\hypertarget{image-target-2}{}\hypertarget{image-target-3}{}
\includegraphics{../../../docs/user/rst/images/title.png}
A centered image: