use vars qw(%result_texis %result_texts %result_trees %result_errors
%result_indices %result_sectioning %result_nodes %result_menus
%result_floats %result_converted %result_converted_errors
%result_elements %result_directions_text %result_indices_sort_strings);
use utf8;
$result_trees{'enumerate_argument_item'} = {
'contents' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => '1'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'enumerate',
'contents' => [
{
'cmdname' => 'item',
'contents' => [
{
'text' => ' ',
'type' => 'ignorable_spaces_after_command'
},
{
'contents' => [
{
'text' => 'numeric first
'
}
],
'type' => 'paragraph'
}
],
'extra' => {
'item_number' => 1
},
'source_info' => {
'file_name' => '',
'line_nr' => 2,
'macro' => ''
}
},
{
'cmdname' => 'item',
'contents' => [
{
'text' => ' ',
'type' => 'ignorable_spaces_after_command'
},
{
'contents' => [
{
'text' => 'numeric second
'
}
],
'type' => 'paragraph'
}
],
'extra' => {
'item_number' => 2
},
'source_info' => {
'file_name' => '',
'line_nr' => 3,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'enumerate'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'enumerate'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 4,
'macro' => ''
}
}
],
'extra' => {
'enumerate_specification' => '1'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'contents' => [
{
'text' => 'A'
}
],
'info' => {
'comment_at_end' => {
'args' => [
{
'text' => ' comment
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'c'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'enumerate',
'contents' => [
{
'cmdname' => 'item',
'contents' => [
{
'text' => ' ',
'type' => 'ignorable_spaces_after_command'
},
{
'contents' => [
{
'text' => 'upper case first
'
}
],
'type' => 'paragraph'
}
],
'extra' => {
'item_number' => 1
},
'source_info' => {
'file_name' => '',
'line_nr' => 7,
'macro' => ''
}
},
{
'cmdname' => 'item',
'contents' => [
{
'text' => ' ',
'type' => 'ignorable_spaces_after_command'
},
{
'contents' => [
{
'text' => 'upper case second
'
}
],
'type' => 'paragraph'
}
],
'extra' => {
'item_number' => 2
},
'source_info' => {
'file_name' => '',
'line_nr' => 8,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'enumerate'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'enumerate'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 9,
'macro' => ''
}
}
],
'extra' => {
'enumerate_specification' => 'A'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 6,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'contents' => [
{
'text' => 'z'
}
],
'info' => {
'comment_at_end' => {
'args' => [
{
'text' => ' comment
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'c'
},
'spaces_after_argument' => {
'text' => ' '
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'enumerate',
'contents' => [
{
'cmdname' => 'item',
'contents' => [
{
'text' => ' ',
'type' => 'ignorable_spaces_after_command'
},
{
'contents' => [
{
'text' => 'lower case first
'
}
],
'type' => 'paragraph'
}
],
'extra' => {
'item_number' => 1
},
'source_info' => {
'file_name' => '',
'line_nr' => 12,
'macro' => ''
}
},
{
'cmdname' => 'item',
'contents' => [
{
'text' => ' ',
'type' => 'ignorable_spaces_after_command'
},
{
'contents' => [
{
'text' => 'lower case second
'
}
],
'type' => 'paragraph'
}
],
'extra' => {
'item_number' => 2
},
'source_info' => {
'file_name' => '',
'line_nr' => 13,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'enumerate'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'enumerate'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 14,
'macro' => ''
}
}
],
'extra' => {
'enumerate_specification' => 'z'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 11,
'macro' => ''
}
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_texis{'enumerate_argument_item'} = '@enumerate 1
@item numeric first
@item numeric second
@end enumerate
@enumerate A@c comment
@item upper case first
@item upper case second
@end enumerate
@enumerate z @c comment
@item lower case first
@item lower case second
@end enumerate
';
$result_texts{'enumerate_argument_item'} = '1. numeric first
2. numeric second
A. upper case first
B. upper case second
z. lower case first
aa. lower case second
';
$result_errors{'enumerate_argument_item'} = [];
$result_floats{'enumerate_argument_item'} = {};
$result_converted{'plaintext'}->{'enumerate_argument_item'} = ' 1. numeric first
2. numeric second
A. upper case first
B. upper case second
z. lower case first
aa. lower case second
';
$result_converted{'html_text'}->{'enumerate_argument_item'} = '<ol class="enumerate">
<li> numeric first
</li><li> numeric second
</li></ol>
<ol class="enumerate" type="A" start="1">
<li> upper case first
</li><li> upper case second
</li></ol>
<ol class="enumerate" type="a" start="26">
<li> lower case first
</li><li> lower case second
</li></ol>
';
$result_converted{'xml'}->{'enumerate_argument_item'} = '<enumerate first="1" spaces=" " endspaces=" "><enumeratefirst>1</enumeratefirst>
<listitem> <para>numeric first
</para></listitem><listitem> <para>numeric second
</para></listitem></enumerate>
<enumerate first="A" spaces=" " endspaces=" "><enumeratefirst>A</enumeratefirst><!-- c comment -->
<listitem> <para>upper case first
</para></listitem><listitem> <para>upper case second
</para></listitem></enumerate>
<enumerate first="z" spaces=" " endspaces=" "><enumeratefirst>z </enumeratefirst><!-- c comment -->
<listitem> <para>lower case first
</para></listitem><listitem> <para>lower case second
</para></listitem></enumerate>
';
1;