diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-09-28 10:51:11 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-09-28 10:51:11 +0000 |
| commit | d1a332cc00a1b10df4c2b8fa6efdd3ca79dbf763 (patch) | |
| tree | 8a63e8832be3b635058bf2f5313c8024f2ecb53e /docutils/test/functional/input/data | |
| parent | f917adfda4d59206e27f5f7b7925a1b4610ca131 (diff) | |
| download | docutils-d1a332cc00a1b10df4c2b8fa6efdd3ca79dbf763.tar.gz | |
Fix hyper-targets in captions, support custom roles based on "raw".
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6145 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data')
| -rw-r--r-- | docutils/test/functional/input/data/hyperlinking.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docutils/test/functional/input/data/hyperlinking.txt b/docutils/test/functional/input/data/hyperlinking.txt new file mode 100644 index 000000000..495f4b34f --- /dev/null +++ b/docutils/test/functional/input/data/hyperlinking.txt @@ -0,0 +1,23 @@ +Hyperlinks and -targets +----------------------- + +In LaTeX, we must set an explicit anchor (``\phantomsection``) for a +_`hypertarget in plain text` but not in a table or figure caption: + +.. table:: Table with _`hypertarget in table title`. + + ===== ===== ===== + False True None + ===== ===== ===== + +.. figure:: ../../../docs/user/rst/images/biohazard.png + + Figure with _`hypertarget in figure caption`. + + Legend with _`hypertarget in figure legend`. + +See `hypertarget in plain text`_, +`hypertarget in table title`_, +`hypertarget in figure caption`_, and +`hypertarget in figure legend`_, + |
