aboutsummaryrefslogtreecommitdiff
path: root/test/command/2434.md
blob: 4f12b6f56b4744765299ed6cda8fed3de2f7ce44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
```
% pandoc -t opendocument
1. a
2. b
    1. alpha
    2. beta
    * gamma
^D
<text:list text:style-name="L1">
  <text:list-item>
    <text:p text:style-name="P1">a</text:p>
  </text:list-item>
  <text:list-item>
    <text:p text:style-name="P1">b</text:p>
    <text:list>
      <text:list-item>
        <text:p text:style-name="P1">alpha</text:p>
      </text:list-item>
      <text:list-item>
        <text:p text:style-name="P1">beta</text:p>
      </text:list-item>
    </text:list>
    <text:list text:style-name="L2">
      <text:list-item>
        <text:p text:style-name="P2">gamma</text:p>
      </text:list-item>
    </text:list>
  </text:list-item>
</text:list>
```

```
% pandoc -t opendocument
(@) text

    some text

    a) sub item 1
    b) sub item 2

    more text -- this line is missing in the odt output
^D
<text:list text:style-name="L1">
  <text:list-item>
    <text:p text:style-name="P1">text</text:p>
    <text:p text:style-name="P1">some text</text:p>
    <text:list>
      <text:list-item>
        <text:p text:style-name="P1">sub item 1</text:p>
      </text:list-item>
      <text:list-item>
        <text:p text:style-name="P1">sub item 2</text:p>
      </text:list-item>
    </text:list>
    <text:p text:style-name="P1">more text – this line is missing in the
    odt output</text:p>
  </text:list-item>
</text:list>
```