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{'test_accents_sc_enable_encoding'} = {
'contents' => [
{
'contents' => [
{
'contents' => [
{
'text' => '\\input texinfo
',
'type' => 'text_before_beginning'
},
{
'text' => '
',
'type' => 'text_before_beginning'
}
],
'type' => 'preamble_before_beginning'
},
{
'contents' => [],
'type' => 'preamble_before_content'
}
],
'type' => 'before_node_section'
},
{
'args' => [
{
'contents' => [
{
'text' => 'top'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 3,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'top section'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'top',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 4,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'node chap'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'extra' => {
'normalized' => 'node-chap'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 6,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'chapter'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'chapter',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'text' => '``in double q\'\'. `in simple q\'.
'
}
],
'type' => 'paragraph'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'e'
}
],
'type' => 'following_arg'
}
],
'cmdname' => '\'',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => ', --- '
},
{
'args' => [
{
'contents' => [
{
'text' => 'def'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dfn',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => ' -- '
},
{
'args' => [
{
'contents' => [
{
'text' => 'in code'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'code',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => '. '
},
{
'args' => [
{
'contents' => [
{
'text' => 'in samp'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'samp',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => " a\x{e9}. "
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'comma',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'exclamdown',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => '. '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dots',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 11,
'macro' => ''
}
},
{
'text' => '
'
}
],
'type' => 'paragraph'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'geq',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'enddots',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'AA',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'e'
}
],
'type' => 'following_arg'
}
],
'cmdname' => '\'',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'A'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dotaccent',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'l',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => '. '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'copyright',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => '. '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'error',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 13,
'macro' => ''
}
},
{
'text' => '.
'
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'quotedblleft',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 14,
'macro' => ''
}
},
{
'text' => ' in quotes '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'quotedblright',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 14,
'macro' => ''
}
},
{
'text' => '. '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'expansion',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 14,
'macro' => ''
}
},
{
'text' => '
'
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'minus',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 15,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'registeredsymbol',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 15,
'macro' => ''
}
},
{
'text' => '
'
}
],
'type' => 'paragraph'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => '--a'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'u',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 18,
'macro' => ''
}
},
{
'text' => '
'
},
{
'args' => [
{
'contents' => [
{
'text' => '--a'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '^',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 19,
'macro' => ''
}
},
{
'text' => '
'
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'aa',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'AA',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'e'
}
],
'type' => 'following_arg'
}
],
'cmdname' => '^',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'E'
}
],
'type' => 'following_arg'
}
],
'cmdname' => '^',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'i'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dotless',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '~',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'i'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dotless',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'r'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'udotaccent',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'r'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '\'',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'v',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'n'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '~',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => ',',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '=',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'text' => '.
'
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'equiv',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 21,
'macro' => ''
}
},
{
'text' => '
'
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'aa',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'type' => 'brace_command_arg'
}
],
'cmdname' => 'AA',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'e'
}
],
'type' => 'following_arg'
}
],
'cmdname' => '^',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'E'
}
],
'type' => 'following_arg'
}
],
'cmdname' => '^',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'i'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dotless',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '~',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'i'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'dotless',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'text' => 'r'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'udotaccent',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'r'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '\'',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'v',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => ' '
},
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'n'
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '~',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => ',',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => '=',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
}
],
'type' => 'brace_command_arg'
}
],
'cmdname' => 'sc',
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 22,
'macro' => ''
}
},
{
'text' => '.
'
}
],
'type' => 'paragraph'
},
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'punctuation_small_case_accents_utf8.texi',
'line_nr' => 7,
'macro' => ''
}
}
],
'type' => 'document_root'
};
$result_texis{'test_accents_sc_enable_encoding'} = '\\input texinfo
@node top
@top top section
@node node chap
@chapter chapter
``in double q\'\'. `in simple q\'.
@\'e, --- @dfn{def} -- @code{in code}. @samp{in samp} aé. @comma{} @exclamdown{}. @dots{}
@geq{} @enddots{} @AA{} @\'e @dotaccent{A} @l{}. @copyright{}. @error{}.
@quotedblleft{} in quotes @quotedblright{}. @expansion{}
@minus{} @registeredsymbol{}
@u{--a}
@^{--a}
@aa{} @AA{} @^e @^E @~{@dotless{i}} @dotless{i} @udotaccent{r} @v{@\'{r}} @={@,{@~{n}}}.
@equiv{}
@sc{@aa{} @AA{} @^e @^E @~{@dotless{i}} @dotless{i} @udotaccent{r} @v{@\'{r}} @={@,{@~{n}}}}.
';
$result_texts{'test_accents_sc_enable_encoding'} = 'top section
***********
1 chapter
*********
"in double q". `in simple q\'.
e\', -- def - in code. in samp aé. , !. ...
>= ... AA e\' A. /l. (C). error-->.
" in quotes ". ==>
- (R)
-a(
-a^
aa AA e^ E^ i~ i .r r\'< n~,=.
==
AA AA E^ E^ I~ I .R R\'< N~,=.
';
$result_sectioning{'test_accents_sc_enable_encoding'} = {
'structure' => {
'section_childs' => [
{
'cmdname' => 'top',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {}
}
},
'structure' => {
'section_childs' => [
{
'cmdname' => 'chapter',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'node-chap'
},
'structure' => {}
}
},
'structure' => {
'section_level' => 1,
'section_number' => 1,
'section_up' => {},
'toplevel_prev' => {},
'toplevel_up' => {}
}
}
],
'section_level' => 0,
'section_up' => {}
}
}
],
'section_level' => -1
}
};
$result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0];
$result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0];
$result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0];
$result_sectioning{'test_accents_sc_enable_encoding'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'test_accents_sc_enable_encoding'};
$result_nodes{'test_accents_sc_enable_encoding'} = {
'cmdname' => 'node',
'extra' => {
'associated_section' => {
'cmdname' => 'top',
'extra' => {},
'structure' => {}
},
'normalized' => 'Top'
},
'structure' => {
'node_next' => {
'cmdname' => 'node',
'extra' => {
'associated_section' => {
'cmdname' => 'chapter',
'extra' => {},
'structure' => {
'section_number' => 1
}
},
'normalized' => 'node-chap'
},
'structure' => {
'node_prev' => {},
'node_up' => {}
}
}
}
};
$result_nodes{'test_accents_sc_enable_encoding'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'test_accents_sc_enable_encoding'};
$result_nodes{'test_accents_sc_enable_encoding'}{'structure'}{'node_next'}{'structure'}{'node_up'} = $result_nodes{'test_accents_sc_enable_encoding'};
$result_menus{'test_accents_sc_enable_encoding'} = {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {}
};
$result_errors{'test_accents_sc_enable_encoding'} = [];
$result_floats{'test_accents_sc_enable_encoding'} = {};
$result_converted{'html_text'}->{'test_accents_sc_enable_encoding'} = '<div class="top-level-extent" id="Top">
<div class="nav-panel">
</div>
<h1 class="top" id="top-section"><span>top section<a class="copiable-link" href="#top-section"> ¶</a></span></h1>
<ul class="mini-toc">
<li><a href="#node-chap" accesskey="1">chapter</a></li>
</ul>
<hr>
<div class="chapter-level-extent" id="node-chap">
<div class="nav-panel">
</div>
<h2 class="chapter" id="chapter"><span>1 chapter<a class="copiable-link" href="#chapter"> ¶</a></span></h2>
<p>“in double q”. ‘in simple q’.
</p>
<p>é, — <em class="dfn">def</em> – <code class="code">in code</code>. ‘<samp class="samp">in samp</samp>’ aé. , ¡. …
</p>
<p>≥ <small class="enddots">...</small> Å é Ȧ ł. ©. error→.
“ in quotes ”. ↦
− ®
</p>
<p>–ă
–â
å Å ê Ê ĩ ı ṛ ŕ̌ ņ̃̄.
≡
<small class="sc">Å Å Ê Ê Ĩ I Ṛ Ŕ̌ Ņ̃̄</small>.
</p>
</div>
</div>
';
1;