Added many tests and todos. One test doesn't run yet.
[docutils/kirr.git] / sandbox / rstdiff / tests / simpleNoSource / input / onceOnly.old.rst
blob29a015192e80c1261b96978c77bf5238da3760f8
1 ================
2 A document title
3 ================
5 -------------------
6 A document subtitle
7 -------------------
9 :Author: Stefan Merten
11 .. header:: The document header is once only.
13 .. footer:: And the document footer.
15 PCDATA
16 ======
18 Some elements may contain only #PCDATA. They need to propagate changes
19 up. These are the references of [CITA]_ and footnotes [1]_.
21 Only once only
22 ==============
24 Other elements may occur only once and thus need to propagate their
25 changes up or down.
27 * Titles and subtitles of any kind
29   See this section and document title / subtitle
31 * Transitions
33   They have no children which could change.
35 * Parts of definition lists
37   Defined term
38     Explanation
40   Unknown term
41     Definition of term is also only once
43 * Parts of field lists
45   :Only once: Some content
47   :Another field: Field body is also only once
49 * The attribution of a citation
51     To be or not to be!
53     -- Mozart
55 * Parts of a figure
57   .. figure:: image.gif
59      The caption of a figure
61      And its legend
63 * Several parts of a table
65   +-----+-----+
66   |Left |Right|
67   +=====+=====+
68   |Row  |Entry|
69   |     |only |
70   |     |once |
71   +-----+-----+
73   Also colspec, thead and tbody but they are ignored here.
75 PCDATA *and* only once
76 ======================
78 Some elements are of both types.
80 --option                A changing option_string must propagate to option
82 -o, --option_group      The option_group and the description may also appear
83                         only once
85 .. [CITA] The label of a citation.
87 .. [1] The label of a footnote.