diff options
author | Norbert Preining <norbert@preining.info> | 2022-11-09 03:02:50 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-11-09 03:02:50 +0000 |
commit | 5de83ec843cdc88e6adc42b1fe3f0ec48c52b7f3 (patch) | |
tree | b49f7c180396c8ef389c8fd519370b6d03f4e100 /macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl | |
parent | 118cb5bbc5236bf86ca1088b9b3bae04c7b09beb (diff) |
CTAN sync 202211090302
Diffstat (limited to 'macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl')
-rw-r--r-- | macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl | 448 |
1 files changed, 273 insertions, 175 deletions
diff --git a/macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl b/macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl index 47de7a25da..5c33579240 100644 --- a/macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl +++ b/macros/texinfo/texinfo/tp/t/results/regions/anchor_in_titlepage.pl @@ -1,7 +1,7 @@ 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_elements %result_directions_text %result_indices_sort_strings); use utf8; @@ -10,162 +10,212 @@ $result_trees{'anchor_in_titlepage'} = { { 'contents' => [ { - 'cmdname' => 'titlepage', 'contents' => [ { - 'extra' => { - 'command' => {} - }, - 'parent' => {}, - 'text' => ' -', - 'type' => 'empty_line_after_command' - }, - { - 'parent' => {}, - 'text' => ' -', - 'type' => 'empty_line' - }, - { 'args' => [ { - 'contents' => [ - { - 'parent' => {}, - 'text' => 'in titlepage' - } - ], 'extra' => { - 'region' => {} + 'spaces_after_argument' => ' +' }, - 'parent' => {}, - 'type' => 'brace_command_arg' + 'type' => 'block_line_arg' } ], - 'cmdname' => 'anchor', - 'contents' => [], - 'extra' => { - 'node_content' => [ - {} - ], - 'normalized' => 'in-titlepage' - }, - 'line_nr' => { - 'file_name' => '', - 'line_nr' => 3, - 'macro' => '' - }, - 'parent' => {} - }, - { - 'parent' => {}, - 'text' => ' + 'cmdname' => 'titlepage', + 'contents' => [ + { + 'text' => ' ', - 'type' => 'empty_spaces_after_close_brace' - }, - { - 'args' => [ + 'type' => 'empty_line' + }, { - 'contents' => [ + 'args' => [ { - 'parent' => {}, - 'text' => 'titlepage' + 'contents' => [ + { + 'text' => 'in titlepage' + } + ], + 'extra' => { + 'region' => {} + }, + 'type' => 'brace_command_arg' } ], + 'cmdname' => 'anchor', 'extra' => { - 'spaces_after_argument' => ' + 'node_content' => [ + {} + ], + 'normalized' => 'in-titlepage' + }, + 'source_info' => { + 'file_name' => '', + 'line_nr' => 3, + 'macro' => '' + } + }, + { + 'text' => ' +', + 'type' => 'spaces_after_close_brace' + }, + { + 'args' => [ + { + 'contents' => [ + { + 'text' => 'titlepage' + } + ], + 'extra' => { + 'spaces_after_argument' => ' ' + }, + 'type' => 'line_arg' + } + ], + 'cmdname' => 'end', + 'extra' => { + 'spaces_before_argument' => ' ', + 'text_arg' => 'titlepage' }, - 'parent' => {}, - 'type' => 'line_arg' + 'source_info' => { + 'file_name' => '', + 'line_nr' => 4, + 'macro' => '' + } } ], - 'cmdname' => 'end', - 'extra' => { - 'command_argument' => 'titlepage', - 'spaces_before_argument' => ' ', - 'text_arg' => 'titlepage' - }, - 'line_nr' => { + 'source_info' => { 'file_name' => '', - 'line_nr' => 4, + 'line_nr' => 1, 'macro' => '' - }, - 'parent' => {} + } + }, + { + 'text' => ' +', + 'type' => 'empty_line' + } + ], + 'type' => 'preamble_before_content' + } + ], + 'type' => 'before_node_section' + }, + { + 'args' => [ + { + 'contents' => [ + { + 'text' => 'top' } ], 'extra' => { - 'end_command' => {} + 'spaces_after_argument' => ' +' }, - 'line_nr' => { - 'file_name' => '', - 'line_nr' => 1, - 'macro' => '' + 'type' => 'line_arg' + } + ], + 'cmdname' => 'top', + 'extra' => { + 'spaces_before_argument' => ' ' + }, + 'source_info' => { + 'file_name' => '', + 'line_nr' => 6, + 'macro' => '' + } + }, + { + 'args' => [ + { + 'contents' => [ + { + 'text' => 'Top' + } + ], + 'extra' => { + 'spaces_after_argument' => ' +' }, - 'parent' => {} - }, + 'type' => 'line_arg' + } + ], + 'cmdname' => 'node', + 'contents' => [ { - 'parent' => {}, 'text' => ' ', 'type' => 'empty_line' } ], - 'parent' => {}, - 'type' => 'text_root' + 'extra' => { + 'node_content' => [ + {} + ], + 'nodes_manuals' => [ + { + 'node_content' => [ + {} + ], + 'normalized' => 'Top' + } + ], + 'normalized' => 'Top', + 'spaces_before_argument' => ' ' + }, + 'source_info' => { + 'file_name' => '', + 'line_nr' => 7, + 'macro' => '' + } }, { 'args' => [ { 'contents' => [ { - 'parent' => {}, - 'text' => 'top' + 'text' => 'Chapter' } ], 'extra' => { 'spaces_after_argument' => ' ' }, - 'parent' => {}, 'type' => 'line_arg' } ], - 'cmdname' => 'top', - 'contents' => [], + 'cmdname' => 'chapter', 'extra' => { 'spaces_before_argument' => ' ' }, - 'level' => 0, - 'line_nr' => { + 'source_info' => { 'file_name' => '', - 'line_nr' => 6, + 'line_nr' => 9, 'macro' => '' - }, - 'parent' => {} + } }, { 'args' => [ { 'contents' => [ { - 'parent' => {}, - 'text' => 'Top' + 'text' => 'nchap' } ], 'extra' => { 'spaces_after_argument' => ' ' }, - 'parent' => {}, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { - 'parent' => {}, 'text' => ' ', 'type' => 'empty_line' @@ -177,16 +227,13 @@ $result_trees{'anchor_in_titlepage'} = { { 'contents' => [ { - 'parent' => {}, 'text' => 'in titlepage' } ], - 'parent' => {}, 'type' => 'brace_command_arg' } ], 'cmdname' => 'xref', - 'contents' => [], 'extra' => { 'label' => {}, 'node_argument' => { @@ -196,20 +243,17 @@ $result_trees{'anchor_in_titlepage'} = { 'normalized' => 'in-titlepage' } }, - 'line_nr' => { + 'source_info' => { 'file_name' => '', - 'line_nr' => 9, + 'line_nr' => 12, 'macro' => '' - }, - 'parent' => {} + } }, { - 'parent' => {}, 'text' => '. ' } ], - 'parent' => {}, 'type' => 'paragraph' } ], @@ -222,54 +266,29 @@ $result_trees{'anchor_in_titlepage'} = { 'node_content' => [ {} ], - 'normalized' => 'Top' + 'normalized' => 'nchap' } ], - 'normalized' => 'Top', + 'normalized' => 'nchap', 'spaces_before_argument' => ' ' }, - 'line_nr' => { + 'source_info' => { 'file_name' => '', - 'line_nr' => 7, + 'line_nr' => 10, 'macro' => '' - }, - 'parent' => {} + } } ], 'type' => 'document_root' }; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'extra'}{'region'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[4]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'extra'}{'end_command'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[4]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}; -$result_trees{'anchor_in_titlepage'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[1]{'args'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[1]; -$result_trees{'anchor_in_titlepage'}{'contents'}[1]{'parent'} = $result_trees{'anchor_in_titlepage'}; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'args'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'label'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[2]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'anchor_in_titlepage'}{'contents'}[2]; +$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'extra'}{'region'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]; +$result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]; $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'extra'}{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'args'}[0]{'contents'}[0]; $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[2]{'args'}[0]{'contents'}[0]; -$result_trees{'anchor_in_titlepage'}{'contents'}[2]{'parent'} = $result_trees{'anchor_in_titlepage'}; +$result_trees{'anchor_in_titlepage'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'extra'}{'label'} = $result_trees{'anchor_in_titlepage'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]; +$result_trees{'anchor_in_titlepage'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]; +$result_trees{'anchor_in_titlepage'}{'contents'}[4]{'extra'}{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[4]{'args'}[0]{'contents'}[0]; +$result_trees{'anchor_in_titlepage'}{'contents'}[4]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0] = $result_trees{'anchor_in_titlepage'}{'contents'}[4]{'args'}[0]{'contents'}[0]; $result_texis{'anchor_in_titlepage'} = '@titlepage @@ -279,6 +298,9 @@ $result_texis{'anchor_in_titlepage'} = '@titlepage @top top @node Top +@chapter Chapter +@node nchap + @xref{in titlepage}. '; @@ -287,38 +309,85 @@ $result_texts{'anchor_in_titlepage'} = ' top *** +1 Chapter +********* + in titlepage. '; $result_sectioning{'anchor_in_titlepage'} = { - 'level' => -1, - 'section_childs' => [ - { - 'cmdname' => 'top', - 'extra' => { - 'spaces_before_argument' => ' ' - }, - 'level' => 0, - 'section_up' => {} - } - ] + 'structure' => { + 'section_childs' => [ + { + 'cmdname' => 'top', + 'extra' => {}, + 'structure' => { + 'section_childs' => [ + { + 'cmdname' => 'chapter', + 'extra' => { + 'associated_node' => { + 'cmdname' => 'node', + 'extra' => { + 'normalized' => 'Top' + }, + 'structure' => {} + } + }, + 'structure' => { + 'section_level' => 1, + 'section_number' => 1, + 'section_up' => {}, + 'toplevel_prev' => {}, + 'toplevel_up' => {} + } + } + ], + 'section_level' => 0, + 'section_up' => {} + } + } + ], + 'section_level' => -1 + } }; -$result_sectioning{'anchor_in_titlepage'}{'section_childs'}[0]{'section_up'} = $result_sectioning{'anchor_in_titlepage'}; +$result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]; +$result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]; +$result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]; +$result_sectioning{'anchor_in_titlepage'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'anchor_in_titlepage'}; $result_nodes{'anchor_in_titlepage'} = { 'cmdname' => 'node', 'extra' => { - 'normalized' => 'Top', - 'spaces_before_argument' => ' ' + 'associated_section' => { + 'cmdname' => 'chapter', + 'extra' => {}, + 'structure' => { + 'section_number' => 1 + } + }, + 'normalized' => 'Top' + }, + 'structure' => { + 'node_next' => { + 'cmdname' => 'node', + 'extra' => { + 'normalized' => 'nchap' + }, + 'structure' => { + 'node_prev' => {} + } + } } }; +$result_nodes{'anchor_in_titlepage'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'anchor_in_titlepage'}; $result_menus{'anchor_in_titlepage'} = { 'cmdname' => 'node', 'extra' => { - 'normalized' => 'Top', - 'spaces_before_argument' => ' ' - } + 'normalized' => 'Top' + }, + 'structure' => {} }; $result_errors{'anchor_in_titlepage'} = []; @@ -334,13 +403,20 @@ top *** -File: , Node: Top, Up: (dir) +File: , Node: Top, Next: nchap, Up: (dir) + +1 Chapter +********* + + +File: , Node: nchap, Prev: Top *Note in titlepage::. Tag Table: Node: Top36 +Node: nchap105 End Tag Table @@ -351,7 +427,7 @@ End: '; -$result_converted{'html'}->{'anchor_in_titlepage'} = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +$result_converted{'html'}->{'anchor_in_titlepage'} = '<!DOCTYPE html> <html> <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ --> <head> @@ -365,37 +441,34 @@ $result_converted{'html'}->{'anchor_in_titlepage'} = '<!DOCTYPE html PUBLIC "-// <meta name="viewport" content="width=device-width,initial-scale=1"> <link href="#Top" rel="start" title="Top"> -<style type="text/css"> -<!-- -a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em} -a.summary-letter {text-decoration: none} -blockquote.indentedblock {margin-right: 0em} -div.display {margin-left: 3.2em} -div.example {margin-left: 3.2em} -kbd {font-style: oblique} -pre.display {font-family: inherit} -pre.format {font-family: inherit} -pre.menu-comment {font-family: serif} -pre.menu-preformatted {font-family: serif} -span.nolinebreak {white-space: nowrap} -span.roman {font-family: initial; font-weight: normal} -span.sansserif {font-family: sans-serif; font-weight: normal} -span:hover a.copiable-anchor {visibility: visible} -ul.no-bullet {list-style: none} ---> -</style> </head> <body lang="en"> -<div class="top" id="top"> +<div class="top-level-extent" id="top"> +<div class="nav-panel"> +<p> +Next: <a href="#nchap" accesskey="n" rel="next">nchap</a> </p> +</div> <h1 class="top">top</h1> -<span id="Top"></span><h1 class="node-heading">Top</h1> +<ul class="mini-toc"> +<li><a href="#Top" accesskey="1">Chapter</a></li> +</ul> +<div class="chapter-level-extent" id="Top"> -<p>See <a href="#in-titlepage">in titlepage</a>. -</p><hr></div> +<h2 class="chapter" id="Chapter">1 Chapter</h2> +<hr> +<a class="node-id" id="nchap"></a><div class="nav-panel"> +<p> +Previous: <a href="#Top" accesskey="p" rel="prev">Chapter</a> </p> +</div> +<h4 class="node">nchap</h4> + +<p>See <a class="xref" href="#in-titlepage">in titlepage</a>. +</p></div> +</div> @@ -403,4 +476,29 @@ ul.no-bullet {list-style: none} </html> '; + +$result_converted{'latex_text'}->{'anchor_in_titlepage'} = ' +\\begin{document} + +\\frontmatter +\\begin{titlepage} +\\begingroup +\\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in +\\newskip\\titlepagebottomglue \\titlepagebottomglue = 2pc +\\setlength{\\parindent}{0pt} +% Leave some space at the very top of the page. + \\vglue\\titlepagetopglue + +\\label{anchor:in-titlepage}% +\\endgroup +\\end{titlepage} +\\pagestyle{single}% +\\mainmatter +\\part*{{top}} +\\label{anchor:Top}% +\\label{anchor:nchap}% + +See \\hyperref[anchor:in-titlepage]{[in titlepage], page~\\pageref*{anchor:in-titlepage}}. +'; + 1; |