texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: \GNUTexinfonopagebreakheading


From: Gavin D. Smith
Subject: branch master updated: \GNUTexinfonopagebreakheading
Date: Sat, 03 Sep 2022 17:03:15 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 55858ee7bc \GNUTexinfonopagebreakheading
55858ee7bc is described below

commit 55858ee7bca663adf465d1efa70a513f90aea0cc
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Sep 3 22:00:12 2022 +0100

    \GNUTexinfonopagebreakheading
    
    * tp/Texinfo/Convert/LaTeX.pm (%section_map): Only use
    \GNUTexinfonopagebreakheading for @chapheading and @majorheading.
    This macro can cause broken vertical spacing, evidently due to
    the grouping characters used, and it is not necessary for these
    commands.
    (_latex_header): Output \GNUTexinfonopagebreakheading definition
    on demand with $self->{'extra_definitions'} hash.  Reword a
    comment.
---
 ChangeLog                                          | 15 +++++++++-
 tp/Texinfo/Convert/LaTeX.pm                        | 15 ++++++----
 .../combined_fonts/res_latex/combined_fonts.tex    |  5 +---
 .../res_latex/definition_commands.tex              |  5 +---
 .../converters_tests/empty/res_latex/empty.tex     |  5 +---
 .../res_latex/minimal_empty_empty.tex              |  5 +---
 .../res_latex/minimal_empty_with_bye.tex           |  5 +---
 .../res_latex/minimal_empty_with_input.tex         |  5 +---
 .../printindex_merged_indices_code_style.tex       |  5 +---
 .../res_latex/references_to_top_no_top_output.tex  |  5 +---
 .../res_latex/simplest_no_node_section.tex         |  5 +---
 .../coverage/punctuation_in_line_commands.pl       |  2 +-
 .../results/coverage_braces/heading_in_footnote.pl |  2 +-
 .../res_latex/char_latin1_latin1_in_refs.tex       |  5 +---
 .../mathjax_with_texinfo_enable_encoding.tex       |  5 +---
 tp/t/results/indices/def_syn_indices.pl            |  5 +---
 tp/t/results/indices/double_seeentry_seealso.pl    |  5 +---
 tp/t/results/indices/empty_cindex_entry.pl         |  5 +---
 tp/t/results/indices/empty_index_entry.pl          |  5 +---
 tp/t/results/indices/empty_string_index_entry.pl   |  5 +---
 tp/t/results/indices/explicit_sort_key.pl          |  5 +---
 .../multiple_index_text_sortas_seeentry_seealso.pl |  5 +---
 tp/t/results/indices/seealso_duplicate.pl          |  5 +---
 tp/t/results/indices/seeentry.pl                   |  5 +---
 tp/t/results/indices/subentries.pl                 |  5 +---
 tp/t/results/indices/subentry_and_sortas.pl        |  5 +---
 tp/t/results/indices/syncode_index_print_both.pl   |  5 +---
 tp/t/results/indices/transparent_sort_chars.pl     |  5 +---
 .../res_latex/inter_item_commands_in_enumerate.tex |  5 +---
 .../res_latex/inter_item_commands_in_itemize.tex   |  5 +---
 .../res_latex/multiple_lang_chapters.tex           |  5 +---
 ...anchor_links_xref_xrefautomaticsectiontitle.tex |  5 +---
 .../brace_in_index/res_latex/brace_in_index.tex    |  5 +---
 .../custom_headings/res_latex/custom_headings.tex  |  5 +---
 .../res_latex/enumerate_arguments.tex              |  5 +---
 .../res_latex/error_in_sectioning_command.tex      |  5 +---
 .../res_latex/example_in_cartouche.tex             |  5 +---
 .../float_and_refs/res_latex/float_and_refs.tex    |  5 +---
 .../fonttextsize/res_latex/fonttextsize.tex        |  5 +---
 .../latex_tests/indices/res_latex/indices.tex      |  5 +---
 .../res_latex/informative_commands_in_top_node.tex |  5 +---
 .../res_latex/nested_enumerate.tex                 |  5 +---
 .../nested_itemize/res_latex/nested_itemize.tex    |  5 +---
 .../no_titlepage_and_setchapternewpage_odd.tex     |  5 +---
 .../no_titlepage_and_setchapternewpage_on.tex      |  5 +---
 .../latex_tests/pagesizes/res_latex/pagesizes.tex  |  5 +---
 .../latex_tests/pagetype/res_latex/pagetype.tex    |  5 +---
 .../setchapternewpage_on_odd_titlepage.tex         |  5 +---
 .../res_latex/settitle_and_headings.tex            |  5 +---
 .../shorttitlepage/res_latex/shorttitlepage.tex    |  5 +---
 .../three_setchapternewpage_on_odd_off.tex         |  5 +---
 .../res_latex/titlepage_and_headings.tex           |  5 +---
 .../titlepage_and_setchapternewpage_odd.tex        |  5 +---
 .../titlepage_and_setchapternewpage_on.tex         |  5 +---
 .../res_latex/titlepage_classical.tex              |  5 +---
 .../res_latex/titlepage_in_top_node.tex            |  5 +---
 .../res_latex/titlepage_long_title.tex             |  5 +---
 .../res_latex/titlepage_no_author.tex              |  5 +---
 .../res_latex/titlepage_no_title.tex               |  5 +---
 .../titlepage_with_commands_classical.tex          |  5 +---
 .../res_latex/two_setchapternewpage_odd_on.tex     |  5 +---
 .../res_latex/two_setchapternewpage_on_odd.tex     |  5 +---
 .../res_latex/verbatim_in_smallformat.tex          |  5 +---
 .../codequoteundirected_codequotebacktick.pl       |  5 +---
 .../misc_commands/command_in_heading_footing.pl    |  5 +---
 .../misc_commands/comment_space_command_on_line.pl |  7 ++---
 tp/t/results/misc_commands/comments_in_text.pl     |  5 +---
 tp/t/results/misc_commands/definfoenclose.pl       |  5 +---
 .../misc_commands/definfoenclose_with_empty_arg.pl |  5 +---
 tp/t/results/misc_commands/empty_center.pl         |  5 +---
 .../results/misc_commands/empty_center_with_arg.pl |  5 +---
 tp/t/results/misc_commands/footnote_in_center.pl   |  5 +---
 .../misc_commands/heading_command_in_commands.pl   |  5 +---
 .../incorrect_allowcodebreaks_argument.pl          |  5 +---
 tp/t/results/misc_commands/indent_in_quotation.pl  |  5 +---
 tp/t/results/misc_commands/kbdinputstyle.pl        |  5 +---
 .../misc_commands/kbdinputstyle_in_table.pl        |  5 +---
 .../no_empty_line_between_headings.pl              |  7 ++---
 .../misc_commands/noindent_after_smallexample.pl   |  5 +---
 tp/t/results/misc_commands/noindent_empty_para.pl  |  5 +---
 .../results/misc_commands/noindent_in_paragraph.pl |  5 +---
 tp/t/results/misc_commands/noindent_indent.pl      |  5 +---
 tp/t/results/misc_commands/ref_in_center.pl        |  5 +---
 tp/t/results/misc_commands/setfilename.pl          |  5 +---
 tp/t/results/misc_commands/test_allowcodebreaks.pl |  5 +---
 tp/t/results/misc_commands/vskip.pl                |  5 +---
 tp/t/results/quotation/empty_quotation.pl          |  5 +---
 tp/t/results/quotation/quotation_and_author.pl     |  5 +---
 .../quotation/quotation_author_in_example.pl       |  5 +---
 .../space_at_commands_end_quotation_line.pl        |  5 +---
 .../res_latex/chapter_between_nodes.tex            |  5 +---
 .../sectioning/character_and_spaces_in_refs.pl     |  4 +--
 .../lone_Top_node/res_latex/lone_Top_node.tex      |  5 +---
 .../sectioning/loop_nodes/res_latex/loop_nodes.tex |  5 +---
 .../node_sectop_before_chapter_no_node.tex         |  5 +---
 .../res_latex/node_sectop_before_lone_node_Top.tex |  5 +---
 .../res_latex/nodes_before_after_top.tex           |  5 +---
 .../res_latex/nodes_before_after_top_xref.tex      |  5 +---
 .../res_latex/nodes_before_top.tex                 |  5 +---
 .../res_latex/section_before_after_top_node.tex    |  5 +---
 .../section_before_after_top_node_last_node.tex    |  5 +---
 .../res_latex/section_chapter_before_top_nodes.tex |  5 +---
 tp/t/results/sectioning/top_node_part_top.pl       |  5 +---
 .../res_latex/inter_item_commands_in_table.tex     |  5 +---
 .../inter_item_commands_in_table_in_example.tex    |  5 +---
 .../non_ascii_test_latex/os\303\251_utf8.tex"      |  5 +---
 .../indices_in_begin_tables_lists.tex              |  5 +---
 .../indices_in_begin_tables_lists.tex              |  5 +---
 .../res_parser/formatting_latex/formatting.tex     | 32 +++++++++++-----------
 109 files changed, 149 insertions(+), 440 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 42347ad3c9..a405ae9429 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-09-03  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       \GNUTexinfonopagebreakheading
+
+       * tp/Texinfo/Convert/LaTeX.pm (%section_map): Only use
+       \GNUTexinfonopagebreakheading for @chapheading and @majorheading.
+       This macro can cause broken vertical spacing, evidently due to
+       the grouping characters used, and it is not necessary for these
+       commands.
+       (_latex_header): Output \GNUTexinfonopagebreakheading definition
+       on demand with $self->{'extra_definitions'} hash.  Reword a
+       comment.
+
 2022-09-03  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.texi (Structuring Command Types):
@@ -27,7 +40,7 @@
 
        Shorter LaTeX preamble
 
-       * tp/Texinfo/Convert/LaTeX.pm: (_latex_header):
+       * tp/Texinfo/Convert/LaTeX.pm (_latex_header):
        Do not redefine 'plain' page style.  Condense lines in some
        definitions.  Fix a spelling error.
        ($titleps_preamble): Remove unused.
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 8f228a87f9..61477fd98b 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -293,9 +293,9 @@ my %section_map = (
    # embed in a \GNUTexinfonopagebreakheading call to remove pagebreaks
    'chapheading' => 'GNUTexinfonopagebreakheading{\chapter*}',
    'majorheading' => 'GNUTexinfonopagebreakheading{\chapter*}',
-   'heading' => 'GNUTexinfonopagebreakheading{\section*}',
-   'subheading' => 'GNUTexinfonopagebreakheading{\subsection*}',
-   'subsubheading' => 'GNUTexinfonopagebreakheading{\subsubsection*}',
+   'heading' => 'section*',
+   'subheading' => 'subsection*',
+   'subsubheading' => 'subsubsection*',
    'unnumbered' => 'chapter*',
    'centerchap' => 'chapter*',
    'unnumberedsec' => 'section*',
@@ -1294,7 +1294,7 @@ sub _latex_header() {
     }
     $header_code .= "\n";
   }
-  $header_code .= '% command that does nothing used to help with substitutions 
in commands
+  $header_code .= '% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 ';
@@ -1315,11 +1315,14 @@ sub _latex_header() {
 ';
   }
 
-  $header_code .=
+  if ($self->{'extra_definitions'}->{'GNUTexinfonopagebreakheading'}) {
+    $header_code .=
 '% avoid pagebreak and headings setting for a sectioning command
 \newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
 
 ';
+  }
+
   if ($self->{'packages'}->{'mdframed'}) {
    $header_code .= '% the mdframed style for @cartouche
 \mdfdefinestyle{GNUTexinfocartouche}{
@@ -3185,6 +3188,8 @@ sub _convert($$)
           }
           # NOTE we used an extra layer of { } to avoid buggy interactions with
           # square brackets when the titleps package is being used.
+          $self->{'extra_definitions'}->{'GNUTexinfonopagebreakheading'} = 1
+            if $section_cmd =~ /^GNUTexinfonopagebreakheading\{/;
         }
         # we add a label even if in_skipped_node_top (should only
         # be for the Top node, as another node ends in_skipped_node_top).
diff --git 
a/tp/t/results/converters_tests/combined_fonts/res_latex/combined_fonts.tex 
b/tp/t/results/converters_tests/combined_fonts/res_latex/combined_fonts.tex
index 99f0424eab..6d45e1414b 100644
--- a/tp/t/results/converters_tests/combined_fonts/res_latex/combined_fonts.tex
+++ b/tp/t/results/converters_tests/combined_fonts/res_latex/combined_fonts.tex
@@ -31,15 +31,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
 
b/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
index 2897975123..d7ec8583a9 100644
--- 
a/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
+++ 
b/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
@@ -32,15 +32,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 % braces are upright in italic and slanted only in @def*
 % so it is turned off here, and turned on @def* lines
 \EmbracOff{}%
diff --git a/tp/t/results/converters_tests/empty/res_latex/empty.tex 
b/tp/t/results/converters_tests/empty/res_latex/empty.tex
index 8796ee00ae..9afe70009e 100644
--- a/tp/t/results/converters_tests/empty/res_latex/empty.tex
+++ b/tp/t/results/converters_tests/empty/res_latex/empty.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/minimal_empty_empty/res_latex/minimal_empty_empty.tex
 
b/tp/t/results/converters_tests/minimal_empty_empty/res_latex/minimal_empty_empty.tex
index 8796ee00ae..9afe70009e 100644
--- 
a/tp/t/results/converters_tests/minimal_empty_empty/res_latex/minimal_empty_empty.tex
+++ 
b/tp/t/results/converters_tests/minimal_empty_empty/res_latex/minimal_empty_empty.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/minimal_empty_with_bye/res_latex/minimal_empty_with_bye.tex
 
b/tp/t/results/converters_tests/minimal_empty_with_bye/res_latex/minimal_empty_with_bye.tex
index 8796ee00ae..9afe70009e 100644
--- 
a/tp/t/results/converters_tests/minimal_empty_with_bye/res_latex/minimal_empty_with_bye.tex
+++ 
b/tp/t/results/converters_tests/minimal_empty_with_bye/res_latex/minimal_empty_with_bye.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/minimal_empty_with_input/res_latex/minimal_empty_with_input.tex
 
b/tp/t/results/converters_tests/minimal_empty_with_input/res_latex/minimal_empty_with_input.tex
index 8796ee00ae..9afe70009e 100644
--- 
a/tp/t/results/converters_tests/minimal_empty_with_input/res_latex/minimal_empty_with_input.tex
+++ 
b/tp/t/results/converters_tests/minimal_empty_with_input/res_latex/minimal_empty_with_input.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/printindex_merged_indices_code_style/res_latex/printindex_merged_indices_code_style.tex
 
b/tp/t/results/converters_tests/printindex_merged_indices_code_style/res_latex/printindex_merged_indices_code_style.tex
index 94ef9f68ad..9f8405b100 100644
--- 
a/tp/t/results/converters_tests/printindex_merged_indices_code_style/res_latex/printindex_merged_indices_code_style.tex
+++ 
b/tp/t/results/converters_tests/printindex_merged_indices_code_style/res_latex/printindex_merged_indices_code_style.tex
@@ -25,15 +25,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/references_to_top_no_top_output/res_latex/references_to_top_no_top_output.tex
 
b/tp/t/results/converters_tests/references_to_top_no_top_output/res_latex/references_to_top_no_top_output.tex
index f30acaab69..17bf8fb5b5 100644
--- 
a/tp/t/results/converters_tests/references_to_top_no_top_output/res_latex/references_to_top_no_top_output.tex
+++ 
b/tp/t/results/converters_tests/references_to_top_no_top_output/res_latex/references_to_top_no_top_output.tex
@@ -28,15 +28,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/converters_tests/simplest_no_node_section/res_latex/simplest_no_node_section.tex
 
b/tp/t/results/converters_tests/simplest_no_node_section/res_latex/simplest_no_node_section.tex
index fd2da6288d..37cca1fba2 100644
--- 
a/tp/t/results/converters_tests/simplest_no_node_section/res_latex/simplest_no_node_section.tex
+++ 
b/tp/t/results/converters_tests/simplest_no_node_section/res_latex/simplest_no_node_section.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/coverage/punctuation_in_line_commands.pl 
b/tp/t/results/coverage/punctuation_in_line_commands.pl
index b8bffa03f8..dd28ed8389 100644
--- a/tp/t/results/coverage/punctuation_in_line_commands.pl
+++ b/tp/t/results/coverage/punctuation_in_line_commands.pl
@@ -1314,7 +1314,7 @@ In float with caption.
 
 \\index[cp]{index"! After punc}%
 
-\\GNUTexinfonopagebreakheading{\\section*}{{heading! After punc}}
+\\section*{{heading! After punc}}
 
 {\\huge \\bfseries titlefont! After punc}
 
diff --git a/tp/t/results/coverage_braces/heading_in_footnote.pl 
b/tp/t/results/coverage_braces/heading_in_footnote.pl
index 6ceed8ebf7..3d16812eca 100644
--- a/tp/t/results/coverage_braces/heading_in_footnote.pl
+++ b/tp/t/results/coverage_braces/heading_in_footnote.pl
@@ -229,7 +229,7 @@ $result_converted{'html_text'}->{'heading_in_footnote'} = 
'<p>T<a class="footnot
 
 
 $result_converted{'latex_text'}->{'heading_in_footnote'} = 'T\\footnote{AAA
-\\GNUTexinfonopagebreakheading{\\section*}{{H1}}
+\\section*{{H1}}
 \\index[cp]{ind e}%
 BBB
 }
diff --git 
a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_latex/char_latin1_latin1_in_refs.tex
 
b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_latex/char_latin1_latin1_in_refs.tex
index 3bfdb99002..4eccb1e9e5 100644
--- 
a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_latex/char_latin1_latin1_in_refs.tex
+++ 
b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_latex/char_latin1_latin1_in_refs.tex
@@ -25,15 +25,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding/res_latex/mathjax_with_texinfo_enable_encoding.tex
 
b/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding/res_latex/mathjax_with_texinfo_enable_encoding.tex
index e64ba0c183..81fef911dc 100644
--- 
a/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding/res_latex/mathjax_with_texinfo_enable_encoding.tex
+++ 
b/tp/t/results/html_tests/mathjax_with_texinfo_enable_encoding/res_latex/mathjax_with_texinfo_enable_encoding.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/indices/def_syn_indices.pl 
b/tp/t/results/indices/def_syn_indices.pl
index d6305d2f3b..7734481ce3 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -2156,15 +2156,12 @@ $result_converted{'latex'}->{'def_syn_indices'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/double_seeentry_seealso.pl 
b/tp/t/results/indices/double_seeentry_seealso.pl
index bd93258535..5e0c3460e7 100644
--- a/tp/t/results/indices/double_seeentry_seealso.pl
+++ b/tp/t/results/indices/double_seeentry_seealso.pl
@@ -933,15 +933,12 @@ $result_converted{'latex'}->{'double_seeentry_seealso'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index 5a036b8331..ff526738ca 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -258,15 +258,12 @@ $result_converted{'latex'}->{'empty_cindex_entry'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/empty_index_entry.pl 
b/tp/t/results/indices/empty_index_entry.pl
index 66a680711b..f08111910c 100644
--- a/tp/t/results/indices/empty_index_entry.pl
+++ b/tp/t/results/indices/empty_index_entry.pl
@@ -438,15 +438,12 @@ $result_converted{'latex'}->{'empty_index_entry'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index 735c9c8bc9..d8b14857cf 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -1086,15 +1086,12 @@ 
$result_converted{'latex'}->{'empty_string_index_entry'} = '\\documentclass{book
 % set defaults for lists that match Texinfo TeX formatting
 \\setlist[description]{style=nextline, font=\\normalfont}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 % braces are upright in italic and slanted only in @def*
 % so it is turned off here, and turned on @def* lines
 \\EmbracOff{}%
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index 2d9c2328c9..e6d1a128d2 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -1174,15 +1174,12 @@ $result_converted{'latex'}->{'explicit_sort_key'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git 
a/tp/t/results/indices/multiple_index_text_sortas_seeentry_seealso.pl 
b/tp/t/results/indices/multiple_index_text_sortas_seeentry_seealso.pl
index 653415d59b..a4af3c0bb0 100644
--- a/tp/t/results/indices/multiple_index_text_sortas_seeentry_seealso.pl
+++ b/tp/t/results/indices/multiple_index_text_sortas_seeentry_seealso.pl
@@ -732,15 +732,12 @@ 
$result_converted{'latex'}->{'multiple_index_text_sortas_seeentry_seealso'} = '\
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index 4e3a81fd41..227926406a 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -502,15 +502,12 @@ $result_converted{'latex'}->{'seealso_duplicate'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index 801874b332..a7ba0185e8 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -814,15 +814,12 @@ $result_converted{'latex'}->{'seeentry'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/subentries.pl 
b/tp/t/results/indices/subentries.pl
index 2792d87e54..45cb4fd1ee 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -1401,15 +1401,12 @@ $result_converted{'latex'}->{'subentries'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/subentry_and_sortas.pl 
b/tp/t/results/indices/subentry_and_sortas.pl
index 6cb44756ef..3fe8b3d89e 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -832,15 +832,12 @@ $result_converted{'latex'}->{'subentry_and_sortas'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/syncode_index_print_both.pl 
b/tp/t/results/indices/syncode_index_print_both.pl
index af86e734a8..e963ac3339 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -820,15 +820,12 @@ $result_converted{'latex'}->{'syncode_index_print_both'} 
= '\\documentclass{book
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index 8f78585d90..80e7241a78 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -639,15 +639,12 @@ $result_converted{'latex'}->{'transparent_sort_chars'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git 
a/tp/t/results/itemize/inter_item_commands_in_enumerate/res_latex/inter_item_commands_in_enumerate.tex
 
b/tp/t/results/itemize/inter_item_commands_in_enumerate/res_latex/inter_item_commands_in_enumerate.tex
index b63afeb070..b780984d6d 100644
--- 
a/tp/t/results/itemize/inter_item_commands_in_enumerate/res_latex/inter_item_commands_in_enumerate.tex
+++ 
b/tp/t/results/itemize/inter_item_commands_in_enumerate/res_latex/inter_item_commands_in_enumerate.tex
@@ -29,15 +29,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[enumerate]{label=\arabic*.}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/itemize/inter_item_commands_in_itemize/res_latex/inter_item_commands_in_itemize.tex
 
b/tp/t/results/itemize/inter_item_commands_in_itemize/res_latex/inter_item_commands_in_itemize.tex
index fb61d73f48..605a981965 100644
--- 
a/tp/t/results/itemize/inter_item_commands_in_itemize/res_latex/inter_item_commands_in_itemize.tex
+++ 
b/tp/t/results/itemize/inter_item_commands_in_itemize/res_latex/inter_item_commands_in_itemize.tex
@@ -29,15 +29,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[itemize]{label=\textbullet}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/languages/multiple_lang_chapters_latex/res_latex/multiple_lang_chapters.tex
 
b/tp/t/results/languages/multiple_lang_chapters_latex/res_latex/multiple_lang_chapters.tex
index fb84e3a9eb..dd253c7f11 100644
--- 
a/tp/t/results/languages/multiple_lang_chapters_latex/res_latex/multiple_lang_chapters.tex
+++ 
b/tp/t/results/languages/multiple_lang_chapters_latex/res_latex/multiple_lang_chapters.tex
@@ -36,15 +36,12 @@
   autoload.bcp47 = on,
   autoload.bcp47.options = import
 }
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 % braces are upright in italic and slanted only in @def*
 % so it is turned off here, and turned on @def* lines
 \EmbracOff{}%
diff --git 
a/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
 
b/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
index 8eeffe4e3d..963a0bcf11 100644
--- 
a/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
+++ 
b/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/brace_in_index/res_latex/brace_in_index.tex 
b/tp/t/results/latex_tests/brace_in_index/res_latex/brace_in_index.tex
index de0bcff000..68d7f6f695 100644
--- a/tp/t/results/latex_tests/brace_in_index/res_latex/brace_in_index.tex
+++ b/tp/t/results/latex_tests/brace_in_index/res_latex/brace_in_index.tex
@@ -29,15 +29,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 % braces are upright in italic and slanted only in @def*
 % so it is turned off here, and turned on @def* lines
 \EmbracOff{}%
diff --git 
a/tp/t/results/latex_tests/custom_headings/res_latex/custom_headings.tex 
b/tp/t/results/latex_tests/custom_headings/res_latex/custom_headings.tex
index f0b3aa0481..784d4dc93a 100644
--- a/tp/t/results/latex_tests/custom_headings/res_latex/custom_headings.tex
+++ b/tp/t/results/latex_tests/custom_headings/res_latex/custom_headings.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/enumerate_arguments/res_latex/enumerate_arguments.tex
 
b/tp/t/results/latex_tests/enumerate_arguments/res_latex/enumerate_arguments.tex
index 45691d4dd8..a9832f195f 100644
--- 
a/tp/t/results/latex_tests/enumerate_arguments/res_latex/enumerate_arguments.tex
+++ 
b/tp/t/results/latex_tests/enumerate_arguments/res_latex/enumerate_arguments.tex
@@ -26,15 +26,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[enumerate]{label=\arabic*.}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/error_in_sectioning_command/res_latex/error_in_sectioning_command.tex
 
b/tp/t/results/latex_tests/error_in_sectioning_command/res_latex/error_in_sectioning_command.tex
index ec91db340c..7471a45083 100644
--- 
a/tp/t/results/latex_tests/error_in_sectioning_command/res_latex/error_in_sectioning_command.tex
+++ 
b/tp/t/results/latex_tests/error_in_sectioning_command/res_latex/error_in_sectioning_command.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
 
b/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
index 69d31bdd41..1272939824 100644
--- 
a/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
+++ 
b/tp/t/results/latex_tests/example_in_cartouche/res_latex/example_in_cartouche.tex
@@ -23,15 +23,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 % the mdframed style for @cartouche
 \mdfdefinestyle{GNUTexinfocartouche}{
 innertopmargin=10pt, innerbottommargin=10pt,%
diff --git 
a/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex 
b/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
index ae7c51b01c..a122327eb6 100644
--- a/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
+++ b/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
@@ -28,15 +28,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex 
b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
index 62adf040c6..f96f26836c 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++ b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
@@ -23,15 +23,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/latex_tests/indices/res_latex/indices.tex 
b/tp/t/results/latex_tests/indices/res_latex/indices.tex
index 1b06e3a6b5..c18da65811 100644
--- a/tp/t/results/latex_tests/indices/res_latex/indices.tex
+++ b/tp/t/results/latex_tests/indices/res_latex/indices.tex
@@ -26,15 +26,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/informative_commands_in_top_node/res_latex/informative_commands_in_top_node.tex
 
b/tp/t/results/latex_tests/informative_commands_in_top_node/res_latex/informative_commands_in_top_node.tex
index 58f130c381..4e29d0647a 100644
--- 
a/tp/t/results/latex_tests/informative_commands_in_top_node/res_latex/informative_commands_in_top_node.tex
+++ 
b/tp/t/results/latex_tests/informative_commands_in_top_node/res_latex/informative_commands_in_top_node.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/nested_enumerate/res_latex/nested_enumerate.tex 
b/tp/t/results/latex_tests/nested_enumerate/res_latex/nested_enumerate.tex
index 9563b3fb4a..0125a3927b 100644
--- a/tp/t/results/latex_tests/nested_enumerate/res_latex/nested_enumerate.tex
+++ b/tp/t/results/latex_tests/nested_enumerate/res_latex/nested_enumerate.tex
@@ -26,15 +26,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[enumerate]{label=\arabic*.}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/nested_itemize/res_latex/nested_itemize.tex 
b/tp/t/results/latex_tests/nested_itemize/res_latex/nested_itemize.tex
index d2d74808a3..58eca8dc1e 100644
--- a/tp/t/results/latex_tests/nested_itemize/res_latex/nested_itemize.tex
+++ b/tp/t/results/latex_tests/nested_itemize/res_latex/nested_itemize.tex
@@ -26,15 +26,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[itemize]{label=\textbullet}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
 
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
index a8734e34ae..f95e4c979e 100644
--- 
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
+++ 
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
@@ -22,7 +22,7 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
@@ -31,9 +31,6 @@
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
 
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
index c40c56b258..0c6b3b8c55 100644
--- 
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
+++ 
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex 
b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
index d32cf09f50..d60e0d812e 100644
--- a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
+++ b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
@@ -23,15 +23,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex 
b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
index 7ea29ab691..b72a376100 100644
--- a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
+++ b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
@@ -23,15 +23,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
 
b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
index 7e7091fc9f..05bc585749 100644
--- 
a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
+++ 
b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
 
b/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
index 5bce65bcfa..a8c22f9b36 100644
--- 
a/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
+++ 
b/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
@@ -22,7 +22,7 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
@@ -31,9 +31,6 @@
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex 
b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
index 57184247ea..f2d5ed62cb 100644
--- a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
+++ b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
 
b/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
index 05e0c84543..3e9e4172b2 100644
--- 
a/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
+++ 
b/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
@@ -22,7 +22,7 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
@@ -31,9 +31,6 @@
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
 
b/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
index fe87499738..5bf334f4e7 100644
--- 
a/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
+++ 
b/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
 
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
index 2d5332b3e5..d01fcf4df6 100644
--- 
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
+++ 
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
 
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
index 80d1cfe5ea..13a807e1b3 100644
--- 
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
+++ 
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
 
b/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
index 0c07650524..e8f775f992 100644
--- 
a/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
+++ 
b/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
 
b/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
index 1b79740bb2..fcae083a60 100644
--- 
a/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
+++ 
b/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
 
b/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
index 0962e12314..f97e63f2f0 100644
--- 
a/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
+++ 
b/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
 
b/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
index a385d1cf5f..b25ab880bd 100644
--- 
a/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
+++ 
b/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex 
b/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
index 925e3aabc9..a9a9a94115 100644
--- 
a/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
+++ 
b/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
 
b/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
index ad73958a38..1940fb1de8 100644
--- 
a/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
+++ 
b/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
 
b/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
index 336d7893b8..9727a5704e 100644
--- 
a/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
+++ 
b/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
@@ -22,7 +22,7 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
@@ -31,9 +31,6 @@
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
 
b/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
index d02f6c1c97..38ac807264 100644
--- 
a/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
+++ 
b/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
@@ -22,7 +22,7 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
@@ -31,9 +31,6 @@
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/latex_tests/verbatim_in_smallformat/res_latex/verbatim_in_smallformat.tex
 
b/tp/t/results/latex_tests/verbatim_in_smallformat/res_latex/verbatim_in_smallformat.tex
index bfc9214316..ea640b9933 100644
--- 
a/tp/t/results/latex_tests/verbatim_in_smallformat/res_latex/verbatim_in_smallformat.tex
+++ 
b/tp/t/results/latex_tests/verbatim_in_smallformat/res_latex/verbatim_in_smallformat.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 1b36257a1a..2bd063f5ee 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5578,15 +5578,12 @@ 
$result_converted{'latex'}->{'codequoteundirected_codequotebacktick'} = '\\docum
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/command_in_heading_footing.pl 
b/tp/t/results/misc_commands/command_in_heading_footing.pl
index 288ead4d66..86529afeb7 100644
--- a/tp/t/results/misc_commands/command_in_heading_footing.pl
+++ b/tp/t/results/misc_commands/command_in_heading_footing.pl
@@ -240,15 +240,12 @@ 
$result_converted{'latex'}->{'command_in_heading_footing'} = '\\documentclass{bo
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/comment_space_command_on_line.pl 
b/tp/t/results/misc_commands/comment_space_command_on_line.pl
index 7034773ac5..a7881eb0c2 100644
--- a/tp/t/results/misc_commands/comment_space_command_on_line.pl
+++ b/tp/t/results/misc_commands/comment_space_command_on_line.pl
@@ -1089,15 +1089,12 @@ 
$result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
@@ -1116,7 +1113,7 @@ 
$result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass
 
 \\index[cp]{index entry \\ {}}%
 
-\\GNUTexinfonopagebreakheading{\\section*}{{Heading \\ {}}}
+\\section*{{Heading \\ {}}}
 
 \\printindex[cp]
 
diff --git a/tp/t/results/misc_commands/comments_in_text.pl 
b/tp/t/results/misc_commands/comments_in_text.pl
index c006807b4a..19c51ef259 100644
--- a/tp/t/results/misc_commands/comments_in_text.pl
+++ b/tp/t/results/misc_commands/comments_in_text.pl
@@ -238,15 +238,12 @@ $result_converted{'latex'}->{'comments_in_text'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/definfoenclose.pl 
b/tp/t/results/misc_commands/definfoenclose.pl
index 46bc4bd303..c155d8cf5e 100644
--- a/tp/t/results/misc_commands/definfoenclose.pl
+++ b/tp/t/results/misc_commands/definfoenclose.pl
@@ -486,15 +486,12 @@ $result_converted{'latex'}->{'definfoenclose'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl 
b/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
index 8226bcb635..baaf5f7d73 100644
--- a/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
+++ b/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
@@ -185,15 +185,12 @@ 
$result_converted{'latex'}->{'definfoenclose_with_empty_arg'} = '\\documentclass
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/empty_center.pl 
b/tp/t/results/misc_commands/empty_center.pl
index e9b3b02daa..bc8afd8dc9 100644
--- a/tp/t/results/misc_commands/empty_center.pl
+++ b/tp/t/results/misc_commands/empty_center.pl
@@ -97,15 +97,12 @@ $result_converted{'latex'}->{'empty_center'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/empty_center_with_arg.pl 
b/tp/t/results/misc_commands/empty_center_with_arg.pl
index e8b38c62c5..e2e23f1fd8 100644
--- a/tp/t/results/misc_commands/empty_center_with_arg.pl
+++ b/tp/t/results/misc_commands/empty_center_with_arg.pl
@@ -108,15 +108,12 @@ $result_converted{'latex'}->{'empty_center_with_arg'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/footnote_in_center.pl 
b/tp/t/results/misc_commands/footnote_in_center.pl
index c47ff6b7ed..15da6d0047 100644
--- a/tp/t/results/misc_commands/footnote_in_center.pl
+++ b/tp/t/results/misc_commands/footnote_in_center.pl
@@ -386,15 +386,12 @@ $result_converted{'latex'}->{'footnote_in_center'} = 
'\\documentclass{book}
 % set defaults for lists that match Texinfo TeX formatting
 \\setlist[description]{style=nextline, font=\\normalfont}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/heading_command_in_commands.pl 
b/tp/t/results/misc_commands/heading_command_in_commands.pl
index 85161e7a75..89b0e845d3 100644
--- a/tp/t/results/misc_commands/heading_command_in_commands.pl
+++ b/tp/t/results/misc_commands/heading_command_in_commands.pl
@@ -379,15 +379,12 @@ 
$result_converted{'latex'}->{'heading_command_in_commands'} = '\\documentclass{b
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl 
b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
index 673fbd3894..90e2d8d685 100644
--- a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
+++ b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
@@ -144,15 +144,12 @@ 
$result_converted{'latex'}->{'incorrect_allowcodebreaks_argument'} = '\\document
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/indent_in_quotation.pl 
b/tp/t/results/misc_commands/indent_in_quotation.pl
index aedaa51ed3..421a376ed8 100644
--- a/tp/t/results/misc_commands/indent_in_quotation.pl
+++ b/tp/t/results/misc_commands/indent_in_quotation.pl
@@ -167,15 +167,12 @@ $result_converted{'latex'}->{'indent_in_quotation'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/kbdinputstyle.pl 
b/tp/t/results/misc_commands/kbdinputstyle.pl
index c028b25fe9..77cb9a9fe0 100644
--- a/tp/t/results/misc_commands/kbdinputstyle.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle.pl
@@ -2261,15 +2261,12 @@ $result_converted{'latex'}->{'kbdinputstyle'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl 
b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
index d4f6bfa6f6..84659b5303 100644
--- a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
@@ -2452,15 +2452,12 @@ $result_converted{'latex'}->{'kbdinputstyle_in_table'} 
= '\\documentclass{book}
 % set defaults for lists that match Texinfo TeX formatting
 \\setlist[description]{style=nextline, font=\\normalfont}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/no_empty_line_between_headings.pl 
b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
index 979d134648..dda2e055fd 100644
--- a/tp/t/results/misc_commands/no_empty_line_between_headings.pl
+++ b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
@@ -272,15 +272,12 @@ 
$result_converted{'latex'}->{'no_empty_line_between_headings'} = '\\documentclas
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
@@ -291,7 +288,7 @@ 
$result_converted{'latex'}->{'no_empty_line_between_headings'} = '\\documentclas
 \\pagestyle{single}%
 
 \\part*{{Top}}
-\\GNUTexinfonopagebreakheading{\\subsection*}{{Subheading}}
+\\subsection*{{Subheading}}
 \\chapter{{Chapter}}
 \\section{{Section}}
 \\end{document}
diff --git a/tp/t/results/misc_commands/noindent_after_smallexample.pl 
b/tp/t/results/misc_commands/noindent_after_smallexample.pl
index 364dee55ce..809272f8bf 100644
--- a/tp/t/results/misc_commands/noindent_after_smallexample.pl
+++ b/tp/t/results/misc_commands/noindent_after_smallexample.pl
@@ -211,15 +211,12 @@ 
$result_converted{'latex'}->{'noindent_after_smallexample'} = '\\documentclass{b
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/noindent_empty_para.pl 
b/tp/t/results/misc_commands/noindent_empty_para.pl
index 25282d529f..821526a457 100644
--- a/tp/t/results/misc_commands/noindent_empty_para.pl
+++ b/tp/t/results/misc_commands/noindent_empty_para.pl
@@ -119,15 +119,12 @@ $result_converted{'latex'}->{'noindent_empty_para'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/noindent_in_paragraph.pl 
b/tp/t/results/misc_commands/noindent_in_paragraph.pl
index 6a55189b60..a7ef569888 100644
--- a/tp/t/results/misc_commands/noindent_in_paragraph.pl
+++ b/tp/t/results/misc_commands/noindent_in_paragraph.pl
@@ -167,15 +167,12 @@ $result_converted{'latex'}->{'noindent_in_paragraph'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/noindent_indent.pl 
b/tp/t/results/misc_commands/noindent_indent.pl
index 178176a3b4..fb108ff5f8 100644
--- a/tp/t/results/misc_commands/noindent_indent.pl
+++ b/tp/t/results/misc_commands/noindent_indent.pl
@@ -277,15 +277,12 @@ $result_converted{'latex'}->{'noindent_indent'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index 3583f5a32b..905133b2de 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -555,15 +555,12 @@ $result_converted{'latex'}->{'ref_in_center'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/setfilename.pl 
b/tp/t/results/misc_commands/setfilename.pl
index bd4b8b31c8..a80c06c54e 100644
--- a/tp/t/results/misc_commands/setfilename.pl
+++ b/tp/t/results/misc_commands/setfilename.pl
@@ -326,15 +326,12 @@ $result_converted{'latex'}->{'setfilename'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index 42a9b147ff..683d4231d2 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2817,15 +2817,12 @@ $result_converted{'latex'}->{'test_allowcodebreaks'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/misc_commands/vskip.pl 
b/tp/t/results/misc_commands/vskip.pl
index 6296d52201..b50bac30ef 100644
--- a/tp/t/results/misc_commands/vskip.pl
+++ b/tp/t/results/misc_commands/vskip.pl
@@ -81,15 +81,12 @@ $result_converted{'latex'}->{'vskip'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/quotation/empty_quotation.pl 
b/tp/t/results/quotation/empty_quotation.pl
index 2e563d89f4..f3361672f7 100644
--- a/tp/t/results/quotation/empty_quotation.pl
+++ b/tp/t/results/quotation/empty_quotation.pl
@@ -409,15 +409,12 @@ $result_converted{'latex'}->{'empty_quotation'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/quotation/quotation_and_author.pl 
b/tp/t/results/quotation/quotation_and_author.pl
index d9d910c807..b90b520955 100644
--- a/tp/t/results/quotation/quotation_and_author.pl
+++ b/tp/t/results/quotation/quotation_and_author.pl
@@ -551,15 +551,12 @@ $result_converted{'latex'}->{'quotation_and_author'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/quotation/quotation_author_in_example.pl 
b/tp/t/results/quotation/quotation_author_in_example.pl
index a54cb350c7..a72de770cf 100644
--- a/tp/t/results/quotation/quotation_author_in_example.pl
+++ b/tp/t/results/quotation/quotation_author_in_example.pl
@@ -262,15 +262,12 @@ 
$result_converted{'latex'}->{'quotation_author_in_example'} = '\\documentclass{b
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git a/tp/t/results/quotation/space_at_commands_end_quotation_line.pl 
b/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
index 071bd9e56b..4aaf64480a 100644
--- a/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
+++ b/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
@@ -333,15 +333,12 @@ 
$result_converted{'latex'}->{'space_at_commands_end_quotation_line'} = '\\docume
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git 
a/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
 
b/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
index 84f2732d1f..1863f26547 100644
--- 
a/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
+++ 
b/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/sectioning/character_and_spaces_in_refs.pl 
b/tp/t/results/sectioning/character_and_spaces_in_refs.pl
index fca0f56c8d..511c830f45 100644
--- a/tp/t/results/sectioning/character_and_spaces_in_refs.pl
+++ b/tp/t/results/sectioning/character_and_spaces_in_refs.pl
@@ -2329,7 +2329,7 @@ 
$result_converted{'latex_text'}->{'character_and_spaces_in_refs'} = '\\begin{doc
 \\chapter{{first chapter}}
 \\label{anchor:node-to-avoid-DocBook-or-LaTeX-ignored}%
 
-\\GNUTexinfonopagebreakheading{\\subsection*}{{Testing distant nodes}}
+\\subsection*{{Testing distant nodes}}
 
 Section ``a  node\'\' in \\texttt{manual}
 Section ``:\'\' in \\texttt{manual}
@@ -2337,7 +2337,7 @@ Section ``top\'\' in \\texttt{manual}
 (texinfo)Cross References
 Section ``node\'\' in \\texttt{../manual/doc}
 
-\\GNUTexinfonopagebreakheading{\\subsection*}{{Testing local nodes}}
+\\subsection*{{Testing local nodes}}
 
 
\\hyperref[anchor:_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e]{\\chaptername~\\ref*{anchor:_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e}
 [!\\_"\\#\\$\\%\\&\'()*+-.], 
page~\\pageref*{anchor:_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e}}
 
\\hyperref[anchor:_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e]{\\chaptername~\\ref*{anchor:_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e}
 [/;<=>?[\\textbackslash{}]\\^{}\\_`|\\~{}], 
page~\\pageref*{anchor:_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e}}
diff --git a/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex 
b/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
index d3220c370c..3a72c1d549 100644
--- a/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
+++ b/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex 
b/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
index 8dc1de5604..1773c84558 100644
--- a/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
+++ b/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
 
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
index 3121a326c7..84d62942f5 100644
--- 
a/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
+++ 
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
 
b/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
index 4c53b84e71..96d3d73100 100644
--- 
a/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
+++ 
b/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
 
b/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
index 29628a9b74..371e73d354 100644
--- 
a/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
+++ 
b/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
 
b/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
index 5808bd5a5a..418b7cd2d4 100644
--- 
a/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
+++ 
b/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex 
b/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
index ab69d90455..45c2ebfb37 100644
--- a/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
+++ b/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
 
b/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
index 665cf6ff21..ac4cc46717 100644
--- 
a/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
+++ 
b/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
 
b/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
index cf15a738ea..4ca5c35580 100644
--- 
a/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
+++ 
b/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
 
b/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
index f0b094fe99..a8a56fc594 100644
--- 
a/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
+++ 
b/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/t/results/sectioning/top_node_part_top.pl 
b/tp/t/results/sectioning/top_node_part_top.pl
index 8dbfb5cceb..c116f5171e 100644
--- a/tp/t/results/sectioning/top_node_part_top.pl
+++ b/tp/t/results/sectioning/top_node_part_top.pl
@@ -493,15 +493,12 @@ $result_converted{'file_latex'}->{'top_node_part_top'} = 
'\\documentclass{book}
   
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\\catcode`\\^^M=13 \\gdef\\GNUTobeylines{\\catcode`\\^^M=13 
\\def^^M{\\null\\par}}}
 
\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\\newcommand{\\GNUTexinfonopagebreakheading}[2]{{\\let\\clearpage\\relax 
\\let\\cleardoublepage\\relax \\let\\thispagestyle\\GNUTexinfoplaceholder 
#1{#2}}}
-
 \\renewcommand{\\includegraphics}[1]{\\fbox{FIG \\detokenize{#1}}}
 
 \\makeatother
diff --git 
a/tp/t/results/xtable/inter_item_commands_in_table/res_latex/inter_item_commands_in_table.tex
 
b/tp/t/results/xtable/inter_item_commands_in_table/res_latex/inter_item_commands_in_table.tex
index 316a90faee..9ca603f445 100644
--- 
a/tp/t/results/xtable/inter_item_commands_in_table/res_latex/inter_item_commands_in_table.tex
+++ 
b/tp/t/results/xtable/inter_item_commands_in_table/res_latex/inter_item_commands_in_table.tex
@@ -37,15 +37,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/t/results/xtable/inter_item_commands_in_table_in_example/res_latex/inter_item_commands_in_table_in_example.tex
 
b/tp/t/results/xtable/inter_item_commands_in_table_in_example/res_latex/inter_item_commands_in_table_in_example.tex
index 7d1b65988f..7ecd9675e5 100644
--- 
a/tp/t/results/xtable/inter_item_commands_in_table_in_example/res_latex/inter_item_commands_in_table_in_example.tex
+++ 
b/tp/t/results/xtable/inter_item_commands_in_table_in_example/res_latex/inter_item_commands_in_table_in_example.tex
@@ -32,15 +32,12 @@
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
"a/tp/tests/formatting/res_parser/non_ascii_test_latex/os\303\251_utf8.tex" 
"b/tp/tests/formatting/res_parser/non_ascii_test_latex/os\303\251_utf8.tex"
index c1a6d156f1..2f5a234e3d 100644
--- "a/tp/tests/formatting/res_parser/non_ascii_test_latex/os\303\251_utf8.tex"
+++ "b/tp/tests/formatting/res_parser/non_ascii_test_latex/os\303\251_utf8.tex"
@@ -22,15 +22,12 @@
   \par\GNUTobeylines\obeyspaces\frenchspacing\parskip=\z@\parindent=\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 \newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/tests/indices/res_parser/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
 
b/tp/tests/indices/res_parser/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
index a71f0e6f56..2c2a38741f 100644
--- 
a/tp/tests/indices/res_parser/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
+++ 
b/tp/tests/indices/res_parser/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
@@ -39,15 +39,12 @@
 \setlist[itemize]{label=\textbullet}
 \setlist[enumerate]{label=\arabic*.}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git 
a/tp/tests/indices/res_parser_info/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
 
b/tp/tests/indices/res_parser_info/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
index a71f0e6f56..2c2a38741f 100644
--- 
a/tp/tests/indices/res_parser_info/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
+++ 
b/tp/tests/indices/res_parser_info/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
@@ -39,15 +39,12 @@
 \setlist[itemize]{label=\textbullet}
 \setlist[enumerate]{label=\arabic*.}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectioning command
-\newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
-
 \renewcommand{\includegraphics}[1]{\fbox{FIG \detokenize{#1}}}
 
 \makeatother
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 4d8f22f1f9..74d7f8b2da 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -53,7 +53,7 @@
 \setlist[itemize]{label=\textbullet}
 \setlist[enumerate]{label=\arabic*.}
 
-% command that does nothing used to help with substitutions in commands
+% used for substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
@@ -1567,11 +1567,11 @@ $\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
 
 \GNUTexinfonopagebreakheading{\chapter*}{{chapheading}}
 
-\GNUTexinfonopagebreakheading{\section*}{{heading}}
+\section*{{heading}}
 
-\GNUTexinfonopagebreakheading{\subsection*}{{subheading}}
+\subsection*{{subheading}}
 
-\GNUTexinfonopagebreakheading{\subsubsection*}{{subsubheading}}
+\subsubsection*{{subsubheading}}
 
 
 \texttt{@acronym\{{-}{-}a,an accronym @comma\{\}\ @enddots\{\}\}} --a (an 
accronym , \dots{})
@@ -3285,11 +3285,11 @@ $\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
 
 \GNUTexinfonopagebreakheading{\chapter*}{{chapheading}}
 
-\GNUTexinfonopagebreakheading{\section*}{{heading}}
+\section*{{heading}}
 
-\GNUTexinfonopagebreakheading{\subsection*}{{subheading}}
+\subsection*{{subheading}}
 
-\GNUTexinfonopagebreakheading{\subsubsection*}{{subsubheading}}
+\subsubsection*{{subsubheading}}
 
 
 \texttt{@acronym\{{-}{-}a,an accronym @comma\{\}\ @enddots\{\}\}} --a (an 
accronym , \dots{})
@@ -5024,11 +5024,11 @@ $\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
 
 \GNUTexinfonopagebreakheading{\chapter*}{{chapheading}}
 
-\GNUTexinfonopagebreakheading{\section*}{{heading}}
+\section*{{heading}}
 
-\GNUTexinfonopagebreakheading{\subsection*}{{subheading}}
+\subsection*{{subheading}}
 
-\GNUTexinfonopagebreakheading{\subsubsection*}{{subsubheading}}
+\subsubsection*{{subsubheading}}
 
 
 \texttt{@acronym\{{-}{-}a,an accronym @comma\{\}\ @enddots\{\}\}} --a (an 
accronym , \dots{})
@@ -6741,11 +6741,11 @@ $\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
 
 \GNUTexinfonopagebreakheading{\chapter*}{{chapheading}}
 
-\GNUTexinfonopagebreakheading{\section*}{{heading}}
+\section*{{heading}}
 
-\GNUTexinfonopagebreakheading{\subsection*}{{subheading}}
+\subsection*{{subheading}}
 
-\GNUTexinfonopagebreakheading{\subsubsection*}{{subsubheading}}
+\subsubsection*{{subsubheading}}
 
 
 \texttt{@acronym\{{-}{-}a,an accronym @comma\{\}\ @enddots\{\}\}} --a (an 
accronym , \dots{})
@@ -8922,15 +8922,15 @@ $\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
 \begin{GNUTexinfopreformatted}%
 \ttfamily 
 \end{GNUTexinfopreformatted}
-\GNUTexinfonopagebreakheading{\section*}{{heading}}
+\section*{{heading}}
 \begin{GNUTexinfopreformatted}%
 \ttfamily 
 \end{GNUTexinfopreformatted}
-\GNUTexinfonopagebreakheading{\subsection*}{{subheading}}
+\subsection*{{subheading}}
 \begin{GNUTexinfopreformatted}%
 \ttfamily 
 \end{GNUTexinfopreformatted}
-\GNUTexinfonopagebreakheading{\subsubsection*}{{subsubheading}}
+\subsubsection*{{subsubheading}}
 \begin{GNUTexinfopreformatted}%
 \ttfamily 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]