pandoc-3.10.1: test/command/9136.md
Verify that the OpenDocument writer uses predefined list, paragraph, and
text styles instead of generating per-instance automatic styles.
```
% pandoc -t opendocument
- one
- two
1. ordered one
2. ordered two
Some *italic*, **bold**, ~~strike~~, and `code`.
> A block quote.
Final paragraph.
^D
<text:list text:style-name="List_20_1">
<text:list-item>
<text:p text:style-name="List_20_Bullet_20_Tight">one</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="List_20_Bullet_20_Tight">two</text:p>
</text:list-item>
</text:list>
<text:list text:style-name="Numbering_20_1">
<text:list-item>
<text:p text:style-name="List_20_Number_20_Tight">ordered
one</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="List_20_Number_20_Tight">ordered
two</text:p>
</text:list-item>
</text:list>
<text:p text:style-name="First_20_paragraph">Some
<text:span text:style-name="Emphasis">italic</text:span>,
<text:span text:style-name="Strong_20_Emphasis">bold</text:span>,
<text:span text:style-name="Strikeout">strike</text:span>, and
<text:span text:style-name="Source_20_Text">code</text:span>.</text:p>
<text:p text:style-name="Quotations">A block quote.</text:p>
<text:p text:style-name="First_20_paragraph">Final paragraph.</text:p>
```
A non-default ordered list (start value other than 1, or non-decimal
format) generates a single named override style, not one per instance.
```
% pandoc -t opendocument
A) upper-alpha one
B) upper-alpha two
5. start at five
6. and continue
^D
<text:list text:style-name="Pandoc_5f_Numbering_5f_1">
<text:list-item>
<text:p text:style-name="List_20_Number_20_Tight">upper-alpha
one</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="List_20_Number_20_Tight">upper-alpha
two</text:p>
</text:list-item>
</text:list>
<text:list text:style-name="Numbering_20_1" text:start-value="5">
<text:list-item>
<text:p text:style-name="List_20_Number_20_Tight">start at
five</text:p>
</text:list-item>
<text:list-item>
<text:p text:style-name="List_20_Number_20_Tight">and
continue</text:p>
</text:list-item>
</text:list>
```
A nested block quote uses the predefined `Quotations` style for the
outer paragraph, and inherits indent from it for the inner paragraph.
```
% pandoc -t opendocument
> First.
>
> > Nested.
^D
<text:p text:style-name="Quotations">First.</text:p>
<text:p text:style-name="P1">Nested.</text:p>
```