[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_get_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_get_css_elements_classes): set the values based on global selectors when there are only global selectors. |
Date: |
Mon, 15 Jan 2024 03:59:20 -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 b7dd838333 * tp/Texinfo/XS/convert/convert_html.c
(html_get_css_elements_classes): set the values based on global selectors when
there are only global selectors.
b7dd838333 is described below
commit b7dd838333c3a906de510de178bce034f6f359dc
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jan 15 09:59:20 2024 +0100
* tp/Texinfo/XS/convert/convert_html.c
(html_get_css_elements_classes): set the values based on global
selectors when there are only global selectors.
* tp/Makefile.tres, tp/t/html_tests.t (command_in_node_redirection*):
add test of commands in node redirection @-commands and in documment
@top, to test CSS rules output.
---
ChangeLog | 10 +
tp/Makefile.tres | 11 +
tp/Texinfo/XS/convert/convert_html.c | 9 +-
tp/Texinfo/XS/parsetexi/end_line.c | 5 +-
tp/t/html_tests.t | 38 +++
.../html_tests/command_in_node_redirection.pl | 190 +++++++++++
.../res_html/index.html | 35 +++
.../command_in_node_redirection/res_html/yyyy.html | 27 ++
.../command_in_node_redirection_multiple.pl | 347 +++++++++++++++++++++
.../res_html/ancher.html | 27 ++
.../res_html/gg.html | 28 ++
.../res_html/index.html | 38 +++
.../res_html/ll-jj.html | 28 ++
.../res_html/yyyy.html | 28 ++
.../command_in_node_redirection_other_command.pl | 203 ++++++++++++
.../res_html/gg.html | 28 ++
.../res_html/index.html | 35 +++
.../command_in_node_redirection_same_command.pl | 203 ++++++++++++
.../res_html/ancher.html | 27 ++
.../res_html/index.html | 35 +++
.../command_in_node_redirection_two_commands.pl | 222 +++++++++++++
.../res_html/index.html | 35 +++
.../res_html/ll-jj.html | 28 ++
23 files changed, 1633 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f2eb2a718f..19b2c26308 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-01-15 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/convert_html.c
+ (html_get_css_elements_classes): set the values based on global
+ selectors when there are only global selectors.
+
+ * tp/Makefile.tres, tp/t/html_tests.t (command_in_node_redirection*):
+ add test of commands in node redirection @-commands and in documment
+ @top, to test CSS rules output.
+
2024-01-14 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/parsetexi/end_line.c (end_line_misc_line): map gb2312
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 82936a1bac..0abcd70bd9 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -551,6 +551,16 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/html_tests/check_htmlxref_menu/res_html \
t/results/html_tests/check_htmlxref_no_use_nodes.pl \
t/results/html_tests/check_htmlxref_no_use_nodes/res_html \
+ t/results/html_tests/command_in_node_redirection.pl \
+ t/results/html_tests/command_in_node_redirection/res_html \
+ t/results/html_tests/command_in_node_redirection_multiple.pl \
+ t/results/html_tests/command_in_node_redirection_multiple/res_html \
+ t/results/html_tests/command_in_node_redirection_other_command.pl \
+ t/results/html_tests/command_in_node_redirection_other_command/res_html \
+ t/results/html_tests/command_in_node_redirection_same_command.pl \
+ t/results/html_tests/command_in_node_redirection_same_command/res_html \
+ t/results/html_tests/command_in_node_redirection_two_commands.pl \
+ t/results/html_tests/command_in_node_redirection_two_commands/res_html \
t/results/html_tests/commands_in_abbr.pl \
t/results/html_tests/commands_in_alt.pl \
t/results/html_tests/commands_in_email.pl \
@@ -1566,6 +1576,7 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/multitable/empty_headitem.pl \
t/results/multitable/empty_item_tab.pl \
t/results/multitable/empty_multitable_with_cells.pl \
+ t/results/multitable/fullwidth_in_prototype.pl \
t/results/multitable/inter_item_commands_in_multitable.pl \
t/results/multitable/multitable_begin_with_tab.pl \
t/results/multitable/multitable_bracketed_no_inter_space_prototype.pl \
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index 0f5d68dc61..ee4cd49d11 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -4384,7 +4384,6 @@ html_get_css_elements_classes (CONVERTER *self, const
char *filename)
if (filename)
{
- CSS_LIST *css_list;
page_number = find_page_name_number (&self->page_name_number,
filename);
if (!page_number)
@@ -4403,7 +4402,9 @@ html_get_css_elements_classes (CONVERTER *self, const
char *filename)
{
/* this happens legitimately in case of an output file not
associated to an output unit and not having registered
- any CSS selector */
+ any CSS selector. Also the formatting of the node or
+ similar command is in general done in global context
+ so no file is added */
char *msg;
xasprintf (&msg, "%s: get CSS could not find page number",
filename);
@@ -4414,6 +4415,7 @@ html_get_css_elements_classes (CONVERTER *self, const
char *filename)
}
if (page_number)
{
+ CSS_LIST *css_list;
css_list = &self->page_css.list[page_number];
if (css_list->number)
{
@@ -4435,6 +4437,8 @@ html_get_css_elements_classes (CONVERTER *self, const
char *filename)
/* +1 for 'span:hover a.copiable-link' */
size_t space = global_context_css_list->number +1;
selectors = (const char **) malloc (sizeof (char *) * space);
+ memcpy (selectors, global_context_css_list->list,
+ global_context_css_list->number * sizeof (char *));
selector_nr = global_context_css_list->number;
}
else
@@ -4465,6 +4469,7 @@ html_get_css_elements_classes (CONVERTER *self, const
char *filename)
}
}
}
+
for (j = 0; j < selector_nr; j++)
{
if (!strcmp ("a.copiable-link", selectors[j]))
diff --git a/tp/Texinfo/XS/parsetexi/end_line.c
b/tp/Texinfo/XS/parsetexi/end_line.c
index 1361e6b92d..4fe9ce94f4 100644
--- a/tp/Texinfo/XS/parsetexi/end_line.c
+++ b/tp/Texinfo/XS/parsetexi/end_line.c
@@ -1383,8 +1383,9 @@ end_line_misc_line (ELEMENT *current)
IANA character sets assignments, there is no EUC-CN and
the Preferred MIME Name of GB2312 is GB2312, see:
https://www.iana.org/assignments/character-sets/character-sets.xhtml
- Set it the same as Perl here, even though it looks wrong,
- just to have the same output.
+
+ Set it the same as Perl here, even though it looks wrong,
+ just to have the same output.
*/
"gb2312", "euc-cn",
};
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index e27e6ac78e..11b3b93bf5 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -1025,6 +1025,44 @@ Need 2 elements for separate footnotes.
@top top
', {}, {'TOP_FILE' => 'my-node.html', 'USE_NODES', 0}],
+['command_in_node_redirection',
+'@node Top
+@top t @r{in r}
+
+@anchor{yyyy}
+'],
+['command_in_node_redirection_other_command',
+'@node Top
+@top t @r{in r}
+
+@anchor{@sansserif{gg}}
+'],
+['command_in_node_redirection_same_command',
+'@node Top
+@top t @r{in r}
+
+@anchor{@r{ancher}}
+'],
+['command_in_node_redirection_two_commands',
+'@node Top
+@top t @r{in r}
+
+@anchor{@sansserif{ll} @r{jj}}
+'],
+# this tests more what happens for the subsequent redirections,
+# in particular shows that what is in anchor is in global CSS context.
+['command_in_node_redirection_multiple',
+'@node Top
+@top t @r{in r}
+
+@anchor{yyyy}
+
+@anchor{@sansserif{gg}}
+
+@anchor{@r{ancher}}
+
+@anchor{@sansserif{ll} @r{jj}}
+',],
# NOTE the result is incorrect, the first footnote text is at the
# end of the file but the link is towards the separate file.
# The manual states that the footnotestyle should be in the preamble,
diff --git a/tp/t/results/html_tests/command_in_node_redirection.pl
b/tp/t/results/html_tests/command_in_node_redirection.pl
new file mode 100644
index 0000000000..90a4fd11cc
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection.pl
@@ -0,0 +1,190 @@
+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{'command_in_node_redirection'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 't '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in r'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'yyyy'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'yyyy'
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+
+$result_texis{'command_in_node_redirection'} = '@node Top
+@top t @r{in r}
+
+@anchor{yyyy}
+';
+
+
+$result_texts{'command_in_node_redirection'} = 't in r
+******
+
+';
+
+$result_sectioning{'command_in_node_redirection'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_level' => 0,
+ 'sectioning_root' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'command_in_node_redirection'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'command_in_node_redirection'};
+
+$result_nodes{'command_in_node_redirection'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_menus{'command_in_node_redirection'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_errors{'command_in_node_redirection'} = [];
+
+
+$result_floats{'command_in_node_redirection'} = {};
+
+
+1;
diff --git
a/tp/t/results/html_tests/command_in_node_redirection/res_html/index.html
b/tp/t/results/html_tests/command_in_node_redirection/res_html/index.html
new file mode 100644
index 0000000000..c3e82f8166
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection/res_html/index.html
@@ -0,0 +1,35 @@
+<!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 (t in r)</title>
+
+<meta name="description" content="Top (t in r)">
+<meta name="keywords" content="Top (t in r)">
+<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">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="t-in-r"><span>t <span class="r">in r</span><a
class="copiable-link" href="#t-in-r"> ¶</a></span></h1>
+
+<a class="anchor" id="yyyy"></a></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection/res_html/yyyy.html
b/tp/t/results/html_tests/command_in_node_redirection/res_html/yyyy.html
new file mode 100644
index 0000000000..fa0b468174
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection/res_html/yyyy.html
@@ -0,0 +1,27 @@
+<!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>yyyy (t in r)</title>
+
+<meta name="description" content="yyyy (t in r)">
+<meta name="keywords" content="yyyy (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#yyyy">
+<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#yyyy">yyyy</a>.</p>
+</body>
diff --git a/tp/t/results/html_tests/command_in_node_redirection_multiple.pl
b/tp/t/results/html_tests/command_in_node_redirection_multiple.pl
new file mode 100644
index 0000000000..6915a3164f
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection_multiple.pl
@@ -0,0 +1,347 @@
+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{'command_in_node_redirection_multiple'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 't '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in r'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'yyyy'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'yyyy'
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'gg'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'sansserif',
+ 'source_info' => {
+ 'line_nr' => 6
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'gg'
+ },
+ 'source_info' => {
+ 'line_nr' => 6
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'ancher'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 8
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'ancher'
+ },
+ 'source_info' => {
+ 'line_nr' => 8
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'll'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'sansserif',
+ 'source_info' => {
+ 'line_nr' => 10
+ }
+ },
+ {
+ 'text' => ' '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'jj'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 10
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'll-jj'
+ },
+ 'source_info' => {
+ 'line_nr' => 10
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+
+$result_texis{'command_in_node_redirection_multiple'} = '@node Top
+@top t @r{in r}
+
+@anchor{yyyy}
+
+@anchor{@sansserif{gg}}
+
+@anchor{@r{ancher}}
+
+@anchor{@sansserif{ll} @r{jj}}
+';
+
+
+$result_texts{'command_in_node_redirection_multiple'} = 't in r
+******
+
+
+
+
+';
+
+$result_sectioning{'command_in_node_redirection_multiple'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_level' => 0,
+ 'sectioning_root' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'command_in_node_redirection_multiple'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'command_in_node_redirection_multiple'};
+
+$result_nodes{'command_in_node_redirection_multiple'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_menus{'command_in_node_redirection_multiple'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_errors{'command_in_node_redirection_multiple'} = [];
+
+
+$result_floats{'command_in_node_redirection_multiple'} = {};
+
+
+1;
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/ancher.html
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/ancher.html
new file mode 100644
index 0000000000..93fa89d498
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/ancher.html
@@ -0,0 +1,27 @@
+<!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>ancher (t in r)</title>
+
+<meta name="description" content="ancher (t in r)">
+<meta name="keywords" content="ancher (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#ancher">
+<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#ancher"><span
class="r">ancher</span></a>.</p>
+</body>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/gg.html
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/gg.html
new file mode 100644
index 0000000000..dc87f63245
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/gg.html
@@ -0,0 +1,28 @@
+<!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>gg (t in r)</title>
+
+<meta name="description" content="gg (t in r)">
+<meta name="keywords" content="gg (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#gg">
+<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#gg"><span
class="sansserif">gg</span></a>.</p>
+</body>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/index.html
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/index.html
new file mode 100644
index 0000000000..d1bc5ed2b0
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/index.html
@@ -0,0 +1,38 @@
+<!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 (t in r)</title>
+
+<meta name="description" content="Top (t in r)">
+<meta name="keywords" content="Top (t in r)">
+<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">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="t-in-r"><span>t <span class="r">in r</span><a
class="copiable-link" href="#t-in-r"> ¶</a></span></h1>
+
+<a class="anchor" id="yyyy"></a>
+<a class="anchor" id="gg"></a>
+<a class="anchor" id="ancher"></a>
+<a class="anchor" id="ll-jj"></a></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/ll-jj.html
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/ll-jj.html
new file mode 100644
index 0000000000..90bc43f025
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/ll-jj.html
@@ -0,0 +1,28 @@
+<!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>ll jj (t in r)</title>
+
+<meta name="description" content="ll jj (t in r)">
+<meta name="keywords" content="ll jj (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#ll-jj">
+<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#ll-jj"><span
class="sansserif">ll</span> <span class="r">jj</span></a>.</p>
+</body>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/yyyy.html
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/yyyy.html
new file mode 100644
index 0000000000..8e520d877d
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_multiple/res_html/yyyy.html
@@ -0,0 +1,28 @@
+<!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>yyyy (t in r)</title>
+
+<meta name="description" content="yyyy (t in r)">
+<meta name="keywords" content="yyyy (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#yyyy">
+<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#yyyy">yyyy</a>.</p>
+</body>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_other_command.pl
b/tp/t/results/html_tests/command_in_node_redirection_other_command.pl
new file mode 100644
index 0000000000..024af4361f
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection_other_command.pl
@@ -0,0 +1,203 @@
+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{'command_in_node_redirection_other_command'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 't '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in r'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'gg'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'sansserif',
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'gg'
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+
+$result_texis{'command_in_node_redirection_other_command'} = '@node Top
+@top t @r{in r}
+
+@anchor{@sansserif{gg}}
+';
+
+
+$result_texts{'command_in_node_redirection_other_command'} = 't in r
+******
+
+';
+
+$result_sectioning{'command_in_node_redirection_other_command'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_level' => 0,
+ 'sectioning_root' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'command_in_node_redirection_other_command'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'command_in_node_redirection_other_command'};
+
+$result_nodes{'command_in_node_redirection_other_command'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_menus{'command_in_node_redirection_other_command'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_errors{'command_in_node_redirection_other_command'} = [];
+
+
+$result_floats{'command_in_node_redirection_other_command'} = {};
+
+
+1;
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_other_command/res_html/gg.html
b/tp/t/results/html_tests/command_in_node_redirection_other_command/res_html/gg.html
new file mode 100644
index 0000000000..dc87f63245
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_other_command/res_html/gg.html
@@ -0,0 +1,28 @@
+<!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>gg (t in r)</title>
+
+<meta name="description" content="gg (t in r)">
+<meta name="keywords" content="gg (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#gg">
+<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#gg"><span
class="sansserif">gg</span></a>.</p>
+</body>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_other_command/res_html/index.html
b/tp/t/results/html_tests/command_in_node_redirection_other_command/res_html/index.html
new file mode 100644
index 0000000000..4686d3ec73
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_other_command/res_html/index.html
@@ -0,0 +1,35 @@
+<!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 (t in r)</title>
+
+<meta name="description" content="Top (t in r)">
+<meta name="keywords" content="Top (t in r)">
+<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">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="t-in-r"><span>t <span class="r">in r</span><a
class="copiable-link" href="#t-in-r"> ¶</a></span></h1>
+
+<a class="anchor" id="gg"></a></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_same_command.pl
b/tp/t/results/html_tests/command_in_node_redirection_same_command.pl
new file mode 100644
index 0000000000..96682b04b4
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection_same_command.pl
@@ -0,0 +1,203 @@
+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{'command_in_node_redirection_same_command'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 't '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in r'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'ancher'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'ancher'
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+
+$result_texis{'command_in_node_redirection_same_command'} = '@node Top
+@top t @r{in r}
+
+@anchor{@r{ancher}}
+';
+
+
+$result_texts{'command_in_node_redirection_same_command'} = 't in r
+******
+
+';
+
+$result_sectioning{'command_in_node_redirection_same_command'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_level' => 0,
+ 'sectioning_root' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'command_in_node_redirection_same_command'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'command_in_node_redirection_same_command'};
+
+$result_nodes{'command_in_node_redirection_same_command'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_menus{'command_in_node_redirection_same_command'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_errors{'command_in_node_redirection_same_command'} = [];
+
+
+$result_floats{'command_in_node_redirection_same_command'} = {};
+
+
+1;
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_same_command/res_html/ancher.html
b/tp/t/results/html_tests/command_in_node_redirection_same_command/res_html/ancher.html
new file mode 100644
index 0000000000..93fa89d498
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_same_command/res_html/ancher.html
@@ -0,0 +1,27 @@
+<!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>ancher (t in r)</title>
+
+<meta name="description" content="ancher (t in r)">
+<meta name="keywords" content="ancher (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#ancher">
+<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#ancher"><span
class="r">ancher</span></a>.</p>
+</body>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_same_command/res_html/index.html
b/tp/t/results/html_tests/command_in_node_redirection_same_command/res_html/index.html
new file mode 100644
index 0000000000..fd20807870
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_same_command/res_html/index.html
@@ -0,0 +1,35 @@
+<!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 (t in r)</title>
+
+<meta name="description" content="Top (t in r)">
+<meta name="keywords" content="Top (t in r)">
+<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">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="t-in-r"><span>t <span class="r">in r</span><a
class="copiable-link" href="#t-in-r"> ¶</a></span></h1>
+
+<a class="anchor" id="ancher"></a></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_two_commands.pl
b/tp/t/results/html_tests/command_in_node_redirection_two_commands.pl
new file mode 100644
index 0000000000..2b8e7154e2
--- /dev/null
+++ b/tp/t/results/html_tests/command_in_node_redirection_two_commands.pl
@@ -0,0 +1,222 @@
+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{'command_in_node_redirection_two_commands'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 't '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in r'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'll'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'sansserif',
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'text' => ' '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'jj'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'r',
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'll-jj'
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+
+$result_texis{'command_in_node_redirection_two_commands'} = '@node Top
+@top t @r{in r}
+
+@anchor{@sansserif{ll} @r{jj}}
+';
+
+
+$result_texts{'command_in_node_redirection_two_commands'} = 't in r
+******
+
+';
+
+$result_sectioning{'command_in_node_redirection_two_commands'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_level' => 0,
+ 'sectioning_root' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'command_in_node_redirection_two_commands'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'command_in_node_redirection_two_commands'};
+
+$result_nodes{'command_in_node_redirection_two_commands'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_menus{'command_in_node_redirection_two_commands'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+];
+
+$result_errors{'command_in_node_redirection_two_commands'} = [];
+
+
+$result_floats{'command_in_node_redirection_two_commands'} = {};
+
+
+1;
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_two_commands/res_html/index.html
b/tp/t/results/html_tests/command_in_node_redirection_two_commands/res_html/index.html
new file mode 100644
index 0000000000..4a53e13d68
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_two_commands/res_html/index.html
@@ -0,0 +1,35 @@
+<!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 (t in r)</title>
+
+<meta name="description" content="Top (t in r)">
+<meta name="keywords" content="Top (t in r)">
+<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">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="t-in-r"><span>t <span class="r">in r</span><a
class="copiable-link" href="#t-in-r"> ¶</a></span></h1>
+
+<a class="anchor" id="ll-jj"></a></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/command_in_node_redirection_two_commands/res_html/ll-jj.html
b/tp/t/results/html_tests/command_in_node_redirection_two_commands/res_html/ll-jj.html
new file mode 100644
index 0000000000..90bc43f025
--- /dev/null
+++
b/tp/t/results/html_tests/command_in_node_redirection_two_commands/res_html/ll-jj.html
@@ -0,0 +1,28 @@
+<!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>ll jj (t in r)</title>
+
+<meta name="description" content="ll jj (t in r)">
+<meta name="keywords" content="ll jj (t in r)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<style type="text/css">
+<!--
+span.r {font-family: initial; font-weight: normal; font-style: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+-->
+</style>
+
+<meta http-equiv="Refresh" content="0; url=index.html#ll-jj">
+<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#ll-jj"><span
class="sansserif">ll</span> <span class="r">jj</span></a>.</p>
+</body>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_get_css_elements_classes): set the values based on global selectors when there are only global selectors.,
Patrice Dumas <=