texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Sat, 3 Sep 2022 08:46:49 -0400 (EDT)

branch: master
commit aeb59d3871854ca952eaf9362878809b3c7b1eb2
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Sep 3 13:02:53 2022 +0100

    Shorter LaTeX preamble
    
    * 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.
---
 ChangeLog                                          |  9 ++++++
 tp/Texinfo/Convert/LaTeX.pm                        | 33 ++++------------------
 .../combined_fonts/res_latex/combined_fonts.tex    | 14 ++-------
 .../res_latex/definition_commands.tex              | 14 ++-------
 .../converters_tests/empty/res_latex/empty.tex     | 14 ++-------
 .../res_latex/minimal_empty_empty.tex              | 14 ++-------
 .../res_latex/minimal_empty_with_bye.tex           | 14 ++-------
 .../res_latex/minimal_empty_with_input.tex         | 14 ++-------
 .../printindex_merged_indices_code_style.tex       | 14 ++-------
 .../res_latex/references_to_top_no_top_output.tex  | 14 ++-------
 .../res_latex/simplest_no_node_section.tex         | 14 ++-------
 .../res_latex/char_latin1_latin1_in_refs.tex       | 14 ++-------
 .../mathjax_with_texinfo_enable_encoding.tex       | 14 ++-------
 tp/t/results/indices/def_syn_indices.pl            | 14 ++-------
 tp/t/results/indices/double_seeentry_seealso.pl    | 14 ++-------
 tp/t/results/indices/empty_cindex_entry.pl         | 14 ++-------
 tp/t/results/indices/empty_index_entry.pl          | 14 ++-------
 tp/t/results/indices/empty_string_index_entry.pl   | 14 ++-------
 tp/t/results/indices/explicit_sort_key.pl          | 14 ++-------
 .../multiple_index_text_sortas_seeentry_seealso.pl | 14 ++-------
 tp/t/results/indices/seealso_duplicate.pl          | 14 ++-------
 tp/t/results/indices/seeentry.pl                   | 14 ++-------
 tp/t/results/indices/subentries.pl                 | 14 ++-------
 tp/t/results/indices/subentry_and_sortas.pl        | 14 ++-------
 tp/t/results/indices/syncode_index_print_both.pl   | 14 ++-------
 tp/t/results/indices/transparent_sort_chars.pl     | 14 ++-------
 .../res_latex/inter_item_commands_in_enumerate.tex | 14 ++-------
 .../res_latex/inter_item_commands_in_itemize.tex   | 14 ++-------
 .../res_latex/multiple_lang_chapters.tex           | 14 ++-------
 ...anchor_links_xref_xrefautomaticsectiontitle.tex | 14 ++-------
 .../brace_in_index/res_latex/brace_in_index.tex    | 14 ++-------
 .../custom_headings/res_latex/custom_headings.tex  | 14 ++-------
 .../res_latex/enumerate_arguments.tex              | 14 ++-------
 .../res_latex/error_in_sectioning_command.tex      | 14 ++-------
 .../res_latex/example_in_cartouche.tex             | 14 ++-------
 .../float_and_refs/res_latex/float_and_refs.tex    | 14 ++-------
 .../fonttextsize/res_latex/fonttextsize.tex        | 14 ++-------
 .../latex_tests/indices/res_latex/indices.tex      | 14 ++-------
 .../res_latex/informative_commands_in_top_node.tex | 14 ++-------
 .../res_latex/nested_enumerate.tex                 | 14 ++-------
 .../nested_itemize/res_latex/nested_itemize.tex    | 14 ++-------
 .../no_titlepage_and_setchapternewpage_odd.tex     | 14 ++-------
 .../no_titlepage_and_setchapternewpage_on.tex      | 14 ++-------
 .../latex_tests/pagesizes/res_latex/pagesizes.tex  | 14 ++-------
 .../latex_tests/pagetype/res_latex/pagetype.tex    | 14 ++-------
 .../setchapternewpage_on_odd_titlepage.tex         | 14 ++-------
 .../res_latex/settitle_and_headings.tex            | 14 ++-------
 .../shorttitlepage/res_latex/shorttitlepage.tex    | 14 ++-------
 .../three_setchapternewpage_on_odd_off.tex         | 14 ++-------
 .../res_latex/titlepage_and_headings.tex           | 14 ++-------
 .../titlepage_and_setchapternewpage_odd.tex        | 14 ++-------
 .../titlepage_and_setchapternewpage_on.tex         | 14 ++-------
 .../res_latex/titlepage_classical.tex              | 14 ++-------
 .../res_latex/titlepage_in_top_node.tex            | 14 ++-------
 .../res_latex/titlepage_long_title.tex             | 14 ++-------
 .../res_latex/titlepage_no_author.tex              | 14 ++-------
 .../res_latex/titlepage_no_title.tex               | 14 ++-------
 .../titlepage_with_commands_classical.tex          | 14 ++-------
 .../res_latex/two_setchapternewpage_odd_on.tex     | 14 ++-------
 .../res_latex/two_setchapternewpage_on_odd.tex     | 14 ++-------
 .../res_latex/verbatim_in_smallformat.tex          | 14 ++-------
 .../codequoteundirected_codequotebacktick.pl       | 14 ++-------
 .../misc_commands/command_in_heading_footing.pl    | 14 ++-------
 .../misc_commands/comment_space_command_on_line.pl | 14 ++-------
 tp/t/results/misc_commands/comments_in_text.pl     | 14 ++-------
 tp/t/results/misc_commands/definfoenclose.pl       | 14 ++-------
 .../misc_commands/definfoenclose_with_empty_arg.pl | 14 ++-------
 tp/t/results/misc_commands/empty_center.pl         | 14 ++-------
 .../results/misc_commands/empty_center_with_arg.pl | 14 ++-------
 tp/t/results/misc_commands/footnote_in_center.pl   | 14 ++-------
 .../misc_commands/heading_command_in_commands.pl   | 14 ++-------
 .../incorrect_allowcodebreaks_argument.pl          | 14 ++-------
 tp/t/results/misc_commands/indent_in_quotation.pl  | 14 ++-------
 tp/t/results/misc_commands/kbdinputstyle.pl        | 14 ++-------
 .../misc_commands/kbdinputstyle_in_table.pl        | 14 ++-------
 .../no_empty_line_between_headings.pl              | 14 ++-------
 .../misc_commands/noindent_after_smallexample.pl   | 14 ++-------
 tp/t/results/misc_commands/noindent_empty_para.pl  | 14 ++-------
 .../results/misc_commands/noindent_in_paragraph.pl | 14 ++-------
 tp/t/results/misc_commands/noindent_indent.pl      | 14 ++-------
 tp/t/results/misc_commands/ref_in_center.pl        | 14 ++-------
 tp/t/results/misc_commands/setfilename.pl          | 14 ++-------
 tp/t/results/misc_commands/test_allowcodebreaks.pl | 14 ++-------
 tp/t/results/misc_commands/vskip.pl                | 14 ++-------
 tp/t/results/quotation/empty_quotation.pl          | 14 ++-------
 tp/t/results/quotation/quotation_and_author.pl     | 14 ++-------
 .../quotation/quotation_author_in_example.pl       | 14 ++-------
 .../space_at_commands_end_quotation_line.pl        | 14 ++-------
 .../res_latex/chapter_between_nodes.tex            | 14 ++-------
 .../lone_Top_node/res_latex/lone_Top_node.tex      | 14 ++-------
 .../sectioning/loop_nodes/res_latex/loop_nodes.tex | 14 ++-------
 .../node_sectop_before_chapter_no_node.tex         | 14 ++-------
 .../res_latex/node_sectop_before_lone_node_Top.tex | 14 ++-------
 .../res_latex/nodes_before_after_top.tex           | 14 ++-------
 .../res_latex/nodes_before_after_top_xref.tex      | 14 ++-------
 .../res_latex/nodes_before_top.tex                 | 14 ++-------
 .../res_latex/section_before_after_top_node.tex    | 14 ++-------
 .../section_before_after_top_node_last_node.tex    | 14 ++-------
 .../res_latex/section_chapter_before_top_nodes.tex | 14 ++-------
 tp/t/results/sectioning/top_node_part_top.pl       | 14 ++-------
 .../res_latex/inter_item_commands_in_table.tex     | 14 ++-------
 .../inter_item_commands_in_table_in_example.tex    | 14 ++-------
 .../non_ascii_test_latex/os\303\251_utf8.tex"      | 14 ++-------
 .../indices_in_begin_tables_lists.tex              | 14 ++-------
 .../indices_in_begin_tables_lists.tex              | 14 ++-------
 .../res_parser/formatting_latex/formatting.tex     | 14 ++-------
 106 files changed, 326 insertions(+), 1172 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a33d47c496..47d21b2229 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-09-03  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Shorter LaTeX preamble
+
+       * 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.
+
 2022-09-03  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Shorter LaTeX preamble
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 4872deaf6e..8f228a87f9 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -1156,7 +1156,7 @@ my %front_main_matter_definitions = (
 );
 
 # not used as it is complicated to use section and chapter title
-# this will not work any more as the \GNUTexinfoset... macros are
+# NB this will not work any more as the \GNUTexinfoset... macros are
 # not used, and \pagestyle is used directly.
 my $fancyhdr_preamble =
 '% called when setting single headers
@@ -1184,19 +1184,6 @@ my $fancyhdr_preamble =
 % match Texinfo TeX style
 \renewcommand{\headrulewidth}{0pt}%';
 
-my $titleps_preamble = '% plain page style, for part and chapter, which call 
\thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
-% single header
-\newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
-                              {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
-
-% double header
-\newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
-                              {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
-';
-
 # TODO translation
 my $default_title = 'No Title';
 
@@ -1276,16 +1263,13 @@ sub _latex_header() {
 
   $header_code .=
 '\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\par\\GNUTobeylines\\obeyspaces\\frenchspacing\\parskip=\\z@\\parindent=\\z@}{}
 {\catcode`\^^M=13 \gdef\GNUTobeylines{\catcode`\^^M=13 \def^^M{\null\par}}}
 ';
 
   $header_code .=
-'\newenvironment{GNUTexinfoindented}
-  {\begin{list}{}{}
-  \item\relax}
-  {\end{list}}'."\n";
+'\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
+';
 
   if ($self->{'packages'}->{'babel'}) {
     $header_code .= '
@@ -1313,13 +1297,6 @@ sub _latex_header() {
   $header_code .= '% command that does nothing used to help with substitutions 
in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-';
-
-  $header_code .=
-'% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 ';
 
   if ($self->{'page_styles'}->{'single'}) {
@@ -1339,7 +1316,7 @@ sub _latex_header() {
   }
 
   $header_code .=
-'% avoid pagebreak and headings setting for a sectionning command
+'% avoid pagebreak and headings setting for a sectioning command
 \newcommand{\GNUTexinfonopagebreakheading}[2]{{\let\clearpage\relax 
\let\cleardoublepage\relax \let\thispagestyle\GNUTexinfoplaceholder #1{#2}}}
 
 ';
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 5753b24854..99f0424eab 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
@@ -28,24 +28,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 9097b836e3..2897975123 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
@@ -29,24 +29,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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*
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 5069da4734..8796ee00ae 100644
--- a/tp/t/results/converters_tests/empty/res_latex/empty.tex
+++ b/tp/t/results/converters_tests/empty/res_latex/empty.tex
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 5069da4734..8796ee00ae 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 5069da4734..8796ee00ae 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 5069da4734..8796ee00ae 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 e730b9bd70..94ef9f68ad 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
@@ -22,24 +22,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 ace4663284..f30acaab69 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
@@ -25,24 +25,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 f84597b8dd..fd2da6288d 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 f8875f7f79..3bfdb99002 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
@@ -22,24 +22,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 c4f4d3a85d..e64ba0c183 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/def_syn_indices.pl 
b/tp/t/results/indices/def_syn_indices.pl
index 9b0c2923ab..d6305d2f3b 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -2153,24 +2153,16 @@ $result_converted{'latex'}->{'def_syn_indices'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/double_seeentry_seealso.pl 
b/tp/t/results/indices/double_seeentry_seealso.pl
index 48c434823f..8fa0025c6b 100644
--- a/tp/t/results/indices/double_seeentry_seealso.pl
+++ b/tp/t/results/indices/double_seeentry_seealso.pl
@@ -930,24 +930,16 @@ $result_converted{'latex'}->{'double_seeentry_seealso'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index f72c5b78c6..5a036b8331 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -255,24 +255,16 @@ $result_converted{'latex'}->{'empty_cindex_entry'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/empty_index_entry.pl 
b/tp/t/results/indices/empty_index_entry.pl
index 91abe7e247..66a680711b 100644
--- a/tp/t/results/indices/empty_index_entry.pl
+++ b/tp/t/results/indices/empty_index_entry.pl
@@ -435,24 +435,16 @@ $result_converted{'latex'}->{'empty_index_entry'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index 9458db7240..735c9c8bc9 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -1080,27 +1080,19 @@ 
$result_converted{'latex'}->{'empty_string_index_entry'} = '\\documentclass{book
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % 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
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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*
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index 57d2017f17..60ec9fa7e0 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -1171,24 +1171,16 @@ $result_converted{'latex'}->{'explicit_sort_key'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 dec56bac8f..f198a240a1 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
@@ -729,24 +729,16 @@ 
$result_converted{'latex'}->{'multiple_index_text_sortas_seeentry_seealso'} = '\
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index 811ce756ab..cb0cb0847d 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -499,24 +499,16 @@ $result_converted{'latex'}->{'seealso_duplicate'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index 38266a5d37..b4ccd80075 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -811,24 +811,16 @@ $result_converted{'latex'}->{'seeentry'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/subentries.pl 
b/tp/t/results/indices/subentries.pl
index 54a6c53ff9..2792d87e54 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -1398,24 +1398,16 @@ $result_converted{'latex'}->{'subentries'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/subentry_and_sortas.pl 
b/tp/t/results/indices/subentry_and_sortas.pl
index bcf1aaf175..414e1f5b40 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -829,24 +829,16 @@ $result_converted{'latex'}->{'subentry_and_sortas'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/syncode_index_print_both.pl 
b/tp/t/results/indices/syncode_index_print_both.pl
index fb9bee3be7..af86e734a8 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -817,24 +817,16 @@ $result_converted{'latex'}->{'syncode_index_print_both'} 
= '\\documentclass{book
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index be0053f36f..8f78585d90 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -636,24 +636,16 @@ $result_converted{'latex'}->{'transparent_sort_chars'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 1e5858d879..b63afeb070 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
@@ -23,27 +23,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 7fcb29cbcc..fb61d73f48 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
@@ -23,27 +23,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[itemize]{label=\textbullet}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 34354332b3..fb84e3a9eb 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
@@ -26,13 +26,9 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 
 % this allows to select languages based on bcp47 codes.  bcp47 is a superset
 % of the LL_CC ISO 639-2 LL ISO 3166 CC information of @documentlanguage
@@ -43,14 +39,10 @@
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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*
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 c50d817132..8eeffe4e3d 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 01df9bc959..de0bcff000 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
@@ -26,24 +26,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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*
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 aee6cdd6ee..f0b3aa0481 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 4306d00645..45691d4dd8 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
@@ -20,27 +20,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 709726d861..ec91db340c 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 a1ba56c90d..69d31bdd41 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
@@ -20,24 +20,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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
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 3837726233..ae7c51b01c 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
@@ -25,24 +25,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 7314775c38..62adf040c6 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++ b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
@@ -20,24 +20,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 b560c3ce0e..1b06e3a6b5 100644
--- a/tp/t/results/latex_tests/indices/res_latex/indices.tex
+++ b/tp/t/results/latex_tests/indices/res_latex/indices.tex
@@ -23,24 +23,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 c57154c2f3..58f130c381 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 bdde04399b..9563b3fb4a 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
@@ -20,27 +20,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 f834cbbca5..d2d74808a3 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
@@ -20,27 +20,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[itemize]{label=\textbullet}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 b4a5627168..a8734e34ae 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
@@ -19,27 +19,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 bae32deab9..c40c56b258 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 ee31dc95fb..d32cf09f50 100644
--- a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
+++ b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
@@ -20,24 +20,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 16e472a949..7ea29ab691 100644
--- a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
+++ b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
@@ -20,24 +20,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 42ef76d21f..7e7091fc9f 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 fea0c3c548..5bce65bcfa 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
@@ -19,27 +19,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 645c8dd26d..57184247ea 100644
--- a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
+++ b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 a769475f88..05e0c84543 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
@@ -19,27 +19,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 2088c307da..fe87499738 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 d2113c29ef..2d5332b3e5 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 c83d65ee20..80d1cfe5ea 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 c012a42a60..0c07650524 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 95a24dd1f4..1b79740bb2 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 ae922a74ea..0962e12314 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 8d52c1cea6..a385d1cf5f 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 ac696abe8e..925e3aabc9 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 772461a2f9..ad73958a38 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 e4e6b2c3d5..336d7893b8 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
@@ -19,27 +19,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 ecbc1d179f..d02f6c1c97 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
@@ -19,27 +19,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
 \newpagestyle{double}{\sethead[\thepage{}][][\GNUTexinfosettitle]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 b2a653cc19..bfc9214316 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index ad1c515056..1b36257a1a 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5575,24 +5575,16 @@ 
$result_converted{'latex'}->{'codequoteundirected_codequotebacktick'} = '\\docum
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 49b215f345..288ead4d66 100644
--- a/tp/t/results/misc_commands/command_in_heading_footing.pl
+++ b/tp/t/results/misc_commands/command_in_heading_footing.pl
@@ -237,24 +237,16 @@ 
$result_converted{'latex'}->{'command_in_heading_footing'} = '\\documentclass{bo
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 18c917ed7e..7034773ac5 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
@@ -1086,24 +1086,16 @@ 
$result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/comments_in_text.pl 
b/tp/t/results/misc_commands/comments_in_text.pl
index 29cf1a987a..c006807b4a 100644
--- a/tp/t/results/misc_commands/comments_in_text.pl
+++ b/tp/t/results/misc_commands/comments_in_text.pl
@@ -235,24 +235,16 @@ $result_converted{'latex'}->{'comments_in_text'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/definfoenclose.pl 
b/tp/t/results/misc_commands/definfoenclose.pl
index 722a0e8955..46bc4bd303 100644
--- a/tp/t/results/misc_commands/definfoenclose.pl
+++ b/tp/t/results/misc_commands/definfoenclose.pl
@@ -483,24 +483,16 @@ $result_converted{'latex'}->{'definfoenclose'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 1f93297a77..8226bcb635 100644
--- a/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
+++ b/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
@@ -182,24 +182,16 @@ 
$result_converted{'latex'}->{'definfoenclose_with_empty_arg'} = '\\documentclass
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/empty_center.pl 
b/tp/t/results/misc_commands/empty_center.pl
index 22278f25e1..e9b3b02daa 100644
--- a/tp/t/results/misc_commands/empty_center.pl
+++ b/tp/t/results/misc_commands/empty_center.pl
@@ -94,24 +94,16 @@ $result_converted{'latex'}->{'empty_center'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 7f94f34d6f..e8b38c62c5 100644
--- a/tp/t/results/misc_commands/empty_center_with_arg.pl
+++ b/tp/t/results/misc_commands/empty_center_with_arg.pl
@@ -105,24 +105,16 @@ $result_converted{'latex'}->{'empty_center_with_arg'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/footnote_in_center.pl 
b/tp/t/results/misc_commands/footnote_in_center.pl
index b4ea887264..c47ff6b7ed 100644
--- a/tp/t/results/misc_commands/footnote_in_center.pl
+++ b/tp/t/results/misc_commands/footnote_in_center.pl
@@ -380,27 +380,19 @@ $result_converted{'latex'}->{'footnote_in_center'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % 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
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 c6fa97e889..85161e7a75 100644
--- a/tp/t/results/misc_commands/heading_command_in_commands.pl
+++ b/tp/t/results/misc_commands/heading_command_in_commands.pl
@@ -376,24 +376,16 @@ 
$result_converted{'latex'}->{'heading_command_in_commands'} = '\\documentclass{b
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl 
b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
index e46c319f44..673fbd3894 100644
--- a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
+++ b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
@@ -141,24 +141,16 @@ 
$result_converted{'latex'}->{'incorrect_allowcodebreaks_argument'} = '\\document
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/indent_in_quotation.pl 
b/tp/t/results/misc_commands/indent_in_quotation.pl
index 16773d6131..aedaa51ed3 100644
--- a/tp/t/results/misc_commands/indent_in_quotation.pl
+++ b/tp/t/results/misc_commands/indent_in_quotation.pl
@@ -164,24 +164,16 @@ $result_converted{'latex'}->{'indent_in_quotation'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/kbdinputstyle.pl 
b/tp/t/results/misc_commands/kbdinputstyle.pl
index 65bc3bfc85..c028b25fe9 100644
--- a/tp/t/results/misc_commands/kbdinputstyle.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle.pl
@@ -2258,24 +2258,16 @@ $result_converted{'latex'}->{'kbdinputstyle'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl 
b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
index 97f1768cb7..d4f6bfa6f6 100644
--- a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
@@ -2446,27 +2446,19 @@ $result_converted{'latex'}->{'kbdinputstyle_in_table'} 
= '\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % 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
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 6155e1858e..979d134648 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
@@ -269,24 +269,16 @@ 
$result_converted{'latex'}->{'no_empty_line_between_headings'} = '\\documentclas
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/noindent_after_smallexample.pl 
b/tp/t/results/misc_commands/noindent_after_smallexample.pl
index 6066e4b03d..364dee55ce 100644
--- a/tp/t/results/misc_commands/noindent_after_smallexample.pl
+++ b/tp/t/results/misc_commands/noindent_after_smallexample.pl
@@ -208,24 +208,16 @@ 
$result_converted{'latex'}->{'noindent_after_smallexample'} = '\\documentclass{b
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/noindent_empty_para.pl 
b/tp/t/results/misc_commands/noindent_empty_para.pl
index 671b50aac4..25282d529f 100644
--- a/tp/t/results/misc_commands/noindent_empty_para.pl
+++ b/tp/t/results/misc_commands/noindent_empty_para.pl
@@ -116,24 +116,16 @@ $result_converted{'latex'}->{'noindent_empty_para'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/noindent_in_paragraph.pl 
b/tp/t/results/misc_commands/noindent_in_paragraph.pl
index fa78791431..6a55189b60 100644
--- a/tp/t/results/misc_commands/noindent_in_paragraph.pl
+++ b/tp/t/results/misc_commands/noindent_in_paragraph.pl
@@ -164,24 +164,16 @@ $result_converted{'latex'}->{'noindent_in_paragraph'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/noindent_indent.pl 
b/tp/t/results/misc_commands/noindent_indent.pl
index b65b953b94..178176a3b4 100644
--- a/tp/t/results/misc_commands/noindent_indent.pl
+++ b/tp/t/results/misc_commands/noindent_indent.pl
@@ -274,24 +274,16 @@ $result_converted{'latex'}->{'noindent_indent'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index 3636c44699..3583f5a32b 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -552,24 +552,16 @@ $result_converted{'latex'}->{'ref_in_center'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/setfilename.pl 
b/tp/t/results/misc_commands/setfilename.pl
index 02bb32c204..bd4b8b31c8 100644
--- a/tp/t/results/misc_commands/setfilename.pl
+++ b/tp/t/results/misc_commands/setfilename.pl
@@ -323,24 +323,16 @@ $result_converted{'latex'}->{'setfilename'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index 05bceb7ca9..42a9b147ff 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2814,24 +2814,16 @@ $result_converted{'latex'}->{'test_allowcodebreaks'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/misc_commands/vskip.pl 
b/tp/t/results/misc_commands/vskip.pl
index 612ef32be9..6296d52201 100644
--- a/tp/t/results/misc_commands/vskip.pl
+++ b/tp/t/results/misc_commands/vskip.pl
@@ -78,24 +78,16 @@ $result_converted{'latex'}->{'vskip'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/quotation/empty_quotation.pl 
b/tp/t/results/quotation/empty_quotation.pl
index 303bb28a60..2e563d89f4 100644
--- a/tp/t/results/quotation/empty_quotation.pl
+++ b/tp/t/results/quotation/empty_quotation.pl
@@ -406,24 +406,16 @@ $result_converted{'latex'}->{'empty_quotation'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/quotation/quotation_and_author.pl 
b/tp/t/results/quotation/quotation_and_author.pl
index 58df42c72e..d9d910c807 100644
--- a/tp/t/results/quotation/quotation_and_author.pl
+++ b/tp/t/results/quotation/quotation_and_author.pl
@@ -548,24 +548,16 @@ $result_converted{'latex'}->{'quotation_and_author'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/quotation/quotation_author_in_example.pl 
b/tp/t/results/quotation/quotation_author_in_example.pl
index 418be50250..a54cb350c7 100644
--- a/tp/t/results/quotation/quotation_author_in_example.pl
+++ b/tp/t/results/quotation/quotation_author_in_example.pl
@@ -259,24 +259,16 @@ 
$result_converted{'latex'}->{'quotation_author_in_example'} = '\\documentclass{b
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 a864d9bd59..071bd9e56b 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
@@ -330,24 +330,16 @@ 
$result_converted{'latex'}->{'space_at_commands_end_quotation_line'} = '\\docume
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 0592d8a339..84f2732d1f 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 be3798672a..d3220c370c 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 224cdacddb..8dc1de5604 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 e9c2301df6..3121a326c7 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 fb78e6e901..4c53b84e71 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 6d6918606c..29628a9b74 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 6e2749a417..5808bd5a5a 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 f3c287a436..ab69d90455 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 4cfa9a5871..665cf6ff21 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 086f76cfe3..cf15a738ea 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 205f50a6ca..f0b094fe99 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
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/t/results/sectioning/top_node_part_top.pl 
b/tp/t/results/sectioning/top_node_part_top.pl
index 8c3348c8f5..8dbfb5cceb 100644
--- a/tp/t/results/sectioning/top_node_part_top.pl
+++ b/tp/t/results/sectioning/top_node_part_top.pl
@@ -490,24 +490,16 @@ $result_converted{'file_latex'}->{'top_node_part_top'} = 
'\\documentclass{book}
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
 \\newenvironment{GNUTexinfopreformatted}{%
-  \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
-  \\parskip=\\z@\\parindent=\\z@}{}
+  
\\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}}
+\\newenvironment{GNUTexinfoindented}{\\begin{list}{}{}\\item\\relax}{\\end{list}}
 % command that does nothing used to help with substitutions in commands
 \\newcommand{\\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \\thispagestyle{plain}
-\\renewpagestyle{plain}{\\sethead[\\thepage{}][][]
-                             {}{}{\\thepage{}}}
-
 \\newpagestyle{single}{\\sethead[\\chaptername{} \\thechapter{} 
\\chaptertitle{}][][\\thepage]
                               {\\chaptername{} \\thechapter{} 
\\chaptertitle{}}{}{\\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 4c23e9a0a2..316a90faee 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
@@ -31,27 +31,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % 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
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 c1eb09d2ce..7d1b65988f 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
@@ -26,27 +26,19 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % 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
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 fa702f654c..c1a6d156f1 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"
@@ -19,24 +19,16 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 dc95d294c0..a71f0e6f56 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
@@ -31,13 +31,9 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
 \setlist[itemize]{label=\textbullet}
@@ -46,14 +42,10 @@
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
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 dc95d294c0..a71f0e6f56 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
@@ -31,13 +31,9 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
 \setlist[itemize]{label=\textbullet}
@@ -46,14 +42,10 @@
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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}}}
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 7aab1423ab..4d8f22f1f9 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -45,13 +45,9 @@
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
 \newenvironment{GNUTexinfopreformatted}{%
-  \par\GNUTobeylines\obeyspaces\frenchspacing
-  \parskip=\z@\parindent=\z@}{}
+  \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}}
+\newenvironment{GNUTexinfoindented}{\begin{list}{}{}\item\relax}{\end{list}}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
 \setlist[itemize]{label=\textbullet}
@@ -60,14 +56,10 @@
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
-% plain page style for part and chapter, which call \thispagestyle{plain}
-\renewpagestyle{plain}{\sethead[\thepage{}][][]
-                             {}{}{\thepage{}}}
-
 \newpagestyle{single}{\sethead[\chaptername{} \thechapter{} 
\chaptertitle{}][][\thepage]
                               {\chaptername{} \thechapter{} 
\chaptertitle{}}{}{\thepage}}
 
-% avoid pagebreak and headings setting for a sectionning command
+% 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



reply via email to

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