Apply [ 125 ] respect automatic table column sizing also in html4css1.
[docutils.git] / docutils / test / functional / input / data / latex-problematic.txt
blobacaefc2b7fe2b79d50a9ec3bb37152954582251e
1 Problematic Cases for the LaTeX Writer
2 ======================================
4 These tests contain unusual combinations of syntax elements which may cause
5 trouble for the LaTeX writer but do not need to be tested with other writers
6 (e.g. the HTML writer).
8 The file `latex-problematic.txt` contains the cases with non unsatisfying
9 results. It is only used to control the visual appearance of the output, not
10 by any automated test
12 Sidebars
13 --------
15 This paragraph precedes the sidebar.  This is some text.  This is some
16 text.  This is some text.  This is some text.  This is some text.
17 This is some text.  This is some text.  This is some text.
19 .. sidebar:: Sidebar Title
21    These are the sidebar contents.  These are the sidebar contents.
23    These are the sidebar contents.  These are the sidebar contents.
25    These are the sidebar contents.  These are the sidebar contents.
26    These are the sidebar contents.  These are the sidebar contents.
28 This paragraph follows the sidebar.  This is some text.  This is some
29 text.  This is some text.
31 This is some text.  This is some text.  This is some text.  This is
32 some text.  This is some text.  This is some text.  This is some text.
35 Next Section
36 ------------
38 This section comes after the sidebar, and this text should float
39 around the sidebar as well.  This is some text.  This is some text.
40 This is some text.  This is some text.  This is some text.  This is
41 some text.  This is some text.  This is some text.  This is some text.
42 This is some text.  This is some text.  This is some text.  This is
43 some text.  This is some text.
45 This is some text.  This is some text.  This is some text.  This is
46 some text.  This is some text.  This is some text.  This is some text.
47 This is some text.  This is some text.  This is some text.
49 Nested Elements
50 ---------------
52 :Field list: | Line
53              | Block
54 :Field 2: * Bullet
55           * list
56 :Another (longer) field: * Bullet
57                          * list
58 :Yet another long field:
59           * .. comment
61             Bullet
63             .. comment
65           * .. comment
67             list
69             .. comment
71 :Field: * This
73           is
75           a
77         * bullet
79           list
81 :Field: * | This is
82           | a bullet
83         * | list with
84           | line blocks
85 :Last field: Last field.
87 Too deeply nested lists fail. TODO: generate an error or provide a workaround.
89 .. * * * * * * * * Deeply nested list.
91 .. 1. 2. 3. 4. 5. 6. 7. 8. Deeply nested list.
93 +-----------------+
94 | | Line block    |
95 |                 |
96 | * Bullet list   |
97 |                 |
98 | ::              |
99 |                 |
100 |     Literal     |
101 |     block       |
102 +-----------------+
103 | :Field 1:       |
104 |  Text.          |
105 | :Field 2:       |
106 |  More text.     |
107 +-----------------+
108 | +-------+-----+ |
109 | | A     |* foo| |
110 | | nested|     | |
111 | | table.|* bar| |
112 | +-------+-----+ |
113 +-----------------+
114 | This is a       |
115 | paragraph.      |
116 |                 |
117 | +-------+-----+ |
118 | | A     |* foo| |
119 | | nested|     | |
120 | | table.|* bar| |
121 | +-------+-----+ |
122 |                 |
123 | Another longer  |
124 | paragraph.      |
125 +-----------------+
126 | * A list.       |
127 | * A list.       |
128 |                 |
129 | +-------+-----+ |
130 | | A     |* foo| |
131 | | nested|     | |
132 | | table.|* bar| |
133 | +-------+-----+ |
134 |                 |
135 | * Another list. |
136 | * Another list. |
137 +-----------------+
138 | Foo             |
139 |                 |
140 | Bar             |
141 +-----------------+
142 | * Foo           |
143 |                 |
144 | * Bar           |
145 +-----------------+
146 | * This is a     |
147 |   paragraph.    |
148 |                 |
149 |   This is a     |
150 |   paragraph.    |
151 |                 |
152 | * This is a     |
153 |   paragraph.    |
154 |                 |
155 |   This is a     |
156 |   paragraph.    |
157 +-----------------+
159 Vertical alignment of inline images
160 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 .. |top| image:: ../../../../docs/user/rst/images/biohazard.png
163    :align: top
164    :width: 3em
166 .. |middle| image:: ../../../../docs/user/rst/images/biohazard.png
167    :align: middle
168    :width: 2em
170 .. |bottom| image:: ../../../../docs/user/rst/images/biohazard.png
171    :align: bottom
172    :width: 2.5em
174 A paragraph with top |top|, middle |middle|, and bottom |bottom|
175 aligned images.
177 A paragraph with top |top| aligned image.
179 A paragraph with middle |middle| aligned image.
181 A paragraph with bottom |bottom| aligned image.