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{'comment_space_command_on_line'} = { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'Settitle ' }, { 'cmdname' => ' ' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' settittle ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' } }, 'type' => 'line_arg' } ], 'cmdname' => 'settitle', 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'type' => 'before_node_section' }, { 'args' => [ { 'contents' => [ { 'text' => 'Top' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' @node Top ', 'type' => 'rawline_arg' } ], 'cmdname' => 'comment' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 3, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'top element' }, { 'cmdname' => ' ' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' @top ', 'type' => 'rawline_arg' } ], 'cmdname' => 'comment' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'top', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'chap' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' @node chap ', 'type' => 'rawline_arg' } ], 'cmdname' => 'comment' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'isindex' => 1, 'normalized' => 'chap' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 6, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Chapter' }, { 'cmdname' => ' ' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' @chapter ', 'type' => 'rawline_arg' } ], 'cmdname' => 'comment' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'chapter', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'on' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' comment frenchspacing ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'frenchspacing', 'extra' => { 'misc_args' => [ 'on' ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 9, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'off' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' comment microtype ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' } }, 'type' => 'line_arg' } ], 'cmdname' => 'microtype', 'extra' => { 'misc_args' => [ 'off' ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 11, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'index entry ' }, { 'cmdname' => ' ' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' index entry ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'cindex', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'cp', 1 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 13, 'macro' => '' }, 'type' => 'index_entry_command' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'Heading ' }, { 'cmdname' => ' ' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' heading ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'heading', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 15, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'cp' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' printindex ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'printindex', 'extra' => { 'misc_args' => [ 'cp' ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 17, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'Text' } ], 'type' => 'block_line_arg' }, { 'contents' => [ { 'text' => 'label' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' }, 'spaces_before_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'float', 'contents' => [ { 'contents' => [ { 'text' => 'float ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'contents' => [ { 'text' => 'float' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' end ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'float' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 21, 'macro' => '' } } ], 'extra' => { 'float_section' => {}, 'float_type' => 'Text', 'normalized' => 'label' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 19, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'Text ' }, { 'cmdname' => ' ' } ], 'info' => { 'comment_at_end' => { 'args' => [ { 'text' => ' listoffloats ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' } }, 'type' => 'line_arg' } ], 'cmdname' => 'listoffloats', 'extra' => { 'float_type' => 'Text ' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 23, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' } }, { 'args' => [ { 'text' => ' @c bye ', 'type' => 'rawline_arg' } ], 'cmdname' => 'bye' } ], 'type' => 'document_root' }; $result_trees{'comment_space_command_on_line'}{'contents'}[4]{'contents'}[5]{'extra'}{'element_node'} = $result_trees{'comment_space_command_on_line'}{'contents'}[3]; $result_trees{'comment_space_command_on_line'}{'contents'}[4]{'contents'}[11]{'extra'}{'float_section'} = $result_trees{'comment_space_command_on_line'}{'contents'}[4]; $result_texis{'comment_space_command_on_line'} = '@settitle Settitle @ @c settittle @node Top @comment @node Top @top top element@ @comment @top @node chap @comment @node chap @chapter Chapter@ @comment @chapter @frenchspacing on @c comment frenchspacing @microtype off@c comment microtype @cindex index entry @ @c index entry @heading Heading @ @c heading @printindex cp @c printindex @float Text, label float @end float @c end @listoffloats Text @ @c listoffloats @bye @c bye '; $result_texts{'comment_space_command_on_line'} = ' top element ************ 1 Chapter ********** Heading ========= Text, label float '; $result_sectioning{'comment_space_command_on_line'} = { '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' => { 'isindex' => 1, 'normalized' => '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{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]; $result_sectioning{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]; $result_sectioning{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]; $result_sectioning{'comment_space_command_on_line'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'comment_space_command_on_line'}; $result_nodes{'comment_space_command_on_line'} = { '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 } }, 'isindex' => 1, 'normalized' => 'chap' }, 'structure' => { 'node_prev' => {}, 'node_up' => {} } } } }; $result_nodes{'comment_space_command_on_line'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'comment_space_command_on_line'}; $result_nodes{'comment_space_command_on_line'}{'structure'}{'node_next'}{'structure'}{'node_up'} = $result_nodes{'comment_space_command_on_line'}; $result_menus{'comment_space_command_on_line'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => {} }; $result_errors{'comment_space_command_on_line'} = []; $result_floats{'comment_space_command_on_line'} = { 'Text' => [ { 'cmdname' => 'float', 'extra' => { 'float_section' => { 'cmdname' => 'chapter', 'extra' => {}, 'structure' => { 'section_number' => 1 } }, 'float_type' => 'Text', 'normalized' => 'label' }, 'structure' => { 'float_number' => '1.1' } } ] }; $result_indices_sort_strings{'comment_space_command_on_line'} = { 'cp' => [ 'index entry ' ] }; $result_converted{'plaintext'}->{'comment_space_command_on_line'} = 'top element ************ 1 Chapter ********** Heading ========= * Menu: * index entry : chap. (line 6) float Text 1.1 '; $result_converted{'html_text'}->{'comment_space_command_on_line'} = '
'; $result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass{book} \\usepackage{amsfonts} \\usepackage{amsmath} \\usepackage[gen]{eurosym} \\usepackage{textcomp} \\usepackage{graphicx} \\usepackage{etoolbox} \\usepackage{titleps} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{imakeidx} \\usepackage[activate=false]{microtype} \\usepackage{float} % use hidelinks to remove boxes around links to be similar to Texinfo TeX \\usepackage[hidelinks]{hyperref} \\makeatletter \\newcommand{\\Texinfosettitle}{Settitle \\ {}}% % new float for type `Text\' \\newfloat{TexinfoFloatText}{htb}{tfl}[chapter] \\floatname{TexinfoFloatText}{} % no index headers \\indexsetup{level=\\relax,toclevel=section}% \\makeindex[name=cp,title=]% % redefine the \\mainmatter command such that it does not clear page % as if in double page \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}} \\newenvironment{Texinfopreformatted}{% \\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{} {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 \\def^^M{\\null\\par}}} \\newenvironment{Texinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}} % used for substitutions in commands \\newcommand{\\Texinfoplaceholder}[1]{} \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} \\chaptertitle{}][][\\thepage] {\\chaptername{} \\thechapter{} \\chaptertitle{}}{}{\\thepage}} % allow line breaking at underscore \\let\\Texinfounderscore\\_ \\renewcommand{\\_}{\\Texinfounderscore\\discretionary{}{}{}} \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}} \\makeatother % set default for @setchapternewpage \\makeatletter \\patchcmd{\\chapter}{\\if@openright\\cleardoublepage\\else\\clearpage\\fi}{\\Texinfoplaceholder{setchapternewpage placeholder}\\clearpage}{}{} \\makeatother \\pagestyle{single}% \\label{anchor:Top}% \\chapter{{Chapter\\ {}}} \\label{anchor:chap}% \\frenchspacing \\microtypesetup{activate=false}% \\index[cp]{index entry @index entry \\ {}}% \\section*{{Heading \\ {}}} \\printindex[cp] \\begin{TexinfoFloatText} float \\label{anchor:label}% \\end{TexinfoFloatText} \\end{document} '; $result_converted{'docbook_doc'}->{'comment_space_command_on_line'} = ' ]>