File: hyperlinking.txt

package info (click to toggle)
python-docutils 0.14%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,976 kB
  • sloc: python: 44,718; lisp: 14,476; xml: 1,782; sh: 167; makefile: 150
file content (32 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (6)
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`_.