texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Shorter LaTeX preamble


From: Gavin D. Smith
Subject: branch master updated: Shorter LaTeX preamble
Date: Sat, 03 Sep 2022 07:43:33 -0400

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

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 2c3fc64738 Shorter LaTeX preamble
2c3fc64738 is described below

commit 2c3fc647381fbbe0a807c86fc1dbfa5abaa0ee19
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Sep 3 12:43:24 2022 +0100

    Shorter LaTeX preamble
    
    * tp/Texinfo/Convert/LaTeX.pm
    (_begin_document, %front_main_matter_definitions): Output commands
    \mainmatter, \frontmatter directly using hash, rather than via
    \GNUTexinfomainmatter, \GNUTexinfofrontmatter macros.  Likewise
    for alternate 'report' definitions.
    (_latex_header): Update.
---
 ChangeLog                                          | 11 +++++++++
 tp/Texinfo/Convert/LaTeX.pm                        | 28 +++++++++++-----------
 .../combined_fonts/res_latex/combined_fonts.tex    |  3 ---
 .../res_latex/definition_commands.tex              |  3 ---
 .../converters_tests/empty/res_latex/empty.tex     |  3 ---
 .../res_latex/minimal_empty_empty.tex              |  3 ---
 .../res_latex/minimal_empty_with_bye.tex           |  3 ---
 .../res_latex/minimal_empty_with_input.tex         |  3 ---
 .../printindex_merged_indices_code_style.tex       |  3 ---
 .../res_latex/references_to_top_no_top_output.tex  |  3 ---
 .../res_latex/simplest_no_node_section.tex         |  3 ---
 .../res_latex/char_latin1_latin1_in_refs.tex       |  3 ---
 .../mathjax_with_texinfo_enable_encoding.tex       |  3 ---
 tp/t/results/indices/def_syn_indices.pl            |  3 ---
 tp/t/results/indices/double_seeentry_seealso.pl    |  3 ---
 tp/t/results/indices/empty_cindex_entry.pl         |  3 ---
 tp/t/results/indices/empty_index_entry.pl          |  3 ---
 tp/t/results/indices/empty_string_index_entry.pl   |  3 ---
 tp/t/results/indices/explicit_sort_key.pl          |  3 ---
 .../multiple_index_text_sortas_seeentry_seealso.pl |  3 ---
 tp/t/results/indices/seealso_duplicate.pl          |  3 ---
 tp/t/results/indices/seeentry.pl                   |  3 ---
 tp/t/results/indices/subentries.pl                 |  3 ---
 tp/t/results/indices/subentry_and_sortas.pl        |  3 ---
 tp/t/results/indices/syncode_index_print_both.pl   |  3 ---
 tp/t/results/indices/transparent_sort_chars.pl     |  3 ---
 .../res_latex/inter_item_commands_in_enumerate.tex |  3 ---
 .../res_latex/inter_item_commands_in_itemize.tex   |  3 ---
 .../res_latex/multiple_lang_chapters.tex           |  3 ---
 .../anchor_in_copying_insertcopying_titlepage.pl   |  4 ++--
 ...chor_in_copying_insertcopying_titlepage_chap.pl |  4 ++--
 ...anchor_links_xref_xrefautomaticsectiontitle.tex |  3 ---
 .../brace_in_index/res_latex/brace_in_index.tex    |  3 ---
 .../custom_headings/res_latex/custom_headings.tex  |  3 ---
 .../res_latex/enumerate_arguments.tex              |  3 ---
 .../res_latex/error_in_sectioning_command.tex      |  3 ---
 .../res_latex/example_in_cartouche.tex             |  3 ---
 .../float_and_refs/res_latex/float_and_refs.tex    |  3 ---
 .../fonttextsize/res_latex/fonttextsize.tex        |  3 ---
 .../latex_tests/indices/res_latex/indices.tex      |  3 ---
 .../res_latex/informative_commands_in_top_node.tex |  3 ---
 .../res_latex/nested_enumerate.tex                 |  3 ---
 .../nested_itemize/res_latex/nested_itemize.tex    |  3 ---
 .../no_titlepage_and_setchapternewpage_odd.tex     |  3 ---
 .../no_titlepage_and_setchapternewpage_on.tex      |  3 ---
 .../latex_tests/pagesizes/res_latex/pagesizes.tex  |  3 ---
 .../latex_tests/pagetype/res_latex/pagetype.tex    |  3 ---
 .../setchapternewpage_on_odd_titlepage.pl          |  4 ++--
 .../setchapternewpage_on_odd_titlepage.tex         |  7 ++----
 .../res_latex/settitle_and_headings.tex            |  3 ---
 tp/t/results/latex_tests/shorttitlepage.pl         |  4 ++--
 .../shorttitlepage/res_latex/shorttitlepage.tex    |  7 ++----
 .../three_setchapternewpage_on_odd_off.tex         |  3 ---
 tp/t/results/latex_tests/titlepage_and_headings.pl |  4 ++--
 .../res_latex/titlepage_and_headings.tex           |  7 ++----
 .../titlepage_and_setchapternewpage_odd.pl         |  4 ++--
 .../titlepage_and_setchapternewpage_odd.tex        |  7 ++----
 .../titlepage_and_setchapternewpage_on.pl          |  4 ++--
 .../titlepage_and_setchapternewpage_on.tex         |  7 ++----
 tp/t/results/latex_tests/titlepage_classical.pl    |  4 ++--
 .../res_latex/titlepage_classical.tex              |  7 ++----
 tp/t/results/latex_tests/titlepage_in_top_node.pl  |  4 ++--
 .../res_latex/titlepage_in_top_node.tex            |  7 ++----
 tp/t/results/latex_tests/titlepage_long_title.pl   |  4 ++--
 .../res_latex/titlepage_long_title.tex             |  7 ++----
 tp/t/results/latex_tests/titlepage_no_author.pl    |  4 ++--
 .../res_latex/titlepage_no_author.tex              |  7 ++----
 tp/t/results/latex_tests/titlepage_no_title.pl     |  4 ++--
 .../res_latex/titlepage_no_title.tex               |  7 ++----
 .../titlepage_with_commands_classical.pl           |  4 ++--
 .../titlepage_with_commands_classical.tex          |  7 ++----
 .../res_latex/two_setchapternewpage_odd_on.tex     |  3 ---
 .../res_latex/two_setchapternewpage_on_odd.tex     |  3 ---
 .../res_latex/verbatim_in_smallformat.tex          |  3 ---
 .../codequoteundirected_codequotebacktick.pl       |  7 ++----
 .../misc_commands/command_in_heading_footing.pl    |  3 ---
 .../misc_commands/comment_space_command_on_line.pl |  3 ---
 tp/t/results/misc_commands/comments_in_text.pl     |  3 ---
 tp/t/results/misc_commands/definfoenclose.pl       |  3 ---
 .../misc_commands/definfoenclose_with_empty_arg.pl |  3 ---
 tp/t/results/misc_commands/empty_center.pl         |  3 ---
 .../results/misc_commands/empty_center_with_arg.pl |  3 ---
 tp/t/results/misc_commands/footnote_in_center.pl   |  3 ---
 .../misc_commands/heading_command_in_commands.pl   |  3 ---
 .../incorrect_allowcodebreaks_argument.pl          |  3 ---
 tp/t/results/misc_commands/indent_in_quotation.pl  |  3 ---
 tp/t/results/misc_commands/kbdinputstyle.pl        |  3 ---
 .../misc_commands/kbdinputstyle_in_table.pl        |  3 ---
 .../no_empty_line_between_headings.pl              |  3 ---
 .../misc_commands/noindent_after_smallexample.pl   |  3 ---
 tp/t/results/misc_commands/noindent_empty_para.pl  |  3 ---
 .../results/misc_commands/noindent_in_paragraph.pl |  3 ---
 tp/t/results/misc_commands/noindent_indent.pl      |  3 ---
 tp/t/results/misc_commands/ref_in_center.pl        |  3 ---
 tp/t/results/misc_commands/setfilename.pl          |  3 ---
 tp/t/results/misc_commands/test_allowcodebreaks.pl |  3 ---
 tp/t/results/misc_commands/vskip.pl                |  3 ---
 tp/t/results/quotation/empty_quotation.pl          |  3 ---
 tp/t/results/quotation/quotation_and_author.pl     |  3 ---
 .../quotation/quotation_author_in_example.pl       |  3 ---
 .../space_at_commands_end_quotation_line.pl        |  3 ---
 tp/t/results/regions/anchor_in_titlepage.pl        |  4 ++--
 .../regions/anchor_in_titlepage_titlepage.pl       |  4 ++--
 tp/t/results/regions/format_in_titlepage.pl        |  4 ++--
 .../regions/format_in_titlepage_titlepage.pl       |  4 ++--
 .../res_latex/chapter_between_nodes.tex            |  3 ---
 .../lone_Top_node/res_latex/lone_Top_node.tex      |  3 ---
 .../sectioning/loop_nodes/res_latex/loop_nodes.tex |  3 ---
 .../node_sectop_before_chapter_no_node.tex         |  3 ---
 .../res_latex/node_sectop_before_lone_node_Top.tex |  3 ---
 .../res_latex/nodes_before_after_top.tex           |  3 ---
 .../res_latex/nodes_before_after_top_xref.tex      |  3 ---
 .../res_latex/nodes_before_top.tex                 |  3 ---
 .../res_latex/section_before_after_top_node.tex    |  3 ---
 .../section_before_after_top_node_last_node.tex    |  3 ---
 .../res_latex/section_chapter_before_top_nodes.tex |  3 ---
 tp/t/results/sectioning/top_node_part_top.pl       |  3 ---
 .../res_latex/inter_item_commands_in_table.tex     |  3 ---
 .../inter_item_commands_in_table_in_example.tex    |  3 ---
 .../non_ascii_test_latex/os\303\251_utf8.tex"      |  3 ---
 .../indices_in_begin_tables_lists.tex              |  3 ---
 .../indices_in_begin_tables_lists.tex              |  3 ---
 .../res_parser/formatting_latex/formatting.tex     |  7 ++----
 123 files changed, 85 insertions(+), 386 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8134a39d99..a33d47c496 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2022-09-03  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Shorter LaTeX preamble
+
+       * tp/Texinfo/Convert/LaTeX.pm
+       (_begin_document, %front_main_matter_definitions): Output commands 
+       \mainmatter, \frontmatter directly using hash, rather than via
+       \GNUTexinfomainmatter, \GNUTexinfofrontmatter macros.  Likewise
+       for alternate 'report' definitions.
+       (_latex_header): Update.
+
 2022-09-03  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/LaTeX.pm (_latex_header): Fix incorrect grammar.
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index adda36ae6b..4872deaf6e 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -1149,17 +1149,10 @@ my %LaTeX_encoding_names_map = (
 my $documentclass = 'book';
 
 my %front_main_matter_definitions = (
-  'book' => '% redefine the \mainmatter command such that it does not clear 
page
-% as if in double page
-\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
-',
-  'report' => '% add mainmatter and frontmatter commands
-\newcommand\GNUTexinfomainmatter{\clearpage\pagenumbering{arabic}}
-\newcommand\GNUTexinfofrontmatter{\clearpage\pagenumbering{roman}}
-'
+  'book' =>   {'main'  => '\mainmatter',
+               'front' => '\frontmatter'},
+  'report' => {'main'  => '\clearpage\pagenumbering{arabic}',
+               'front' => '\clearpage\pagenumbering{roman}'}
 );
 
 # not used as it is complicated to use section and chapter title
@@ -1273,7 +1266,13 @@ sub _latex_header() {
     }
   }
 
-  $header_code .= $front_main_matter_definitions{$documentclass};
+  if ($documentclass eq 'book') {
+    $header_code .=
+'% redefine the \mainmatter command such that it does not clear page
+% as if in double page
+\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
+';
+  }
 
   $header_code .=
 '\newenvironment{GNUTexinfopreformatted}{%
@@ -1486,7 +1485,8 @@ sub _begin_document($)
 ';
   if (exists($self->{'global_commands'}->{'titlepage'})
       or exists($self->{'global_commands'}->{'shorttitlepage'})) {
-    $result .= "\n\\GNUTexinfofrontmatter\n";
+    $result .= "\n";
+    $result .= $front_main_matter_definitions{$documentclass}->{'front'}."\n";
 
     if (exists($self->{'global_commands'}->{'titlepage'})) {
       my $element = $self->{'global_commands'}->{'titlepage'};
@@ -1518,7 +1518,7 @@ sub _begin_document($)
       $result .= "\\end{titlepage}\n";
     }
     $result .= _set_headings($self, 'on');
-    $result .= "\\GNUTexinfomainmatter\n";
+    $result .= $front_main_matter_definitions{$documentclass}->{'main'}."\n";
     $self->{'titlepage_done'} = 1;
   }
 
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 cdc326a8da..5753b24854 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
@@ -27,9 +27,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 19f0de98fa..9097b836e3 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
@@ -28,9 +28,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 c841789227..5069da4734 100644
--- a/tp/t/results/converters_tests/empty/res_latex/empty.tex
+++ b/tp/t/results/converters_tests/empty/res_latex/empty.tex
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 c841789227..5069da4734 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 c841789227..5069da4734 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 c841789227..5069da4734 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 f2b568e05a..e730b9bd70 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
@@ -21,9 +21,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 678564d21b..ace4663284 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
@@ -24,9 +24,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 31399219df..f84597b8dd 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 00a308c83d..f8875f7f79 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
@@ -21,9 +21,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 2e03302237..c4f4d3a85d 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git a/tp/t/results/indices/def_syn_indices.pl 
b/tp/t/results/indices/def_syn_indices.pl
index 5fffc33e0a..9b0c2923ab 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -2152,9 +2152,6 @@ $result_converted{'latex'}->{'def_syn_indices'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/double_seeentry_seealso.pl 
b/tp/t/results/indices/double_seeentry_seealso.pl
index 343770d24d..48c434823f 100644
--- a/tp/t/results/indices/double_seeentry_seealso.pl
+++ b/tp/t/results/indices/double_seeentry_seealso.pl
@@ -929,9 +929,6 @@ $result_converted{'latex'}->{'double_seeentry_seealso'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index d4928c292f..f72c5b78c6 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -254,9 +254,6 @@ $result_converted{'latex'}->{'empty_cindex_entry'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/empty_index_entry.pl 
b/tp/t/results/indices/empty_index_entry.pl
index 5e21fbff89..91abe7e247 100644
--- a/tp/t/results/indices/empty_index_entry.pl
+++ b/tp/t/results/indices/empty_index_entry.pl
@@ -434,9 +434,6 @@ $result_converted{'latex'}->{'empty_index_entry'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index c4fb6cc31f..9458db7240 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -1079,9 +1079,6 @@ $result_converted{'latex'}->{'empty_string_index_entry'} 
= '\\documentclass{book
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index 7d9e6079c1..57d2017f17 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -1170,9 +1170,6 @@ $result_converted{'latex'}->{'explicit_sort_key'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 2ee130282b..dec56bac8f 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
@@ -728,9 +728,6 @@ 
$result_converted{'latex'}->{'multiple_index_text_sortas_seeentry_seealso'} = '\
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index ba951f9e80..811ce756ab 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -498,9 +498,6 @@ $result_converted{'latex'}->{'seealso_duplicate'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index 0888c02b42..38266a5d37 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -810,9 +810,6 @@ $result_converted{'latex'}->{'seeentry'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/subentries.pl 
b/tp/t/results/indices/subentries.pl
index b02b5147db..54a6c53ff9 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -1397,9 +1397,6 @@ $result_converted{'latex'}->{'subentries'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/subentry_and_sortas.pl 
b/tp/t/results/indices/subentry_and_sortas.pl
index 0f2fbea1c5..bcf1aaf175 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -828,9 +828,6 @@ $result_converted{'latex'}->{'subentry_and_sortas'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/syncode_index_print_both.pl 
b/tp/t/results/indices/syncode_index_print_both.pl
index 8edd4ed774..fb9bee3be7 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -816,9 +816,6 @@ $result_converted{'latex'}->{'syncode_index_print_both'} = 
'\\documentclass{book
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index e181ba7cbb..be0053f36f 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -635,9 +635,6 @@ $result_converted{'latex'}->{'transparent_sort_chars'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 680297f4ee..1e5858d879 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
@@ -22,9 +22,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 086e3c412b..7fcb29cbcc 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
@@ -22,9 +22,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 e65c47fb37..34354332b3 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
@@ -25,9 +25,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git 
a/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage.pl 
b/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage.pl
index 743acdc70e..ed5b91b1cf 100644
--- a/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage.pl
+++ b/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage.pl
@@ -728,7 +728,7 @@ 
$result_converted{'latex_text'}->{'anchor_in_copying_insertcopying_titlepage'} =
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -749,7 +749,7 @@ Cop. \\label{anchor:a-in-copying}%
 . Ying.
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chap}}
 \\label{anchor:Chapter}%
diff --git 
a/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage_chap.pl 
b/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage_chap.pl
index 168110747c..d95f43d6ac 100644
--- a/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage_chap.pl
+++ b/tp/t/results/latex_tests/anchor_in_copying_insertcopying_titlepage_chap.pl
@@ -729,7 +729,7 @@ 
$result_converted{'latex_text'}->{'anchor_in_copying_insertcopying_titlepage_cha
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -749,7 +749,7 @@ Cop. \\label{anchor:a-in-copying}%
 . Ying.
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chap}}
 \\label{anchor:Chapter}%
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 8c1d8d99ac..c50d817132 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 8047a8e71f..01df9bc959 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
@@ -25,9 +25,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 3f3dcd2519..aee6cdd6ee 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 ab3320fae8..4306d00645 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
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 b0d8adc13b..709726d861 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 5da6f7b19f..a1ba56c90d 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
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 60e44569ad..3837726233 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
@@ -24,9 +24,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 6880bea6e3..7314775c38 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++ b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 7b1472517a..b560c3ce0e 100644
--- a/tp/t/results/latex_tests/indices/res_latex/indices.tex
+++ b/tp/t/results/latex_tests/indices/res_latex/indices.tex
@@ -22,9 +22,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 c559f928c5..c57154c2f3 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 d4eeca6f4e..bdde04399b 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
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 149cbb542f..f834cbbca5 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
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 2d13d0d203..b4a5627168 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 7386713a11..bae32deab9 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 94a5016926..ee31dc95fb 100644
--- a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
+++ b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 d7be4abe8b..16e472a949 100644
--- a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
+++ b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
@@ -19,9 +19,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl 
b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
index 3fc9ff27d9..0e45c9a796 100644
--- a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
+++ b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
@@ -222,7 +222,7 @@ 
$result_converted{'latex_text'}->{'setchapternewpage_on_odd_titlepage'} = '\\mak
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -234,7 +234,7 @@ in titlepage
 \\endgroup
 \\end{titlepage}
 \\pagestyle{double}%
-\\GNUTexinfomainmatter
+\\mainmatter
 ';
 
 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 e4013da7f1..42ef76d21f 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -60,7 +57,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -72,5 +69,5 @@ in titlepage
 \endgroup
 \end{titlepage}
 \pagestyle{double}%
-\GNUTexinfomainmatter
+\mainmatter
 \end{document}
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 dc0765eb46..fea0c3c548 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git a/tp/t/results/latex_tests/shorttitlepage.pl 
b/tp/t/results/latex_tests/shorttitlepage.pl
index ec5637ecfb..f66c30487c 100644
--- a/tp/t/results/latex_tests/shorttitlepage.pl
+++ b/tp/t/results/latex_tests/shorttitlepage.pl
@@ -380,14 +380,14 @@ $result_floats{'shorttitlepage'} = {};
 $result_converted{'latex_text'}->{'shorttitlepage'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 {\\raggedright {\\huge \\bfseries the title with shorttitlepage 
\\leavevmode{}\\\\ it can be long}}
 \\newpage{}
 \\phantom{blabla}\\newpage{}
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chapter}%
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 13a2e08611..645c8dd26d 100644
--- a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
+++ b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -56,14 +53,14 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 {\raggedright {\huge \bfseries the title with shorttitlepage \leavevmode{}\\ 
it can be long}}
 \newpage{}
 \phantom{blabla}\newpage{}
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{Chapter}}
 \label{anchor:chapter}%
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 28db1a6188..a769475f88 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git a/tp/t/results/latex_tests/titlepage_and_headings.pl 
b/tp/t/results/latex_tests/titlepage_and_headings.pl
index 8a78b25005..dea083a10b 100644
--- a/tp/t/results/latex_tests/titlepage_and_headings.pl
+++ b/tp/t/results/latex_tests/titlepage_and_headings.pl
@@ -126,7 +126,7 @@ $result_floats{'titlepage_and_headings'} = {};
 $result_converted{'latex_text'}->{'titlepage_and_headings'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -138,7 +138,7 @@ in titlepage
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 ';
 
 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 1906c5df09..2088c307da 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -56,7 +53,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -68,5 +65,5 @@ in titlepage
 \endgroup
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \end{document}
diff --git a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl 
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
index 9a0efd4b82..bd30421a6a 100644
--- a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
+++ b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
@@ -171,7 +171,7 @@ 
$result_converted{'latex_text'}->{'titlepage_and_setchapternewpage_odd'} = '
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -183,7 +183,7 @@ in titlepage
 \\endgroup
 \\end{titlepage}
 \\pagestyle{double}%
-\\GNUTexinfomainmatter
+\\mainmatter
 ';
 
 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 abf6332588..d2113c29ef 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -60,7 +57,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -72,5 +69,5 @@ in titlepage
 \endgroup
 \end{titlepage}
 \pagestyle{double}%
-\GNUTexinfomainmatter
+\mainmatter
 \end{document}
diff --git a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl 
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
index d6d1a17344..0eff3819cc 100644
--- a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
+++ b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
@@ -174,7 +174,7 @@ 
$result_converted{'latex_text'}->{'titlepage_and_setchapternewpage_on'} = '\\mak
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -186,7 +186,7 @@ in titlepage
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 ';
 
 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 ff097190bb..c83d65ee20 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -57,7 +54,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -69,5 +66,5 @@ in titlepage
 \endgroup
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \end{document}
diff --git a/tp/t/results/latex_tests/titlepage_classical.pl 
b/tp/t/results/latex_tests/titlepage_classical.pl
index e01fec7c0c..e14881b55c 100644
--- a/tp/t/results/latex_tests/titlepage_classical.pl
+++ b/tp/t/results/latex_tests/titlepage_classical.pl
@@ -761,7 +761,7 @@ $result_converted{'latex_text'}->{'titlepage_classical'} = '
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -788,7 +788,7 @@ $result_converted{'latex_text'}->{'titlepage_classical'} = '
 in Copying
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chapter}%
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 bccaac74e0..c012a42a60 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -57,7 +54,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -84,7 +81,7 @@
 in Copying
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{Chapter}}
 \label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_in_top_node.pl 
b/tp/t/results/latex_tests/titlepage_in_top_node.pl
index 9e67bc7e78..c43e903072 100644
--- a/tp/t/results/latex_tests/titlepage_in_top_node.pl
+++ b/tp/t/results/latex_tests/titlepage_in_top_node.pl
@@ -455,7 +455,7 @@ $result_floats{'titlepage_in_top_node'} = {};
 
 $result_converted{'latex_text'}->{'titlepage_in_top_node'} = '\\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -470,7 +470,7 @@ $result_converted{'latex_text'}->{'titlepage_in_top_node'} 
= '\\begin{document}
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{chap}}
 \\label{anchor:chap}%
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 5d9556b029..95a24dd1f4 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -55,7 +52,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -70,7 +67,7 @@
 \endgroup
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{chap}}
 \label{anchor:chap}%
diff --git a/tp/t/results/latex_tests/titlepage_long_title.pl 
b/tp/t/results/latex_tests/titlepage_long_title.pl
index f77606478a..6ea3fd6f50 100644
--- a/tp/t/results/latex_tests/titlepage_long_title.pl
+++ b/tp/t/results/latex_tests/titlepage_long_title.pl
@@ -451,7 +451,7 @@ $result_floats{'titlepage_long_title'} = {};
 $result_converted{'latex_text'}->{'titlepage_long_title'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -467,7 +467,7 @@ $result_converted{'latex_text'}->{'titlepage_long_title'} = 
'
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chapter}%
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 e564ebb7ed..ae922a74ea 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -56,7 +53,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -72,7 +69,7 @@
 \endgroup
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{Chapter}}
 \label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_no_author.pl 
b/tp/t/results/latex_tests/titlepage_no_author.pl
index 19b86e557b..1e760efa12 100644
--- a/tp/t/results/latex_tests/titlepage_no_author.pl
+++ b/tp/t/results/latex_tests/titlepage_no_author.pl
@@ -433,7 +433,7 @@ $result_floats{'titlepage_no_author'} = {};
 $result_converted{'latex_text'}->{'titlepage_no_author'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -448,7 +448,7 @@ $result_converted{'latex_text'}->{'titlepage_no_author'} = '
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chapter}%
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 63f4ae6db6..8d52c1cea6 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -56,7 +53,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -71,7 +68,7 @@
 \endgroup
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{Chapter}}
 \label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_no_title.pl 
b/tp/t/results/latex_tests/titlepage_no_title.pl
index 47c830f429..cda99a4f6e 100644
--- a/tp/t/results/latex_tests/titlepage_no_title.pl
+++ b/tp/t/results/latex_tests/titlepage_no_title.pl
@@ -475,7 +475,7 @@ $result_floats{'titlepage_no_title'} = {};
 $result_converted{'latex_text'}->{'titlepage_no_title'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -490,7 +490,7 @@ $result_converted{'latex_text'}->{'titlepage_no_title'} = '
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chapter}%
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 d4042b94e4..ac696abe8e 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -56,7 +53,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -71,7 +68,7 @@
 \endgroup
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{Chapter}}
 \label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_with_commands_classical.pl 
b/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
index e198d6578c..f590c98ebc 100644
--- a/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
+++ b/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
@@ -985,7 +985,7 @@ 
$result_converted{'latex_text'}->{'titlepage_with_commands_classical'} = '
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -1018,7 +1018,7 @@ $$
 in Copying
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chapter}%
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 f3fb46e2b6..772461a2f9 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -57,7 +54,7 @@
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -90,7 +87,7 @@ $$
 in Copying
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \label{anchor:Top}%
 \chapter{{Chapter}}
 \label{anchor:chapter}%
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 87f63a3af9..e4e6b2c3d5 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 d31dc0491d..ecbc1d179f 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 8244829a5b..b2a653cc19 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 252550eb01..ad1c515056 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5574,9 +5574,6 @@ 
$result_converted{'latex'}->{'codequoteundirected_codequotebacktick'} = '\\docum
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
@@ -5615,7 +5612,7 @@ 
$result_converted{'latex'}->{'codequoteundirected_codequotebacktick'} = '\\docum
 
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -5659,7 +5656,7 @@ samp: 
`\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'} `s
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 \\chapter{{Chapter}}
 \\label{anchor:chap}%
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 95f06af175..49b215f345 100644
--- a/tp/t/results/misc_commands/command_in_heading_footing.pl
+++ b/tp/t/results/misc_commands/command_in_heading_footing.pl
@@ -236,9 +236,6 @@ $result_converted{'latex'}->{'command_in_heading_footing'} 
= '\\documentclass{bo
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 9c33f060cf..18c917ed7e 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
@@ -1085,9 +1085,6 @@ 
$result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/comments_in_text.pl 
b/tp/t/results/misc_commands/comments_in_text.pl
index 6e34780c7f..29cf1a987a 100644
--- a/tp/t/results/misc_commands/comments_in_text.pl
+++ b/tp/t/results/misc_commands/comments_in_text.pl
@@ -234,9 +234,6 @@ $result_converted{'latex'}->{'comments_in_text'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/definfoenclose.pl 
b/tp/t/results/misc_commands/definfoenclose.pl
index 74fcd29937..722a0e8955 100644
--- a/tp/t/results/misc_commands/definfoenclose.pl
+++ b/tp/t/results/misc_commands/definfoenclose.pl
@@ -482,9 +482,6 @@ $result_converted{'latex'}->{'definfoenclose'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 656c551fb8..1f93297a77 100644
--- a/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
+++ b/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
@@ -181,9 +181,6 @@ 
$result_converted{'latex'}->{'definfoenclose_with_empty_arg'} = '\\documentclass
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/empty_center.pl 
b/tp/t/results/misc_commands/empty_center.pl
index bd1914b1bb..22278f25e1 100644
--- a/tp/t/results/misc_commands/empty_center.pl
+++ b/tp/t/results/misc_commands/empty_center.pl
@@ -93,9 +93,6 @@ $result_converted{'latex'}->{'empty_center'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 639e6290fa..7f94f34d6f 100644
--- a/tp/t/results/misc_commands/empty_center_with_arg.pl
+++ b/tp/t/results/misc_commands/empty_center_with_arg.pl
@@ -104,9 +104,6 @@ $result_converted{'latex'}->{'empty_center_with_arg'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/footnote_in_center.pl 
b/tp/t/results/misc_commands/footnote_in_center.pl
index ea9f225bc6..b4ea887264 100644
--- a/tp/t/results/misc_commands/footnote_in_center.pl
+++ b/tp/t/results/misc_commands/footnote_in_center.pl
@@ -379,9 +379,6 @@ $result_converted{'latex'}->{'footnote_in_center'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 804b883684..c6fa97e889 100644
--- a/tp/t/results/misc_commands/heading_command_in_commands.pl
+++ b/tp/t/results/misc_commands/heading_command_in_commands.pl
@@ -375,9 +375,6 @@ $result_converted{'latex'}->{'heading_command_in_commands'} 
= '\\documentclass{b
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl 
b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
index 715aeac80d..e46c319f44 100644
--- a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
+++ b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
@@ -140,9 +140,6 @@ 
$result_converted{'latex'}->{'incorrect_allowcodebreaks_argument'} = '\\document
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/indent_in_quotation.pl 
b/tp/t/results/misc_commands/indent_in_quotation.pl
index 3207cdc511..16773d6131 100644
--- a/tp/t/results/misc_commands/indent_in_quotation.pl
+++ b/tp/t/results/misc_commands/indent_in_quotation.pl
@@ -163,9 +163,6 @@ $result_converted{'latex'}->{'indent_in_quotation'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/kbdinputstyle.pl 
b/tp/t/results/misc_commands/kbdinputstyle.pl
index 2f4be71ff2..65bc3bfc85 100644
--- a/tp/t/results/misc_commands/kbdinputstyle.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle.pl
@@ -2257,9 +2257,6 @@ $result_converted{'latex'}->{'kbdinputstyle'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl 
b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
index 8c8113a3b8..97f1768cb7 100644
--- a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
@@ -2445,9 +2445,6 @@ $result_converted{'latex'}->{'kbdinputstyle_in_table'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 b05b654ff5..6155e1858e 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
@@ -268,9 +268,6 @@ 
$result_converted{'latex'}->{'no_empty_line_between_headings'} = '\\documentclas
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/noindent_after_smallexample.pl 
b/tp/t/results/misc_commands/noindent_after_smallexample.pl
index 79edbc6961..6066e4b03d 100644
--- a/tp/t/results/misc_commands/noindent_after_smallexample.pl
+++ b/tp/t/results/misc_commands/noindent_after_smallexample.pl
@@ -207,9 +207,6 @@ $result_converted{'latex'}->{'noindent_after_smallexample'} 
= '\\documentclass{b
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/noindent_empty_para.pl 
b/tp/t/results/misc_commands/noindent_empty_para.pl
index 9e3b326ae9..671b50aac4 100644
--- a/tp/t/results/misc_commands/noindent_empty_para.pl
+++ b/tp/t/results/misc_commands/noindent_empty_para.pl
@@ -115,9 +115,6 @@ $result_converted{'latex'}->{'noindent_empty_para'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/noindent_in_paragraph.pl 
b/tp/t/results/misc_commands/noindent_in_paragraph.pl
index 7a871dfc83..fa78791431 100644
--- a/tp/t/results/misc_commands/noindent_in_paragraph.pl
+++ b/tp/t/results/misc_commands/noindent_in_paragraph.pl
@@ -163,9 +163,6 @@ $result_converted{'latex'}->{'noindent_in_paragraph'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/noindent_indent.pl 
b/tp/t/results/misc_commands/noindent_indent.pl
index d680edbd93..b65b953b94 100644
--- a/tp/t/results/misc_commands/noindent_indent.pl
+++ b/tp/t/results/misc_commands/noindent_indent.pl
@@ -273,9 +273,6 @@ $result_converted{'latex'}->{'noindent_indent'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index b895b8c7d8..3636c44699 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -551,9 +551,6 @@ $result_converted{'latex'}->{'ref_in_center'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/setfilename.pl 
b/tp/t/results/misc_commands/setfilename.pl
index dcdfdc0953..02bb32c204 100644
--- a/tp/t/results/misc_commands/setfilename.pl
+++ b/tp/t/results/misc_commands/setfilename.pl
@@ -322,9 +322,6 @@ $result_converted{'latex'}->{'setfilename'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index 048d864193..05bceb7ca9 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2813,9 +2813,6 @@ $result_converted{'latex'}->{'test_allowcodebreaks'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/misc_commands/vskip.pl 
b/tp/t/results/misc_commands/vskip.pl
index 7cd6008701..612ef32be9 100644
--- a/tp/t/results/misc_commands/vskip.pl
+++ b/tp/t/results/misc_commands/vskip.pl
@@ -77,9 +77,6 @@ $result_converted{'latex'}->{'vskip'} = '\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/quotation/empty_quotation.pl 
b/tp/t/results/quotation/empty_quotation.pl
index 781b0e7db3..303bb28a60 100644
--- a/tp/t/results/quotation/empty_quotation.pl
+++ b/tp/t/results/quotation/empty_quotation.pl
@@ -405,9 +405,6 @@ $result_converted{'latex'}->{'empty_quotation'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/quotation/quotation_and_author.pl 
b/tp/t/results/quotation/quotation_and_author.pl
index 6ae827d844..58df42c72e 100644
--- a/tp/t/results/quotation/quotation_and_author.pl
+++ b/tp/t/results/quotation/quotation_and_author.pl
@@ -547,9 +547,6 @@ $result_converted{'latex'}->{'quotation_and_author'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/quotation/quotation_author_in_example.pl 
b/tp/t/results/quotation/quotation_author_in_example.pl
index 242e4ee594..418be50250 100644
--- a/tp/t/results/quotation/quotation_author_in_example.pl
+++ b/tp/t/results/quotation/quotation_author_in_example.pl
@@ -258,9 +258,6 @@ $result_converted{'latex'}->{'quotation_author_in_example'} 
= '\\documentclass{b
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 0970810172..a864d9bd59 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
@@ -329,9 +329,6 @@ 
$result_converted{'latex'}->{'space_at_commands_end_quotation_line'} = '\\docume
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
diff --git a/tp/t/results/regions/anchor_in_titlepage.pl 
b/tp/t/results/regions/anchor_in_titlepage.pl
index 43eeba72c7..72d29e8654 100644
--- a/tp/t/results/regions/anchor_in_titlepage.pl
+++ b/tp/t/results/regions/anchor_in_titlepage.pl
@@ -554,7 +554,7 @@ Previous: <a href="#Top" accesskey="p" 
rel="prev">Chapter</a> &nbsp; </p>
 $result_converted{'latex_text'}->{'anchor_in_titlepage'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -567,7 +567,7 @@ $result_converted{'latex_text'}->{'anchor_in_titlepage'} = '
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\part*{{top}}
 \\label{anchor:Top}%
 \\label{anchor:nchap}%
diff --git a/tp/t/results/regions/anchor_in_titlepage_titlepage.pl 
b/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
index 4caa979d48..e63d808916 100644
--- a/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
@@ -556,7 +556,7 @@ Previous: <a href="#Top" accesskey="p" 
rel="prev">Chapter</a> &nbsp; </p>
 $result_converted{'latex_text'}->{'anchor_in_titlepage_titlepage'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -569,7 +569,7 @@ 
$result_converted{'latex_text'}->{'anchor_in_titlepage_titlepage'} = '
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\part*{{top}}
 \\label{anchor:Top}%
 \\label{anchor:nchap}%
diff --git a/tp/t/results/regions/format_in_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage.pl
index c299d4b4a2..2110c992db 100644
--- a/tp/t/results/regions/format_in_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage.pl
@@ -335,7 +335,7 @@ $result_converted_errors{'html'}->{'format_in_titlepage'} = 
[
 $result_converted{'latex_text'}->{'format_in_titlepage'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -351,7 +351,7 @@ Published
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 ';
 
diff --git a/tp/t/results/regions/format_in_titlepage_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage_titlepage.pl
index 78a7b8a46b..f16774e13b 100644
--- a/tp/t/results/regions/format_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage_titlepage.pl
@@ -346,7 +346,7 @@ 
$result_converted_errors{'html'}->{'format_in_titlepage_titlepage'} = [
 $result_converted{'latex_text'}->{'format_in_titlepage_titlepage'} = '
 \\begin{document}
 
-\\GNUTexinfofrontmatter
+\\frontmatter
 \\begin{titlepage}
 \\begingroup
 \\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
@@ -362,7 +362,7 @@ Published
 \\endgroup
 \\end{titlepage}
 \\pagestyle{single}%
-\\GNUTexinfomainmatter
+\\mainmatter
 \\label{anchor:Top}%
 ';
 
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 6dd43b6c77..0592d8a339 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 6b2ff9f873..be3798672a 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 9b7f3ee3fe..224cdacddb 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 d79274d0c3..e9c2301df6 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 8f5b4f6614..fb78e6e901 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 8be8f83df5..6d6918606c 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 b688f49e61..6e2749a417 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 501ba9175e..f3c287a436 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 a7dc3cb45b..4cfa9a5871 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 1237f75600..086f76cfe3 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 1c9737122f..205f50a6ca 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
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git a/tp/t/results/sectioning/top_node_part_top.pl 
b/tp/t/results/sectioning/top_node_part_top.pl
index e1c0cc6f2a..8c3348c8f5 100644
--- a/tp/t/results/sectioning/top_node_part_top.pl
+++ b/tp/t/results/sectioning/top_node_part_top.pl
@@ -489,9 +489,6 @@ $result_converted{'file_latex'}->{'top_node_part_top'} = 
'\\documentclass{book}
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
 \\renewcommand\\mainmatter{\\clearpage\\@mainmattertrue\\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\\newcommand\\GNUTexinfomainmatter{\\mainmatter}
-\\newcommand\\GNUTexinfofrontmatter{\\frontmatter}
 \\newenvironment{GNUTexinfopreformatted}{%
   \\par\\GNUTobeylines\\obeyspaces\\frenchspacing
   \\parskip=\\z@\\parindent=\\z@}{}
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 962d3038c9..4c23e9a0a2 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
@@ -30,9 +30,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 131c87efca..c1eb09d2ce 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
@@ -25,9 +25,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 c6f6fdb97f..fa702f654c 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"
@@ -18,9 +18,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 5fd08e56f0..dc95d294c0 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
@@ -30,9 +30,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
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 5fd08e56f0..dc95d294c0 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
@@ -30,9 +30,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 2616c42f71..7aab1423ab 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -44,9 +44,6 @@
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
 \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-% add command aliases to use the same command in book and report
-\newcommand\GNUTexinfomainmatter{\mainmatter}
-\newcommand\GNUTexinfofrontmatter{\frontmatter}
 \newenvironment{GNUTexinfopreformatted}{%
   \par\GNUTobeylines\obeyspaces\frenchspacing
   \parskip=\z@\parindent=\z@}{}
@@ -97,7 +94,7 @@ roundcorner=10pt}
 
 \begin{document}
 
-\GNUTexinfofrontmatter
+\frontmatter
 \begin{titlepage}
 \begingroup
 \newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -3551,7 +3548,7 @@ g--roupe
 
 \end{titlepage}
 \pagestyle{single}%
-\GNUTexinfomainmatter
+\mainmatter
 \tableofcontents\newpage
 
 



reply via email to

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