02_test_paragraph.ini 2.2 KB
Newer Older
1
[match:paragraph]
2
3
4
5
1 : Im allgemeinen werden die Bewohner Göttingens eingeteilt in Studenten,
    Professoren, Philister und Vieh; welche vier Stände doch nichts weniger
    als streng geschieden sind. Der Viehstand ist der bedeutendste.

6
7
2 : Paragraphs may contain {\em inline blocks} as well as \emph{inline commands}
    and also special \& characters.
8

9
10
11
12
13
14
3 : Paragraphs are separated only by at least one blank line.
    Therefore,
                 this line still belongs to the same paragraph.

4 : Paragraphs   % may contain comments
    like the comment above
Eckhart Arnold's avatar
Eckhart Arnold committed
15
    % or like thist comment.
16
    Comment lines do not break paragraphs.
17
18
    % There can even be several comment lines,
        % even indented comment lines,
Eckhart Arnold's avatar
Eckhart Arnold committed
19
    in sequence.
20

Eckhart Arnold's avatar
Eckhart Arnold committed
21
22
23
24
25
26
5 : Paragraphs may contain {\em emphasized} or {\bf bold} text.
    Most of these commands can have different forms as, for example:
    \begin{small} small \end{small} or {\large large}.

6 : Paragraphs may also contain {\xy unknown blocks }.

27
7 : Paragraphs may contain \xy[xycgf]{some {\em unbknown}} commands.
Eckhart Arnold's avatar
Eckhart Arnold committed
28
29
30

8 : Unknwon \xy commands within paragraphs may be simple
    or \xy{complex}.
31

Eckhart Arnold's avatar
Eckhart Arnold committed
32
33
34
35
36
9 : paragraphs may contain all of these: \{ escaped \} characters,
    {\bf blocks}, [ brackets ], \begin{tiny} environments \end{tiny}
    and \textbackslash text-commands or other commands like this
    \footnote{footnote}

Eckhart Arnold's avatar
Eckhart Arnold committed
37
38
39
40
41
42
43
10: """\begin{generic}inline environment\end{generic}
    """

11: """\begin{generic}inline environment
    \end{generic}
    """

44

45
[fail:paragraph]
46
47
48
49
50
51
52
53
54
55
56
1 : Paragraphs are separated by gaps.

    Like this one.

2 : \begin{enumerate}

3 : \item

4 : und Vieh; \paragraph

5 : Paragraphs will end
57
58
59
60
    \begin{quotation}
    at block environments
    \end{quotation}
    like block quotes.
61

62

63
[match:sequence]
64
1 : Paragraphs are separated by gaps.
65

66
    Like this one.
67

68
69
70
71
72

2 : The second paragraph follows after a long gap.


    The parser should accept this, too.
Eckhart Arnold's avatar
Eckhart Arnold committed
73

Eckhart Arnold's avatar
Eckhart Arnold committed
74
3 : Paragraphs can be delimited by  % comment
75

Eckhart Arnold's avatar
Eckhart Arnold committed
76
77
78
    % sequences of separators

    % and comments
Eckhart Arnold's avatar
Eckhart Arnold committed
79
    % or sequences of comment lines
Eckhart Arnold's avatar
Eckhart Arnold committed
80
81
82
83
84
85

    In the end such a sequence counts
    % merely as one comment


4 : Sequences of paragraphs may
86
87
88
89
    \begin{quotation}
    include block environments
    \end{quotation}
    like block quotes.