~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to test/functional/input/data/latex.txt

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Some Tests for the LaTeX Writer
 
2
===============================
 
3
 
 
4
These tests have been written to exercise some unusual combinations of
 
5
syntax elements which may cause trouble for the LaTeX writer but do
 
6
not need to be tested with other writers (e.g. the HTML writer).
 
7
 
 
8
This file is not yet used by any automated test.  It is currently only
 
9
used to control the visual appearance of the output.
 
10
 
 
11
 
 
12
Block Quotes
 
13
------------
 
14
 
 
15
    This block quote comes directly after the section heading and is
 
16
    followed by a paragraph.
 
17
 
 
18
    This is the second paragraph of the block quote and it contains
 
19
    some more text filling up some space which would otherwise be
 
20
    empty.
 
21
 
 
22
    -- Attribution
 
23
 
 
24
This is a paragraph.
 
25
 
 
26
    This block quote does not have an attribution.
 
27
 
 
28
This is another paragraph.
 
29
 
 
30
    Another block quote at the end of the section.
 
31
 
 
32
 
 
33
More Block Quotes
 
34
-----------------
 
35
 
 
36
    Block quote followed by a transition.
 
37
 
 
38
----------
 
39
 
 
40
    Another block quote.
 
41
 
 
42
 
 
43
Sidebars
 
44
--------
 
45
 
 
46
This paragraph precedes the sidebar.  This is some text.  This is some
 
47
text.  This is some text.  This is some text.  This is some text.
 
48
This is some text.  This is some text.  This is some text.
 
49
 
 
50
.. sidebar:: Sidebar Title
 
51
 
 
52
   These are the sidebar contents.  These are the sidebar contents.
 
53
 
 
54
   These are the sidebar contents.  These are the sidebar contents.
 
55
 
 
56
   These are the sidebar contents.  These are the sidebar contents.
 
57
   These are the sidebar contents.  These are the sidebar contents.
 
58
 
 
59
This paragraph follows the sidebar.  This is some text.  This is some
 
60
text.  This is some text.
 
61
 
 
62
This is some text.  This is some text.  This is some text.  This is
 
63
some text.  This is some text.  This is some text.  This is some text.
 
64
 
 
65
 
 
66
Next Section
 
67
------------
 
68
 
 
69
This section comes after the sidebar, and this text should float
 
70
around the sidebar as well.  This is some text.  This is some text.
 
71
This is some text.  This is some text.  This is some text.  This is
 
72
some text.  This is some text.  This is some text.  This is some text.
 
73
This is some text.  This is some text.  This is some text.  This is
 
74
some text.  This is some text.
 
75
 
 
76
This is some text.  This is some text.  This is some text.  This is
 
77
some text.  This is some text.  This is some text.  This is some text.
 
78
This is some text.  This is some text.  This is some text.
 
79
 
 
80
 
 
81
Nested Elements
 
82
---------------
 
83
 
 
84
:Field list: | Line
 
85
             | Block
 
86
:Field 2: * Bullet
 
87
          * list
 
88
:Another (longer) field: * Bullet
 
89
                         * list
 
90
:Yet another long field:
 
91
          * .. comment
 
92
 
 
93
            Bullet
 
94
 
 
95
            .. comment
 
96
 
 
97
          * .. comment
 
98
 
 
99
            list
 
100
 
 
101
            .. comment
 
102
 
 
103
:Field: * This
 
104
 
 
105
          is
 
106
 
 
107
          a
 
108
 
 
109
        * bullet
 
110
 
 
111
          list
 
112
 
 
113
:Field: * | This is
 
114
          | a bullet
 
115
        * | list with
 
116
          | line blocks
 
117
:Last field: Last field.
 
118
 
 
119
* * * * * * * * Deeply nested list.
 
120
 
 
121
1. 2. 3. 4. 5. 6. 7. 8. Deeply nested list.
 
122
 
 
123
+-----------------+
 
124
| | Line block    |
 
125
|                 |
 
126
| * Bullet list   |
 
127
|                 |
 
128
| ::              |
 
129
|                 |
 
130
|     Literal     |
 
131
|     block       |
 
132
+-----------------+
 
133
| :Field 1:       |
 
134
|  Text.          |
 
135
| :Field 2:       |
 
136
|  More text.     |
 
137
+-----------------+
 
138
| +-------+-----+ |
 
139
| | A     |* foo| |
 
140
| | nested|     | |
 
141
| | table.|* bar| |
 
142
| +-------+-----+ |
 
143
+-----------------+
 
144
| This is a       |
 
145
| paragraph.      |
 
146
|                 |
 
147
| +-------+-----+ |
 
148
| | A     |* foo| |
 
149
| | nested|     | |
 
150
| | table.|* bar| |
 
151
| +-------+-----+ |
 
152
|                 |
 
153
| Another longer  |
 
154
| paragraph.      |
 
155
+-----------------+
 
156
| * A list.       |
 
157
| * A list.       |
 
158
|                 |
 
159
| +-------+-----+ |
 
160
| | A     |* foo| |
 
161
| | nested|     | |
 
162
| | table.|* bar| |
 
163
| +-------+-----+ |
 
164
|                 |
 
165
| * Another list. |
 
166
| * Another list. |
 
167
+-----------------+
 
168
| Foo             |
 
169
|                 |
 
170
| Bar             |
 
171
+-----------------+
 
172
| * Foo           |
 
173
|                 |
 
174
| * Bar           |
 
175
+-----------------+
 
176
| * This is a     |
 
177
|   paragraph.    |
 
178
|                 |
 
179
|   This is a     |
 
180
|   paragraph.    |
 
181
|                 |
 
182
| * This is a     |
 
183
|   paragraph.    |
 
184
|                 |
 
185
|   This is a     |
 
186
|   paragraph.    |
 
187
+-----------------+
 
188
 
 
189
 
 
190
Images
 
191
======
 
192
 
 
193
Image with 20% width:
 
194
 
 
195
.. image:: ../../../docs/user/rst/images/title.png
 
196
   :width: 20%
 
197
 
 
198
Image with 100% width:
 
199
 
 
200
.. image:: ../../../docs/user/rst/images/title.png
 
201
   :width: 100%