summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data/hyperlinking.txt
blob: b88e34cf1e0fb991dfadb8a1d200cbc7bd7a8f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Hyperlinks and -targets
=======================

In LaTeX, we must set an explicit anchor (``\phantomsection``) for a
_`hypertarget in plain text` or in a figure but not in a longtable or
caption:

.. _`table label`:

.. table:: Table with _`hypertarget in table title`.

   =====  ===== =====
   False  True  None
   =====  ===== =====

.. _`figure label`:

.. figure:: ../../../docs/user/rst/images/biohazard.png

   Figure with _`hypertarget in figure caption`.

   Legend with _`hypertarget in figure legend`.

.. _`image label`:

.. image::  ../../../docs/user/rst/images/biohazard.png

See `hypertarget in plain text`_,
`table label`_, `hypertarget in table title`_,
`figure label`_, `hypertarget in figure caption`_,
`hypertarget in figure legend`_, and
`image label`_.