texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_list_enviro


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_list_environments) (_latex_header, _convert): only import packages and output LaTeX code related to list environments if needed for the document formatting.
Date: Fri, 07 Jan 2022 19:30:56 -0500

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 72aa607221 * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_list_environments) 
(_latex_header, _convert): only import packages and output LaTeX code related 
to list environments if needed for the document formatting.
72aa607221 is described below

commit 72aa607221e9763e73f02c3cc0eae62dad505048
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jan 8 01:30:45 2022 +0100

    * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_list_environments)
    (_latex_header, _convert): only import packages and output
    LaTeX code related to list environments if needed for the
    document formatting.
---
 ChangeLog                                          |  7 ++++
 tp/TODO                                            |  3 --
 tp/Texinfo/Convert/LaTeX.pm                        | 44 +++++++++++++++++-----
 .../res_latex/simplest_no_node_section.tex         |  7 ----
 .../res_latex/char_latin1_latin1_in_refs.tex       |  7 ----
 .../def_syn_indices/res_latex/def_syn_indices.tex  |  7 ----
 .../res_latex/double_seeentry_seealso.tex          |  7 ----
 .../indices/seeentry/res_latex/seeentry.tex        |  7 ----
 .../indices/subentries/res_latex/subentries.tex    |  7 ----
 .../res_latex/subentry_and_sortas.tex              |  7 ----
 .../res_latex/syncode_index_print_both.tex         |  7 ----
 .../res_latex/inter_item_commands_in_enumerate.tex |  3 --
 .../res_latex/inter_item_commands_in_itemize.tex   |  3 --
 .../res_latex/multiple_lang_chapters.tex           |  7 ----
 ...anchor_links_xref_xrefautomaticsectiontitle.tex |  7 ----
 .../custom_headings/res_latex/custom_headings.tex  |  7 ----
 .../res_latex/enumerate_arguments.tex              |  3 --
 .../res_latex/example_in_cartouche.tex             |  7 ----
 .../float_and_refs/res_latex/float_and_refs.tex    |  7 ----
 .../fonttextsize/res_latex/fonttextsize.tex        |  7 ----
 .../latex_tests/indices/res_latex/indices.tex      |  7 ----
 .../res_latex/informative_commands_in_top_node.tex |  7 ----
 .../res_latex/nested_enumerate.tex                 |  3 --
 .../nested_itemize/res_latex/nested_itemize.tex    |  3 --
 .../no_titlepage_and_setchapternewpage_odd.tex     |  7 ----
 .../no_titlepage_and_setchapternewpage_on.tex      |  7 ----
 .../latex_tests/pagesizes/res_latex/pagesizes.tex  |  6 ---
 .../latex_tests/pagetype/res_latex/pagetype.tex    |  6 ---
 .../setchapternewpage_on_odd_titlepage.tex         |  7 ----
 .../res_latex/settitle_and_headings.tex            |  7 ----
 .../shorttitlepage/res_latex/shorttitlepage.tex    |  7 ----
 .../three_setchapternewpage_on_odd_off.tex         |  7 ----
 .../res_latex/titlepage_and_headings.tex           |  7 ----
 .../titlepage_and_setchapternewpage_odd.tex        |  7 ----
 .../titlepage_and_setchapternewpage_on.tex         |  7 ----
 .../res_latex/titlepage_classical.tex              |  7 ----
 .../res_latex/titlepage_in_top_node.tex            |  7 ----
 .../res_latex/titlepage_long_title.tex             |  7 ----
 .../res_latex/titlepage_no_author.tex              |  7 ----
 .../res_latex/titlepage_no_title.tex               |  7 ----
 .../titlepage_with_commands_classical.tex          |  7 ----
 .../res_latex/two_setchapternewpage_odd_on.tex     |  7 ----
 .../res_latex/two_setchapternewpage_on_odd.tex     |  7 ----
 .../res_latex/verbatim_in_smallformat.tex          |  7 ----
 .../empty_quotation/res_latex/empty_quotation.tex  |  7 ----
 .../res_latex/quotation_and_author.tex             |  7 ----
 .../res_latex/quotation_author_in_example.tex      |  7 ----
 .../space_at_commands_end_quotation_line.tex       |  7 ----
 .../res_latex/chapter_between_nodes.tex            |  7 ----
 .../lone_Top_node/res_latex/lone_Top_node.tex      |  7 ----
 .../sectioning/loop_nodes/res_latex/loop_nodes.tex |  7 ----
 .../node_sectop_before_chapter_no_node.tex         |  7 ----
 .../res_latex/node_sectop_before_lone_node_Top.tex |  7 ----
 .../res_latex/nodes_before_after_top.tex           |  7 ----
 .../res_latex/nodes_before_after_top_xref.tex      |  7 ----
 .../res_latex/nodes_before_top.tex                 |  7 ----
 .../res_latex/section_before_after_top_node.tex    |  7 ----
 .../section_before_after_top_node_last_node.tex    |  7 ----
 .../res_latex/section_chapter_before_top_nodes.tex |  7 ----
 .../res_latex/inter_item_commands_in_table.tex     |  3 --
 .../inter_item_commands_in_table_in_example.tex    |  3 --
 .../indices_in_begin_tables_lists.tex              |  1 -
 .../indices_in_begin_tables_lists.tex              |  1 -
 .../res_parser/formatting_latex/formatting.tex     |  1 -
 64 files changed, 42 insertions(+), 391 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ba6515aaf4..a01c3068cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-01-08  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_list_environments)
+       (_latex_header, _convert): only import packages and output
+       LaTeX code related to list environments if needed for the
+       document formatting.
+
 2022-01-08  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_environment_packages)
diff --git a/tp/TODO b/tp/TODO
index f0515880ce..fc0c129f20 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -13,9 +13,6 @@ xmllint --nonet --noout --valid commands.xml
 Before next release
 ===================
 
-LaTeX collect packages.
-
-
 Bugs
 ====
 
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index e07bcb0daa..7b9d340de4 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -526,6 +526,14 @@ my %LaTeX_environment_packages = (
   'cartouche' => ['mdframed'],
 );
 
+my %LaTeX_list_environments = (
+  'itemize' => 'itemize',
+  'enumerate' => 'enumerate',
+);
+foreach my $command (keys(%item_line_commands)) {
+  $LaTeX_list_environments{$command} = 'description';
+}
+
 foreach my $environment_command (@LaTeX_same_block_commands) {
   $LaTeX_environment_commands{$environment_command} = [$environment_command];
 }
@@ -720,6 +728,7 @@ sub converter_defaults($$)
 # other keys:
 #  description_format_commands
 #  packages
+#  list_environments
 #  normalized_float_latex
 
 sub converter_initialize($)
@@ -1211,12 +1220,20 @@ sub _latex_header() {
 }
 ';
   }
-  $header_code .= '% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
-% command that does nothing used to help with substitutions in commands
+  if ($self->{'list_environments'}) {
+    $header_code .= "% set defaults for lists that match Texinfo TeX 
formatting\n";
+    if ($self->{'list_environments'}->{'description'}) {
+      $header_code .= "\\setlist[description]{style=nextline, 
font=\\normalfont}\n";
+    }
+    if  ($self->{'list_environments'}->{'itemize'}) {
+      $header_code .= "\\setlist[itemize]{label=\\textbullet}\n";
+    }
+    if  ($self->{'list_environments'}->{'enumerate'}) {
+      $header_code .= "\\setlist[enumerate]{label=\\arabic*.}\n";
+    }
+    $header_code .= "\n";
+  }
+  $header_code .= '% command that does nothing used to help with substitutions 
in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
 '.$titleps_preamble.'
@@ -1281,9 +1298,13 @@ roundcorner=10pt}
   if ($self->{'packages'}->{'fontsize'}) {
     $header .= "\\usepackage{fontsize}\n";
   }
-  $header .= '\usepackage{enumitem}
-\usepackage{geometry}
-\usepackage{titleps}
+  if ($self->{'list_environments'}) {
+    $header .= "\\usepackage{enumitem}\n";
+  }
+  if ($self->{'packages'}->{'geometry'}) {
+    $header .= "\\usepackage{geometry}\n";
+  }
+  $header .= '\usepackage{titleps}
 ';
   if ($self->{'floats'}) {
     $header .= "\\usepackage{float}\n";
@@ -2749,6 +2770,9 @@ sub _convert($$)
             $self->{'packages'}->{$package} = 1;
           }
         }
+        if ($LaTeX_list_environments{$cmdname}) {
+          $self->{'list_environments'}->{$LaTeX_list_environments{$cmdname}} = 
1;
+        }
       }
       if ($preformatted_commands{$cmdname}) {
         $result .= _open_preformatted($self, $cmdname);
@@ -3079,6 +3103,7 @@ sub _convert($$)
         }
         if (scalar(@geometry)) {
           $result .= "\\newgeometry{".join(',', @geometry)."}\n";
+          $self->{'packages'}->{'geometry'} = 1;
         }
       } elsif ($cmdname eq 'paragraphindent'
           and $element->{'extra'}->{'misc_args'}->[0]) {
@@ -3117,6 +3142,7 @@ sub _convert($$)
         $self->{'packages'}->{'fontsize'} = 1;
       } elsif ($paper_geometry_commands{$cmdname}) {
         $result .= "\\geometry{$paper_geometry_commands{$cmdname}}%\n";
+        $self->{'packages'}->{'geometry'} = 1;
       }
       return $result;
     } else {
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 0357483ba1..ca582efb2e 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_latex/char_latin1_latin1_in_refs.tex
 
b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs/res_latex/char_latin1_latin1_in_refs.tex
index f928f13b4d..51f7fb2d7f 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
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -27,11 +25,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/indices/def_syn_indices/res_latex/def_syn_indices.tex 
b/tp/t/results/indices/def_syn_indices/res_latex/def_syn_indices.tex
index c3a1ad8ba0..779a59f069 100644
--- a/tp/t/results/indices/def_syn_indices/res_latex/def_syn_indices.tex
+++ b/tp/t/results/indices/def_syn_indices/res_latex/def_syn_indices.tex
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -29,11 +27,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/indices/double_seeentry_seealso/res_latex/double_seeentry_seealso.tex
 
b/tp/t/results/indices/double_seeentry_seealso/res_latex/double_seeentry_seealso.tex
index d5875a7d55..5ab9eea3b3 100644
--- 
a/tp/t/results/indices/double_seeentry_seealso/res_latex/double_seeentry_seealso.tex
+++ 
b/tp/t/results/indices/double_seeentry_seealso/res_latex/double_seeentry_seealso.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/indices/seeentry/res_latex/seeentry.tex 
b/tp/t/results/indices/seeentry/res_latex/seeentry.tex
index 93d1dc3a7d..34d1606363 100644
--- a/tp/t/results/indices/seeentry/res_latex/seeentry.tex
+++ b/tp/t/results/indices/seeentry/res_latex/seeentry.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/indices/subentries/res_latex/subentries.tex 
b/tp/t/results/indices/subentries/res_latex/subentries.tex
index b31eb27a48..056ec7e24c 100644
--- a/tp/t/results/indices/subentries/res_latex/subentries.tex
+++ b/tp/t/results/indices/subentries/res_latex/subentries.tex
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -28,11 +26,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/indices/subentry_and_sortas/res_latex/subentry_and_sortas.tex 
b/tp/t/results/indices/subentry_and_sortas/res_latex/subentry_and_sortas.tex
index b711016019..bae568dc8d 100644
--- a/tp/t/results/indices/subentry_and_sortas/res_latex/subentry_and_sortas.tex
+++ b/tp/t/results/indices/subentry_and_sortas/res_latex/subentry_and_sortas.tex
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -28,11 +26,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/indices/syncode_index_print_both/res_latex/syncode_index_print_both.tex
 
b/tp/t/results/indices/syncode_index_print_both/res_latex/syncode_index_print_both.tex
index 62fdf5f10a..e544f0483a 100644
--- 
a/tp/t/results/indices/syncode_index_print_both/res_latex/syncode_index_print_both.tex
+++ 
b/tp/t/results/indices/syncode_index_print_both/res_latex/syncode_index_print_both.tex
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -27,11 +25,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/itemize/inter_item_commands_in_enumerate/res_latex/inter_item_commands_in_enumerate.tex
 
b/tp/t/results/itemize/inter_item_commands_in_enumerate/res_latex/inter_item_commands_in_enumerate.tex
index 1f2b1ec5dc..a69f09075d 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
@@ -8,7 +8,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -28,8 +27,6 @@
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
 \setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
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 6710cb9571..44bb521c2d 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
@@ -8,7 +8,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -28,9 +27,7 @@
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
 \setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git 
a/tp/t/results/languages/multiple_lang_chapters_latex/res_latex/multiple_lang_chapters.tex
 
b/tp/t/results/languages/multiple_lang_chapters_latex/res_latex/multiple_lang_chapters.tex
index e2a22b2d5f..837e85ff18 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
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 \usepackage{babel}
@@ -35,11 +33,6 @@
   autoload.bcp47 = on,
   autoload.bcp47.options = import
 }
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
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 bf738ed8c5..a4a5c6558a 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
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 6779e84a79..d817856f14 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/enumerate_arguments/res_latex/enumerate_arguments.tex
 
b/tp/t/results/latex_tests/enumerate_arguments/res_latex/enumerate_arguments.tex
index b2e1fb61d5..7b83426964 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
@@ -7,7 +7,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -25,8 +24,6 @@
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
 \setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
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 cb51866524..2739e369ce 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
@@ -7,8 +7,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{mdframed}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -25,11 +23,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
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 868556688e..b90cc9eeea 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -30,11 +28,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex 
b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
index 8330ee70bf..9cccf2ffd4 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++ b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
@@ -7,8 +7,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{fontsize}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -25,11 +23,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/latex_tests/indices/res_latex/indices.tex 
b/tp/t/results/latex_tests/indices/res_latex/indices.tex
index 4f62123e66..b2c9f3cfe9 100644
--- a/tp/t/results/latex_tests/indices/res_latex/indices.tex
+++ b/tp/t/results/latex_tests/indices/res_latex/indices.tex
@@ -7,8 +7,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -28,11 +26,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/informative_commands_in_top_node/res_latex/informative_commands_in_top_node.tex
 
b/tp/t/results/latex_tests/informative_commands_in_top_node/res_latex/informative_commands_in_top_node.tex
index 143208f37f..6cddc0401c 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/nested_enumerate/res_latex/nested_enumerate.tex 
b/tp/t/results/latex_tests/nested_enumerate/res_latex/nested_enumerate.tex
index 3639e1d2d6..8664cf4a7a 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
@@ -7,7 +7,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -25,8 +24,6 @@
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
 \setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
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 98f93bd6e6..9789796f0b 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
@@ -7,7 +7,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -25,9 +24,7 @@
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
 \setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git 
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
 
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
index bf88196b9b..9ca28e17ca 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
 
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
index cb9e99aa22..1998ab44e6 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex 
b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
index dfe3469b53..69765689d6 100644
--- a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
+++ b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
@@ -6,7 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
 \usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
@@ -24,11 +23,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex 
b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
index cf6a17f6ca..18cfc49c88 100644
--- a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
+++ b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
@@ -6,7 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
 \usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
@@ -24,11 +23,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[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 cabe6dfa1b..265563b1d1 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
 
b/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
index 0468a77445..41a65a07bd 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex 
b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
index ce8c61e4e5..aa8744fb04 100644
--- a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
+++ b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
 
b/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
index 01f622dd1c..9633755def 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[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 1f139e9770..4aeae3d6d4 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[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 b812ac5194..da7ebb728f 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[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 1f139e9770..4aeae3d6d4 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
 
b/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
index 732565f137..cd75ee59bf 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
 
b/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
index 1e995fb48b..6fed702e31 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
 
b/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
index f3c36b0336..b4a0450c0d 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
 
b/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
index 560cbaa4b3..81f928a4eb 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex 
b/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
index dd4580ec6f..09c533715b 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
 
b/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
index eef6951f81..db2e422a7d 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
 
b/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
index b62d8ef957..f08ab91d43 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
 
b/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
index e0345546bf..a7f6c1cbb4 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/latex_tests/verbatim_in_smallformat/res_latex/verbatim_in_smallformat.tex
 
b/tp/t/results/latex_tests/verbatim_in_smallformat/res_latex/verbatim_in_smallformat.tex
index d826db529d..7dbe563143 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex 
b/tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex
index bd5103a73b..43d7510ebe 100644
--- a/tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex
+++ b/tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
 
b/tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
index ae8f81b6c2..2691f432ba 100644
--- 
a/tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
+++ 
b/tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
 
b/tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
index ec9e778884..bfddfae335 100644
--- 
a/tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
+++ 
b/tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
 
b/tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
index 63ff92fb6e..29670f83b6 100644
--- 
a/tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
+++ 
b/tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
 
b/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
index 78d9d6517a..105f7870eb 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex 
b/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
index a12c3c30e2..cc7b5b4780 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git a/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex 
b/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
index 154f8c0633..a0f00d8f29 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
 
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
index 9be2a8c937..28315e8368 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
 
b/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
index ddb7ff45aa..82ed04065b 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
 
b/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
index 70b3ebb3f6..6e3117facc 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
 
b/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
index 72eaa1c74a..431fc0f719 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex 
b/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
index 62f84a4621..cf0127a9a4 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
 
b/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
index 9d37dcb7f3..f19266661f 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
 
b/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
index ae2dc45a1f..c20121471d 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
 
b/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
index c7a9c3d459..688edfaaf2 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
@@ -6,8 +6,6 @@
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{etoolbox}
-\usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -24,11 +22,6 @@
 % add command aliases to use the same command in book and report
 \newcommand\GNUTexinfomainmatter{\mainmatter}
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
-% set defaults for lists that match Texinfo TeX formatting
-\setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
-
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
 
diff --git 
a/tp/t/results/xtable/inter_item_commands_in_table/res_latex/inter_item_commands_in_table.tex
 
b/tp/t/results/xtable/inter_item_commands_in_table/res_latex/inter_item_commands_in_table.tex
index 50e3c4402a..17010d8c63 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
@@ -8,7 +8,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -37,8 +36,6 @@
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git 
a/tp/t/results/xtable/inter_item_commands_in_table_in_example/res_latex/inter_item_commands_in_table_in_example.tex
 
b/tp/t/results/xtable/inter_item_commands_in_table_in_example/res_latex/inter_item_commands_in_table_in_example.tex
index 84e33d336f..620142b3c4 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
@@ -8,7 +8,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
@@ -32,8 +31,6 @@
 \newcommand\GNUTexinfofrontmatter{\frontmatter}
 % set defaults for lists that match Texinfo TeX formatting
 \setlist[description]{style=nextline, font=\normalfont}
-\setlist[itemize]{label=\textbullet}
-\setlist[enumerate]{label=\arabic*.}
 
 % command that does nothing used to help with substitutions in commands
 \newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git 
a/tp/tests/indices/res_parser/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
 
b/tp/tests/indices/res_parser/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
index 70b2c87ecb..a554e73c7a 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
@@ -8,7 +8,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
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 70b2c87ecb..a554e73c7a 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
@@ -8,7 +8,6 @@
 \usepackage{graphicx}
 \usepackage{etoolbox}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index b951652eb4..9231760534 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -10,7 +10,6 @@
 \usepackage{etoolbox}
 \usepackage{mdframed}
 \usepackage{enumitem}
-\usepackage{geometry}
 \usepackage{titleps}
 \usepackage{float}
 % use hidelinks to remove boxes around links to be similar with Texinfo TeX



reply via email to

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