~ubuntu-branches/ubuntu/karmic/python-docutils/karmic

« back to all changes in this revision

Viewing changes to test/functional/input/data/standard.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
.. This is a comment. Note how any initial comments are moved by
 
2
   transforms to after the document title, subtitle, and docinfo.
 
3
 
 
4
.. _doctitle:
 
5
 
 
6
================================
 
7
 reStructuredText Test Document
 
8
================================
 
9
 
 
10
.. Above is the document title, and below is the subtitle.
 
11
   They are transformed from section titles after parsing.
 
12
 
 
13
.. _subtitle:
 
14
 
 
15
--------------------------------
 
16
 Examples of Syntax Constructs
 
17
--------------------------------
 
18
 
 
19
.. bibliographic fields (which also require a transform):
 
20
 
 
21
:Author: David Goodger
 
22
:Address: 123 Example Street
 
23
          Example, EX  Canada
 
24
          A1B 2C3
 
25
:Contact: goodger@users.sourceforge.net
 
26
:Authors: Me; Myself; I
 
27
:organization: humankind
 
28
:date: Now, or yesterday.  Or maybe even *before* yesterday.
 
29
:status: This is a "work in progress"
 
30
:revision: is managed by a version control system.
 
31
:version: 1
 
32
:copyright: This document has been placed in the public domain. You
 
33
            may do with it as you wish. You may copy, modify,
 
34
            redistribute, reattribute, sell, buy, rent, lease,
 
35
            destroy, or improve it, quote it at length, excerpt,
 
36
            incorporate, collate, fold, staple, or mutilate it, or do
 
37
            anything else to it that your or anyone else's heart
 
38
            desires.
 
39
:field name: This is a "generic bibliographic field".
 
40
:field name "2":
 
41
    Generic bibliographic fields may contain multiple body elements.
 
42
 
 
43
    Like this.
 
44
 
 
45
:Dedication:
 
46
 
 
47
    For Docutils users & co-developers.
 
48
 
 
49
:abstract:
 
50
 
 
51
    This is a test document, containing at least one example of each
 
52
    reStructuredText construct.
 
53
 
 
54
.. meta::
 
55
   :keywords: reStructuredText, test, parser
 
56
   :description lang=en: A test document, containing at least one
 
57
       example of each reStructuredText construct.
 
58
 
 
59
.. contents:: Table of Contents
 
60
.. section-numbering::
 
61
 
 
62
 
 
63
Structural Elements
 
64
===================
 
65
 
 
66
Section Title
 
67
-------------
 
68
Section Subtitle
 
69
````````````````
 
70
 
 
71
That's it, the text just above this line.
 
72
 
 
73
Empty Section
 
74
-------------
 
75
 
 
76
Transitions
 
77
-----------
 
78
 
 
79
Here's a transition:
 
80
 
 
81
---------
 
82
 
 
83
It divides the section.  Transitions may also occur between sections:
 
84
 
 
85
---------
 
86
 
 
87
Body Elements
 
88
=============
 
89
 
 
90
Paragraphs
 
91
----------
 
92
 
 
93
A paragraph.
 
94
 
 
95
Inline Markup
 
96
`````````````
 
97
 
 
98
Paragraphs contain text and may contain inline markup: *emphasis*,
 
99
**strong emphasis**, ``inline literals``, standalone hyperlinks
 
100
(http://www.python.org), external hyperlinks (Python_), internal
 
101
cross-references (example_), external hyperlinks with embedded URIs
 
102
(`Python web site <http://www.python.org>`__), `anonymous hyperlink
 
103
references`__ (`a second reference`__), footnote references (manually
 
104
numbered [1]_, anonymous auto-numbered [#]_, labeled auto-numbered
 
105
[#label]_, or symbolic [*]_), citation references ([CIT2002]_),
 
106
substitution references (|example|), and _`inline hyperlink targets`
 
107
(see Targets_ below for a reference back to here).  Character-level
 
108
inline markup is also possible (although exceedingly ugly!) in *re*\
 
109
``Structured``\ *Text*.  Problems are indicated by |problematic| text
 
110
(generated by processing errors; this one is intentional).  Here is a
 
111
reference to the doctitle_ and the subtitle_.
 
112
 
 
113
__ http://www.python.org/
 
114
__ http://docutils.sourceforge.net/
 
115
 
 
116
The default role for interpreted text is `Title Reference`.  Here are
 
117
some explicit interpreted text roles: a PEP reference (:PEP:`287`); an
 
118
RFC reference (:RFC:`2822`); a :sub:`subscript`; a :sup:`superscript`;
 
119
and explicit roles for :emphasis:`standard` :strong:`inline`
 
120
:literal:`markup`.
 
121
 
 
122
.. DO NOT RE-WRAP THE FOLLOWING PARAGRAPH!
 
123
 
 
124
Let's test wrapping and whitespace significance in inline literals:
 
125
``This is an example of --inline-literal --text, --including some--
 
126
strangely--hyphenated-words.  Adjust-the-width-of-your-browser-window
 
127
to see how the text is wrapped.  -- ---- --------  Now note    the
 
128
spacing    between the    words of    this sentence    (words
 
129
should    be grouped    in pairs).``
 
130
 
 
131
If the ``--pep-references`` option was supplied, there should be a
 
132
live link to PEP 258 here.
 
133
 
 
134
Bullet Lists
 
135
------------
 
136
 
 
137
- A bullet list
 
138
 
 
139
  + Nested bullet list.
 
140
  + Nested item 2.
 
141
 
 
142
- Item 2.
 
143
 
 
144
  Paragraph 2 of item 2.
 
145
 
 
146
  * Nested bullet list.
 
147
  * Nested item 2.
 
148
 
 
149
    - Third level.
 
150
    - Item 2.
 
151
 
 
152
  * Nested item 3.
 
153
 
 
154
  * This nested list should be compacted by the HTML writer.
 
155
 
 
156
    .. _target:
 
157
 
 
158
    .. Even if this item contains a target and a comment.
 
159
 
 
160
Enumerated Lists
 
161
----------------
 
162
 
 
163
1. Arabic numerals.
 
164
 
 
165
   a) lower alpha)
 
166
 
 
167
      (i) (lower roman)
 
168
 
 
169
          A. upper alpha.
 
170
 
 
171
             I) upper roman)
 
172
 
 
173
2. Lists that don't start at 1:
 
174
 
 
175
   3. Three
 
176
 
 
177
   4. Four
 
178
 
 
179
   C. C
 
180
 
 
181
   D. D
 
182
 
 
183
   iii. iii
 
184
 
 
185
   iv. iv
 
186
 
 
187
Definition Lists
 
188
----------------
 
189
 
 
190
Term
 
191
    Definition
 
192
Term : classifier
 
193
    Definition paragraph 1.
 
194
 
 
195
    Definition paragraph 2.
 
196
Term
 
197
    Definition
 
198
Term : classifier one  :  classifier two
 
199
    Definition
 
200
 
 
201
Field Lists
 
202
-----------
 
203
 
 
204
:what: Field lists map field names to field bodies, like database
 
205
       records.  They are often part of an extension syntax.  They are
 
206
       an unambiguous variant of RFC 2822 fields.
 
207
 
 
208
:how arg1 arg2:
 
209
 
 
210
    The field marker is a colon, the field name, and a colon.
 
211
 
 
212
    The field body may contain one or more body elements, indented
 
213
    relative to the field marker.
 
214
 
 
215
:credits:
 
216
 
 
217
    .. class:: credits
 
218
 
 
219
    This paragraph has the `credits` class set.  (This is actually not
 
220
    about credits but just for ensuring that the class attribute
 
221
    doesn't get stripped away.)
 
222
 
 
223
Option Lists
 
224
------------
 
225
 
 
226
For listing command-line options:
 
227
 
 
228
-a            command-line option "a"
 
229
-b file       options can have arguments
 
230
              and long descriptions
 
231
--long        options can be long also
 
232
--input=file  long options can also have
 
233
              arguments
 
234
 
 
235
--very-long-option
 
236
              The description can also start on the next line.
 
237
 
 
238
              The description may contain multiple body elements,
 
239
              regardless of where it starts.
 
240
 
 
241
-x, -y, -z    Multiple options are an "option group".
 
242
-v, --verbose  Commonly-seen: short & long options.
 
243
-1 file, --one=file, --two file
 
244
              Multiple options with arguments.
 
245
/V            DOS/VMS-style options too
 
246
 
 
247
There must be at least two spaces between the option and the
 
248
description.
 
249
 
 
250
Literal Blocks
 
251
--------------
 
252
 
 
253
Literal blocks are indicated with a double-colon ("::") at the end of
 
254
the preceding paragraph (over there ``-->``).  They can be indented::
 
255
 
 
256
    if literal_block:
 
257
        text = 'is left as-is'
 
258
        spaces_and_linebreaks = 'are preserved'
 
259
        markup_processing = None
 
260
 
 
261
Or they can be quoted without indentation::
 
262
 
 
263
>> Great idea!
 
264
>
 
265
> Why didn't I think of that?
 
266
 
 
267
Line Blocks
 
268
-----------
 
269
 
 
270
This section tests line blocks.  Line blocks are body elements which
 
271
consist of lines and other line blocks.  Nested line blocks cause
 
272
indentation.
 
273
 
 
274
| This is a line block.  It ends with a blank line.
 
275
|     New lines begin with a vertical bar ("|").
 
276
|     Line breaks and initial indent are significant, and preserved.
 
277
|         Continuation lines are also possible.  A long line that is intended
 
278
          to wrap should begin with a space in place of the vertical bar.
 
279
|     The left edge of a continuation line need not be aligned with
 
280
  the left edge of the text above it.
 
281
 
 
282
| This is a second line block.
 
283
|
 
284
| Blank lines are permitted internally, but they must begin with a "|".
 
285
 
 
286
Another line block, surrounded by paragraphs:
 
287
 
 
288
| And it's no good waiting by the window
 
289
| It's no good waiting for the sun
 
290
| Please believe me, the things you dream of
 
291
| They don't fall in the lap of no-one
 
292
 
 
293
Take it away, Eric the Orchestra Leader!
 
294
 
 
295
    | A one, two, a one two three four
 
296
    |
 
297
    | Half a bee, philosophically,
 
298
    |     must, *ipso facto*, half not be.
 
299
    | But half the bee has got to be,
 
300
    |     *vis a vis* its entity.  D'you see?
 
301
    |
 
302
    | But can a bee be said to be
 
303
    |     or not to be an entire bee,
 
304
    |         when half the bee is not a bee,
 
305
    |             due to some ancient injury?
 
306
    |
 
307
    | Singing...
 
308
 
 
309
Block Quotes
 
310
------------
 
311
 
 
312
Block quotes consist of indented body elements:
 
313
 
 
314
    My theory by A. Elk.  Brackets Miss, brackets.  This theory goes
 
315
    as follows and begins now.  All brontosauruses are thin at one
 
316
    end, much much thicker in the middle and then thin again at the
 
317
    far end.  That is my theory, it is mine, and belongs to me and I
 
318
    own it, and what it is too.
 
319
 
 
320
    -- Anne Elk (Miss)
 
321
 
 
322
Doctest Blocks
 
323
--------------
 
324
 
 
325
>>> print 'Python-specific usage examples; begun with ">>>"'
 
326
Python-specific usage examples; begun with ">>>"
 
327
>>> print '(cut and pasted from interactive Python sessions)'
 
328
(cut and pasted from interactive Python sessions)
 
329
 
 
330
Footnotes
 
331
---------
 
332
 
 
333
.. [1] A footnote contains body elements, consistently indented by at
 
334
   least 3 spaces.
 
335
 
 
336
   This is the footnote's second paragraph.
 
337
 
 
338
.. [#label] Footnotes may be numbered, either manually (as in [1]_) or
 
339
   automatically using a "#"-prefixed label.  This footnote has a
 
340
   label so it can be referred to from multiple places, both as a
 
341
   footnote reference ([#label]_) and as a hyperlink reference
 
342
   (label_).
 
343
 
 
344
.. [#] This footnote is numbered automatically and anonymously using a
 
345
   label of "#" only.
 
346
 
 
347
   This is the second paragraph.
 
348
 
 
349
   And this is the third paragraph.
 
350
 
 
351
.. [*] Footnotes may also use symbols, specified with a "*" label.
 
352
   Here's a reference to the next footnote: [*]_.
 
353
 
 
354
.. [*] This footnote shows the next symbol in the sequence.
 
355
 
 
356
.. [4] Here's an unreferenced footnote, with a reference to a
 
357
   nonexistent footnote: [5]_.
 
358
 
 
359
Citations
 
360
---------
 
361
 
 
362
.. [CIT2002] Citations are text-labeled footnotes. They may be
 
363
   rendered separately and differently from footnotes.
 
364
 
 
365
Here's a reference to the above, [CIT2002]_, and a [nonexistent]_
 
366
citation.
 
367
 
 
368
.. _Another Target:
 
369
 
 
370
Targets
 
371
-------
 
372
 
 
373
.. _example:
 
374
 
 
375
This paragraph is pointed to by the explicit "example" target. A
 
376
reference can be found under `Inline Markup`_, above. `Inline
 
377
hyperlink targets`_ are also possible.
 
378
 
 
379
Section headers are implicit targets, referred to by name. See
 
380
Targets_, which is a subsection of `Body Elements`_.
 
381
 
 
382
Explicit external targets are interpolated into references such as
 
383
"Python_".
 
384
 
 
385
.. _Python: http://www.python.org/
 
386
 
 
387
Targets may be indirect and anonymous.  Thus `this phrase`__ may also
 
388
refer to the Targets_ section.
 
389
 
 
390
__ Targets_
 
391
 
 
392
Here's a `hyperlink reference without a target`_, which generates an
 
393
error.
 
394
 
 
395
Duplicate Target Names
 
396
``````````````````````
 
397
 
 
398
Duplicate names in section headers or other implicit targets will
 
399
generate "info" (level-1) system messages.  Duplicate names in
 
400
explicit targets will generate "warning" (level-2) system messages.
 
401
 
 
402
Duplicate Target Names
 
403
``````````````````````
 
404
 
 
405
Since there are two "Duplicate Target Names" section headers, we
 
406
cannot uniquely refer to either of them by name.  If we try to (like
 
407
this: `Duplicate Target Names`_), an error is generated.
 
408
 
 
409
Directives
 
410
----------
 
411
 
 
412
.. contents:: :local:
 
413
 
 
414
These are just a sample of the many reStructuredText Directives.  For
 
415
others, please see
 
416
http://docutils.sourceforge.net/docs/ref/rst/directives.html.
 
417
 
 
418
Document Parts
 
419
``````````````
 
420
 
 
421
An example of the "contents" directive can be seen above this section
 
422
(a local, untitled table of contents_) and at the beginning of the
 
423
document (a document-wide `table of contents`_).
 
424
 
 
425
Images
 
426
``````
 
427
 
 
428
An image directive (also clickable -- a hyperlink reference):
 
429
 
 
430
.. image:: ../../../docs/user/rst/images/title.png
 
431
   :class: class1 class2
 
432
   :target: directives_
 
433
 
 
434
Image with multiple IDs:
 
435
 
 
436
.. _image target 1:
 
437
.. _image target 2:
 
438
.. _image target 3:
 
439
.. image:: ../../../docs/user/rst/images/title.png
 
440
 
 
441
A centered image:
 
442
 
 
443
.. image:: ../../../docs/user/rst/images/biohazard.png
 
444
   :align: center
 
445
 
 
446
A left-aligned image:
 
447
 
 
448
.. image:: ../../../docs/user/rst/images/biohazard.png
 
449
   :align: left
 
450
 
 
451
A right-aligned image:
 
452
 
 
453
.. image:: ../../../docs/user/rst/images/biohazard.png
 
454
   :align: right
 
455
 
 
456
A figure directive:
 
457
 
 
458
.. figure:: ../../../docs/user/rst/images/biohazard.png
 
459
   :figclass: figclass1 figclass2
 
460
   :class: class1 class2
 
461
   :alt: reStructuredText, the markup syntax
 
462
   :align: right
 
463
   :width: 50
 
464
 
 
465
   A figure is an image with a caption and/or a legend:
 
466
 
 
467
   +------------+-----------------------------------------------+
 
468
   | re         | Revised, revisited, based on 're' module.     |
 
469
   +------------+-----------------------------------------------+
 
470
   | Structured | Structure-enhanced text, structuredtext.      |
 
471
   +------------+-----------------------------------------------+
 
472
   | Text       | Well it is, isn't it?                         |
 
473
   +------------+-----------------------------------------------+
 
474
 
 
475
   This paragraph is also part of the legend.
 
476
 
 
477
.. figure:: ../../../docs/user/rst/images/biohazard.png
 
478
   :figclass: figclass1 figclass2
 
479
   :class: class1 class2
 
480
   :alt: reStructuredText, the markup syntax
 
481
   :align: left
 
482
   :width: 50
 
483
 
 
484
   A left-aligned figure.
 
485
 
 
486
   This is the legend.
 
487
 
 
488
This paragraph might flow around the figure...
 
489
 
 
490
A centered figure:
 
491
 
 
492
.. figure:: ../../../docs/user/rst/images/biohazard.png
 
493
   :align: center
 
494
   :width: 50
 
495
 
 
496
   This is the caption.
 
497
 
 
498
   This is the legend.
 
499
 
 
500
   The legend may consist of several paragraphs.
 
501
 
 
502
This paragraph might flow around the figure...
 
503
 
 
504
A left-aligned figure:
 
505
 
 
506
.. figure:: ../../../docs/user/rst/images/biohazard.png
 
507
   :align: left
 
508
   :width: 50
 
509
 
 
510
   This is the caption.
 
511
 
 
512
   This is the legend.
 
513
 
 
514
   The legend may consist of several paragraphs.
 
515
 
 
516
This paragraph might flow around the figure...
 
517
 
 
518
Now widths:
 
519
 
 
520
An image 2 em wide:
 
521
 
 
522
.. image:: ../../../docs/user/rst/images/biohazard.png
 
523
   :width: 2 em
 
524
 
 
525
An image 2 em wide and 30 pixel high:
 
526
 
 
527
.. image:: ../../../docs/user/rst/images/biohazard.png
 
528
   :width: 2em
 
529
   :height: 30 px
 
530
 
 
531
An image occupying 70% of the line width:
 
532
 
 
533
.. image:: ../../../docs/user/rst/images/biohazard.png
 
534
   :width: 70%
 
535
 
 
536
An image 3 cm high:
 
537
 
 
538
.. image:: ../../../docs/user/rst/images/biohazard.png
 
539
   :height: 3 cm
 
540
 
 
541
 
 
542
Admonitions
 
543
```````````
 
544
 
 
545
.. Attention:: Directives at large.
 
546
 
 
547
.. Caution::
 
548
 
 
549
   Don't take any wooden nickels.
 
550
 
 
551
.. DANGER:: Mad scientist at work!
 
552
 
 
553
.. Error:: Does not compute.
 
554
 
 
555
.. Hint:: It's bigger than a bread box.
 
556
 
 
557
.. Important::
 
558
   - Wash behind your ears.
 
559
   - Clean up your room.
 
560
   - Call your mother.
 
561
   - Back up your data.
 
562
 
 
563
.. Note:: This is a note.
 
564
 
 
565
.. Tip:: 15% if the service is good.
 
566
 
 
567
.. WARNING:: Strong prose may provoke extreme mental exertion.
 
568
   Reader discretion is strongly advised.
 
569
 
 
570
.. admonition:: And, by the way...
 
571
 
 
572
   You can make up your own admonition too.
 
573
 
 
574
   .. _Docutils: http://docutils.sourceforge.net/
 
575
 
 
576
Topics, Sidebars, and Rubrics
 
577
`````````````````````````````
 
578
 
 
579
.. sidebar:: Sidebar Title
 
580
   :subtitle: Optional Subtitle
 
581
 
 
582
   This is a sidebar.  It is for text outside the flow of the main
 
583
   text.  
 
584
 
 
585
   .. rubric:: This is a rubric inside a sidebar
 
586
 
 
587
   Sidebars often appears beside the main text with a border and
 
588
   background color.
 
589
 
 
590
.. topic:: Topic Title
 
591
 
 
592
   This is a topic.
 
593
 
 
594
.. rubric:: This is a rubric
 
595
 
 
596
Target Footnotes
 
597
````````````````
 
598
 
 
599
.. target-notes::
 
600
 
 
601
 
 
602
Replacement Text
 
603
````````````````
 
604
 
 
605
I recommend you try |Python|_.
 
606
 
 
607
.. |Python| replace:: Python, *the* best language around
 
608
 
 
609
Compound Paragraph
 
610
``````````````````
 
611
 
 
612
.. compound::
 
613
   :class: some-class
 
614
 
 
615
   Compound 1, paragraph 1.
 
616
 
 
617
   Compound 1, paragraph 2.
 
618
 
 
619
   * Compound 1, list item one.
 
620
   * Compound 1, list item two.
 
621
 
 
622
Another compound statement:
 
623
 
 
624
.. compound::
 
625
 
 
626
   Compound 2, a literal block::
 
627
 
 
628
       Compound 2, literal.
 
629
 
 
630
   Compound 2, this is a test.
 
631
 
 
632
.. compound::
 
633
 
 
634
   Compound 3, only consisting of one paragraph.
 
635
 
 
636
.. compound::
 
637
 
 
638
   ::
 
639
 
 
640
       Compound 4.
 
641
       This one starts with a literal block.
 
642
 
 
643
   Compound 4, a paragraph.
 
644
 
 
645
Now something *really* perverted -- a nested compound block.  This is
 
646
just to test that it works at all; the results don't have to be
 
647
meaningful.
 
648
 
 
649
.. compound::
 
650
 
 
651
   Compound 5, block 1 (a paragraph).
 
652
 
 
653
   .. compound::
 
654
 
 
655
      Compound 6, block 2 in compound 5.
 
656
 
 
657
      Compound 6, another paragraph.
 
658
 
 
659
   Compound 5, block 3 (a paragraph).
 
660
 
 
661
.. compound::
 
662
 
 
663
   Compound 7, with a table inside:
 
664
 
 
665
   +--------------------+--------------------+--------------------+
 
666
   | Left cell, first   | Middle cell,       | Right cell.        |
 
667
   | paragraph.         | consisting of      |                    |
 
668
   |                    | exactly one        | Paragraph 2.       |
 
669
   | Left cell, second  | paragraph.         |                    |
 
670
   | paragraph.         |                    | Paragraph 3.       |
 
671
   +--------------------+--------------------+--------------------+
 
672
 
 
673
   Compound 7, a paragraph after the table.
 
674
 
 
675
   Compound 7, another paragraph.
 
676
 
 
677
Parsed Literal Blocks
 
678
`````````````````````
 
679
 
 
680
.. parsed-literal::
 
681
 
 
682
   This is a parsed literal block.
 
683
       This line is indented.  The next line is blank.
 
684
 
 
685
   Inline markup is supported, e.g. *emphasis*, **strong**, ``literal
 
686
   text``, footnotes [1]_, _`targets`, and `references
 
687
   <http://www.python.org/>`_.
 
688
 
 
689
Substitution Definitions
 
690
------------------------
 
691
 
 
692
An inline image (|example|) example:
 
693
 
 
694
.. |EXAMPLE| image:: ../../../docs/user/rst/images/biohazard.png
 
695
 
 
696
(Substitution definitions are not visible in the HTML source.)
 
697
 
 
698
Comments
 
699
--------
 
700
 
 
701
Here's one:
 
702
 
 
703
.. Comments begin with two dots and a space. Anything may
 
704
   follow, except for the syntax of footnotes, hyperlink
 
705
   targets, directives, or substitution definitions.
 
706
 
 
707
   Double-dashes -- "--" -- must be escaped somehow in HTML output.
 
708
 
 
709
(View the HTML source to see the comment.)
 
710
 
 
711
Raw text
 
712
--------
 
713
 
 
714
This does not necessarily look nice, because there may be missing white space.
 
715
 
 
716
It's just there to freeze the behavior.
 
717
 
 
718
.. raw:: html latex
 
719
 
 
720
   A test.
 
721
 
 
722
.. raw:: html latex
 
723
 
 
724
   Second test.
 
725
 
 
726
.. class:: myclass
 
727
 
 
728
.. raw:: html latex
 
729
 
 
730
   Another test with myclass set.
 
731
 
 
732
.. role:: raw-role(raw)
 
733
   :format: html latex
 
734
   :class: myrawroleclass
 
735
 
 
736
This is the :raw-role:`fourth test` with myrawroleclass set.
 
737
 
 
738
.. raw:: html
 
739
 
 
740
   Fifth test in HTML.<br />Line two.
 
741
 
 
742
.. raw:: latex
 
743
 
 
744
   Fifth test in LaTeX.\\Line two.
 
745
 
 
746
Container
 
747
---------
 
748
 
 
749
.. container:: custom
 
750
 
 
751
   paragraph 1
 
752
 
 
753
   paragraph 2