[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/t/40moresectioning.t, tp/Makefile.tres: add
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/t/40moresectioning.t, tp/Makefile.tres: add anchor_in_footnote_split_node and anchor_in_footnote_separate_split_node tests. |
Date: |
Sat, 11 Mar 2023 16:06:56 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 607fb3ea33 * tp/t/40moresectioning.t, tp/Makefile.tres: add
anchor_in_footnote_split_node and anchor_in_footnote_separate_split_node tests.
607fb3ea33 is described below
commit 607fb3ea33bed230dea318c0e387dce1cfd9e919
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Mar 11 22:06:46 2023 +0100
* tp/t/40moresectioning.t, tp/Makefile.tres: add
anchor_in_footnote_split_node and
anchor_in_footnote_separate_split_node tests.
---
ChangeLog | 6 +
tp/Makefile.tres | 4 +
tp/TODO | 25 +-
tp/t/40moresectioning.t | 10 +
.../anchor_in_footnote_separate_split_node.pl | 545 +++++++++++++++++++++
.../res_html/Anchor-in-footnote.html | 22 +
...anchor_in_footnote_separate_split_node_fot.html | 41 ++
.../res_html/chapter.html | 42 ++
.../res_html/index.html | 51 ++
.../anchor_in_footnote_split_node.pl | 508 +++++++++++++++++++
.../res_html/Anchor-in-footnote.html | 22 +
.../res_html/chapter.html | 42 ++
.../res_html/index.html | 60 +++
13 files changed, 1359 insertions(+), 19 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ca8aa99dce..d8373bc082 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-11 Patrice Dumas <pertusus@free.fr>
+
+ * tp/t/40moresectioning.t, tp/Makefile.tres: add
+ anchor_in_footnote_split_node and
+ anchor_in_footnote_separate_split_node tests.
+
2023-03-11 Patrice Dumas <pertusus@free.fr>
* tp/t/50value.t, tp/t/60macro.t, tp/Makefile.tres: add
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index c1e6fa37f3..9eb95e405e 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1410,6 +1410,10 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/misc_commands/vskip.pl \
t/results/moresectioning/anchor_in_footnote.pl \
t/results/moresectioning/anchor_in_footnote_separate.pl \
+ t/results/moresectioning/anchor_in_footnote_separate_split_node.pl \
+ t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html \
+ t/results/moresectioning/anchor_in_footnote_split_node.pl \
+ t/results/moresectioning/anchor_in_footnote_split_node/res_html \
t/results/moresectioning/chapter_sections.pl \
t/results/moresectioning/character_and_spaces_in_refs.pl \
t/results/moresectioning/character_and_spaces_in_refs_out.pl \
diff --git a/tp/TODO b/tp/TODO
index d94c2cd21e..5f396d95cf 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -522,8 +522,6 @@ The @FIGURE @macro is, for html:
@end html
@end macro
-Add @value to the corresponding commands categories?
-
Use of specialized synopsis in DocBook is not a priority and it is not even
obvious that it is interesting to do so. The following notes explain the
possibilities and issues extensively.
@@ -593,23 +591,9 @@ style for some tests. However, the test suite is already
too long to
run so such additions should be done with caution.
t/30sectioning.t
- chapter_between_nodes (more_nodes_than_sections renamed)
- more_sections_than_nodes
- two_nodes_between_chapters
- two_nodes_at_the_end
- character_and_spaces_in_refs
- character_and_spaces_in_node
- some_at_commands_in_ref_nodes
- at_commands_in_refs
- character_and_spaces_in_refs <- mono/chapter
- rec_nodes (with USE_NODES and without)
- loop_nodes?
- nodes_before_top?
- no_element
- top_node_no_menu_direction? (with USE_NODES and without?)
- anchor_in_footnote
- anchor_in_footnote_separate
- placed_things_before_node (with USE_NODES and without?)
+ chapter_between_nodes (TEXI2HTML for USE_NODES=0 and directions)
+ two_nodes_between_chapters (split at node / TEXI2HTML for USE_NODES=0 and
directions)
+ two_nodes_at_the_end (split at node / TEXI2HTML for USE_NODES=0 and
directions)
placed_things_before_element (with USE_NODES and without?)
top_no_argument_and_node
top_no_argument_and_top_node
@@ -620,6 +604,9 @@ t/30sectioning.t
one_node_explicit_directions_anchor (with USE_NODES and without) Really
useful?
top_without_node_sections
+t/40moresectioning.t
+ more_sections_than_nodes (current is with TEXI2HTML, one with default
USE_NODES=1 could be interesting)
+
t/info_tests.t
space_in_setfilename
diff --git a/tp/t/40moresectioning.t b/tp/t/40moresectioning.t
index 9267d588c6..fac8a0c47e 100644
--- a/tp/t/40moresectioning.t
+++ b/tp/t/40moresectioning.t
@@ -609,6 +609,16 @@ undef, {'test_file' =>
'character_and_spaces_in_refs_text.texi',
'test_formats' => ['file_info', 'file_html'],},
{'FORMAT_MENU' => 'menu', } # add explicitely for the converter
],
+['anchor_in_footnote_split_node',
+$anchor_in_footnote_text,
+{}, {'SPLIT' => 'node'}
+],
+['anchor_in_footnote_separate_split_node',
+'@footnotestyle separate
+'.
+$anchor_in_footnote_text,
+{}, {'SPLIT' => 'node'}
+],
);
my %xml_tests_converted_tests = (
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node.pl
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node.pl
new file mode 100644
index 0000000000..9bae3eb87e
--- /dev/null
+++ b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node.pl
@@ -0,0 +1,545 @@
+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{'anchor_in_footnote_separate_split_node'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'separate'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'footnotestyle',
+ 'extra' => {
+ 'misc_args' => [
+ 'separate'
+ ]
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ }
+ }
+ ],
+ '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' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'In top node'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in footnote
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Anchor in footnote'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'normalized' => 'Anchor-in-footnote'
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'chapter'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chapter'
+ },
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'preformatted'
+ }
+ ],
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'menu'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'text_arg' => 'menu'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'chapter'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Anchor in footnote'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Anchor-in-footnote'
+ },
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 14,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'anchor_in_footnote_separate_split_node'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'anchor_in_footnote_separate_split_node'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'anchor_in_footnote_separate_split_node'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'args'}[0]{'extra'}{'node_content'}[0]
=
$result_trees{'anchor_in_footnote_separate_split_node'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+
+$result_texis{'anchor_in_footnote_separate_split_node'} = '@footnotestyle
separate
+@node Top
+@top Top
+
+In top node@footnote{in footnote
+@anchor{Anchor in footnote}.
+}
+
+@menu
+* chapter::
+@end menu
+
+@node chapter
+@chapter Chap
+
+@ref{Anchor in footnote}.
+';
+
+
+$result_texts{'anchor_in_footnote_separate_split_node'} = 'Top
+***
+
+In top node
+
+* chapter::
+
+1 Chap
+******
+
+Anchor in footnote.
+';
+
+$result_sectioning{'anchor_in_footnote_separate_split_node'} = {
+ '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' => 'chapter'
+ },
+ '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_footnote_separate_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'anchor_in_footnote_separate_split_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'anchor_in_footnote_separate_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
=
$result_sectioning{'anchor_in_footnote_separate_split_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'anchor_in_footnote_separate_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
=
$result_sectioning{'anchor_in_footnote_separate_split_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'anchor_in_footnote_separate_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
= $result_sectioning{'anchor_in_footnote_separate_split_node'};
+
+$result_nodes{'anchor_in_footnote_separate_split_node'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'structure' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'structure' => {
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'structure' => {
+ 'section_number' => 1
+ }
+ },
+ 'normalized' => 'chapter'
+ },
+ 'structure' => {
+ 'node_prev' => {},
+ 'node_up' => {}
+ }
+ },
+ 'node_next' => {}
+ }
+};
+$result_nodes{'anchor_in_footnote_separate_split_node'}{'structure'}{'menu_child'}{'structure'}{'node_prev'}
= $result_nodes{'anchor_in_footnote_separate_split_node'};
+$result_nodes{'anchor_in_footnote_separate_split_node'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
= $result_nodes{'anchor_in_footnote_separate_split_node'};
+$result_nodes{'anchor_in_footnote_separate_split_node'}{'structure'}{'node_next'}
=
$result_nodes{'anchor_in_footnote_separate_split_node'}{'structure'}{'menu_child'};
+
+$result_menus{'anchor_in_footnote_separate_split_node'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'structure' => {
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter'
+ },
+ 'structure' => {
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ }
+ }
+ }
+};
+$result_menus{'anchor_in_footnote_separate_split_node'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
= $result_menus{'anchor_in_footnote_separate_split_node'};
+
+$result_errors{'anchor_in_footnote_separate_split_node'} = [];
+
+
+$result_floats{'anchor_in_footnote_separate_split_node'} = {};
+
+
+1;
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/Anchor-in-footnote.html
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/Anchor-in-footnote.html
new file mode 100644
index 0000000000..23d93923b5
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/Anchor-in-footnote.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<!-- This file redirects to the location of a node or anchor -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Anchor in footnote (Top)</title>
+
+<meta name="description" content="Anchor in footnote (Top)">
+<meta name="keywords" content="Anchor in footnote (Top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+
+<meta http-equiv="Refresh" content="0;
url=anchor_in_footnote_separate_split_node_fot.html#Anchor-in-footnote">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+</head>
+
+<body lang="en">
+
+<p>The node you are looking for is at <a
href="anchor_in_footnote_separate_split_node_fot.html#Anchor-in-footnote">Anchor
in footnote</a>.</p>
+</body>
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
new file mode 100644
index 0000000000..bf7b14c886
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/anchor_in_footnote_separate_split_node_fot.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Footnotes (Top)</title>
+
+<meta name="description" content="Footnotes (Top)">
+<meta name="keywords" content="Footnotes (Top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+
+
+</head>
+
+<body lang="en">
+<div class="element-footnotes" id="SEC_Footnotes">
+<div class="nav-panel">
+<p>
+ </p>
+</div>
+<hr>
+<h4 class="footnotes-heading">Footnotes</h4>
+
+<h5 class="footnote-body-heading"><a id="FOOT1"
href="index.html#DOCF1">(1)</a></h5>
+<p>in footnote
+<a class="anchor" id="Anchor-in-footnote"></a>.
+</p>
+</div><hr>
+<div class="nav-panel">
+<p>
+ </p>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/chapter.html
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/chapter.html
new file mode 100644
index 0000000000..77de55cbcb
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/chapter.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>chapter (Top)</title>
+
+<meta name="description" content="chapter (Top)">
+<meta name="keywords" content="chapter (Top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chapter">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a
href="index.html" accesskey="u" rel="up">Top</a> </p>
+</div>
+<hr>
+<h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link"
href="#Chap"> ¶</a></span></h2>
+
+<p><a class="ref"
href="anchor_in_footnote_separate_split_node_fot.html#Anchor-in-footnote">Anchor
in footnote</a>.
+</p></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/index.html
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/index.html
new file mode 100644
index 0000000000..eca12b64b4
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_separate_split_node/res_html/index.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top</title>
+
+<meta name="description" content="Top">
+<meta name="keywords" content="Top">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chapter.html" rel="next" title="chapter">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chapter.html" accesskey="n" rel="next">Chap</a> </p>
+</div>
+<hr>
+<h1 class="top" id="Top-1"><span>Top<a class="copiable-link" href="#Top-1">
¶</a></span></h1>
+
+<p>In top node<a class="footnote" id="DOCF1"
href="anchor_in_footnote_separate_split_node_fot.html#FOOT1"><sup>1</sup></a>
+</p>
+
+<ul class="mini-toc">
+<li><a href="chapter.html" accesskey="1">Chap</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chapter.html" accesskey="n" rel="next">Chap</a> </p>
+</div>
+
+
+
+</body>
+</html>
diff --git a/tp/t/results/moresectioning/anchor_in_footnote_split_node.pl
b/tp/t/results/moresectioning/anchor_in_footnote_split_node.pl
new file mode 100644
index 0000000000..2f6fc9d673
--- /dev/null
+++ b/tp/t/results/moresectioning/anchor_in_footnote_split_node.pl
@@ -0,0 +1,508 @@
+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{'anchor_in_footnote_split_node'} = {
+ 'contents' => [
+ {
+ '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' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'In top node'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in footnote
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Anchor in footnote'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'normalized' => 'Anchor-in-footnote'
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'chapter'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chapter'
+ },
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'preformatted'
+ }
+ ],
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'menu'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'text_arg' => 'menu'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'chapter'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Anchor in footnote'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Anchor-in-footnote'
+ },
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'anchor_in_footnote_split_node'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'anchor_in_footnote_split_node'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'anchor_in_footnote_split_node'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'args'}[0]{'extra'}{'node_content'}[0]
=
$result_trees{'anchor_in_footnote_split_node'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+
+$result_texis{'anchor_in_footnote_split_node'} = '@node Top
+@top Top
+
+In top node@footnote{in footnote
+@anchor{Anchor in footnote}.
+}
+
+@menu
+* chapter::
+@end menu
+
+@node chapter
+@chapter Chap
+
+@ref{Anchor in footnote}.
+';
+
+
+$result_texts{'anchor_in_footnote_split_node'} = 'Top
+***
+
+In top node
+
+* chapter::
+
+1 Chap
+******
+
+Anchor in footnote.
+';
+
+$result_sectioning{'anchor_in_footnote_split_node'} = {
+ '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' => 'chapter'
+ },
+ '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_footnote_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'anchor_in_footnote_split_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'anchor_in_footnote_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
=
$result_sectioning{'anchor_in_footnote_split_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'anchor_in_footnote_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
=
$result_sectioning{'anchor_in_footnote_split_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'anchor_in_footnote_split_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
= $result_sectioning{'anchor_in_footnote_split_node'};
+
+$result_nodes{'anchor_in_footnote_split_node'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'structure' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'structure' => {
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'structure' => {
+ 'section_number' => 1
+ }
+ },
+ 'normalized' => 'chapter'
+ },
+ 'structure' => {
+ 'node_prev' => {},
+ 'node_up' => {}
+ }
+ },
+ 'node_next' => {}
+ }
+};
+$result_nodes{'anchor_in_footnote_split_node'}{'structure'}{'menu_child'}{'structure'}{'node_prev'}
= $result_nodes{'anchor_in_footnote_split_node'};
+$result_nodes{'anchor_in_footnote_split_node'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
= $result_nodes{'anchor_in_footnote_split_node'};
+$result_nodes{'anchor_in_footnote_split_node'}{'structure'}{'node_next'} =
$result_nodes{'anchor_in_footnote_split_node'}{'structure'}{'menu_child'};
+
+$result_menus{'anchor_in_footnote_split_node'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'structure' => {
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter'
+ },
+ 'structure' => {
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ }
+ }
+ }
+};
+$result_menus{'anchor_in_footnote_split_node'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
= $result_menus{'anchor_in_footnote_split_node'};
+
+$result_errors{'anchor_in_footnote_split_node'} = [];
+
+
+$result_floats{'anchor_in_footnote_split_node'} = {};
+
+
+1;
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/Anchor-in-footnote.html
b/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/Anchor-in-footnote.html
new file mode 100644
index 0000000000..25fc8b8458
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/Anchor-in-footnote.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<!-- This file redirects to the location of a node or anchor -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Anchor in footnote (Top)</title>
+
+<meta name="description" content="Anchor in footnote (Top)">
+<meta name="keywords" content="Anchor in footnote (Top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+
+<meta http-equiv="Refresh" content="0; url=index.html#Anchor-in-footnote">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+</head>
+
+<body lang="en">
+
+<p>The node you are looking for is at <a
href="index.html#Anchor-in-footnote">Anchor in footnote</a>.</p>
+</body>
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/chapter.html
b/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/chapter.html
new file mode 100644
index 0000000000..7dba9ed269
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/chapter.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>chapter (Top)</title>
+
+<meta name="description" content="chapter (Top)">
+<meta name="keywords" content="chapter (Top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chapter">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a
href="index.html" accesskey="u" rel="up">Top</a> </p>
+</div>
+<hr>
+<h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link"
href="#Chap"> ¶</a></span></h2>
+
+<p><a class="ref" href="index.html#Anchor-in-footnote">Anchor in footnote</a>.
+</p></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/index.html
b/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/index.html
new file mode 100644
index 0000000000..f6a4ad93c3
--- /dev/null
+++
b/tp/t/results/moresectioning/anchor_in_footnote_split_node/res_html/index.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top</title>
+
+<meta name="description" content="Top">
+<meta name="keywords" content="Top">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chapter.html" rel="next" title="chapter">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chapter.html" accesskey="n" rel="next">Chap</a> </p>
+</div>
+<hr>
+<h1 class="top" id="Top-1"><span>Top<a class="copiable-link" href="#Top-1">
¶</a></span></h1>
+
+<p>In top node<a class="footnote" id="DOCF1" href="#FOOT1"><sup>1</sup></a>
+</p>
+
+<ul class="mini-toc">
+<li><a href="chapter.html" accesskey="1">Chap</a></li>
+</ul>
+</div>
+<div class="footnotes-segment">
+<hr>
+<h4 class="footnotes-heading">Footnotes</h4>
+
+<h5 class="footnote-body-heading"><a id="FOOT1" href="#DOCF1">(1)</a></h5>
+<p>in footnote
+<a class="anchor" id="Anchor-in-footnote"></a>.
+</p>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chapter.html" accesskey="n" rel="next">Chap</a> </p>
+</div>
+
+
+
+</body>
+</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/t/40moresectioning.t, tp/Makefile.tres: add anchor_in_footnote_split_node and anchor_in_footnote_separate_split_node tests.,
Patrice Dumas <=