File: hyperlinking.rst

package info (click to toggle)
python-docutils 0.22%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,448 kB
  • sloc: python: 53,302; lisp: 14,475; xml: 1,807; javascript: 1,032; makefile: 102; sh: 96
file content (33 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (2)
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
33
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 table title
or figure 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`_,
`nested table`_,
`figure label`_, `hypertarget in figure caption`_,
`hypertarget in figure legend`_, and
`image label`_.