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_header) <in


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header) <indices>: Avoid extra heading before indices.
Date: Sat, 08 Oct 2022 13:22:14 -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 6c6fc85881 * tp/Texinfo/Convert/LaTeX.pm (_latex_header) <indices>: 
Avoid extra heading before indices.
6c6fc85881 is described below

commit 6c6fc85881d9a4a01241fce003c207ea1a9299e2
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Oct 8 18:22:02 2022 +0100

    * tp/Texinfo/Convert/LaTeX.pm (_latex_header) <indices>:
    Avoid extra heading before indices.
---
 ChangeLog                                                    |  5 +++++
 tp/Texinfo/Convert/LaTeX.pm                                  |  6 +++++-
 .../definition_commands/res_latex/definition_commands.tex    |  6 ++++--
 .../res_latex/printindex_merged_indices_code_style.tex       |  4 +++-
 .../res_latex/references_to_top_no_top_output.tex            |  4 +++-
 .../res_latex/char_latin1_latin1_in_refs.tex                 |  4 +++-
 tp/t/results/indices/def_syn_indices.pl                      |  8 +++++---
 tp/t/results/indices/double_seeentry_seealso.pl              |  4 +++-
 tp/t/results/indices/empty_string_index_entry.pl             |  4 +++-
 tp/t/results/indices/explicit_sort_key.pl                    |  4 +++-
 .../indices/multiple_index_text_sortas_seeentry_seealso.pl   |  4 +++-
 tp/t/results/indices/same_only_seealso_seeentry.pl           |  4 +++-
 tp/t/results/indices/same_seealso_seeentry.pl                |  4 +++-
 tp/t/results/indices/seealso_duplicate.pl                    |  4 +++-
 tp/t/results/indices/seeentry.pl                             |  6 ++++--
 tp/t/results/indices/subentries.pl                           |  6 ++++--
 tp/t/results/indices/subentry_and_sortas.pl                  |  6 ++++--
 tp/t/results/indices/subentry_and_sortas_spaces.pl           |  4 +++-
 tp/t/results/indices/syncode_index_print_both.pl             |  4 +++-
 tp/t/results/indices/transparent_sort_chars.pl               |  4 +++-
 .../res_latex/inter_item_commands_in_enumerate.tex           |  4 +++-
 .../res_latex/inter_item_commands_in_itemize.tex             |  4 +++-
 .../res_latex/multiple_lang_chapters.tex                     |  4 +++-
 .../latex_tests/brace_in_index/res_latex/brace_in_index.tex  |  6 ++++--
 tp/t/results/latex_tests/indices/res_latex/indices.tex       |  6 ++++--
 tp/t/results/misc_commands/comment_space_command_on_line.pl  |  4 +++-
 .../res_latex/inter_item_commands_in_table.tex               |  8 +++++---
 .../res_latex/inter_item_commands_in_table_in_example.tex    |  4 +++-
 .../indices_in_begin_tables_lists.tex                        |  8 +++++---
 .../indices_in_begin_tables_lists.tex                        |  8 +++++---
 tp/tests/layout/res_parser/formatting_latex/formatting.tex   | 12 +++++++-----
 31 files changed, 115 insertions(+), 48 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ab9a9cb9eb..67c888faa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-08  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/Convert/LaTeX.pm (_latex_header) <indices>:
+       Avoid extra heading before indices.
+
 2022-10-08  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/LaTeX.pm (_protect_index_text):
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 753a7fc28b..0aa3c03cfc 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -1243,8 +1243,12 @@ sub _latex_header() {
     }
   }
   if ($self->{'index_entries'}) {
+    $header_code .= "% no index headers or page break\n";
+    $header_code .=
+"\\indexsetup{level=\\relax,toclevel=section,noclearpage}%\n";
+
     foreach my $index_name (sort(keys(%{$self->{'index_entries'}}))) {
-      $header_code .= "\\makeindex[name=$index_name]%\n";
+      $header_code .= "\\makeindex[name=$index_name,title=]%\n";
     }
     $header_code .= "\n";
   }
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 2c10820afa..0f0efe008b 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
@@ -19,8 +19,10 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=fn]%
-\makeindex[name=vr]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=fn,title=]%
+\makeindex[name=vr,title=]%
 
 % style command for var in 'cmd_text' formatting context
 \newcommand\GNUTexinfocommandstyletextvar[1]{{\normalfont{}\textsl{#1}}}%
diff --git 
a/tp/t/results/converters_tests/printindex_merged_indices_code_style/res_latex/printindex_merged_indices_code_style.tex
 
b/tp/t/results/converters_tests/printindex_merged_indices_code_style/res_latex/printindex_merged_indices_code_style.tex
index 8d71f166cd..2d0630f043 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
@@ -16,7 +16,9 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=fn]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=fn,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 f626d04cfc..6342658067 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
@@ -19,7 +19,9 @@
 % new float for type `list'
 \newfloat{TexinfoFloatlist}{htb}{tfl}[chapter]
 \floatname{TexinfoFloatlist}{}
-\makeindex[name=cp]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 d8a7bf73f4..1b216ab67b 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
@@ -16,7 +16,9 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/def_syn_indices.pl 
b/tp/t/results/indices/def_syn_indices.pl
index 51b119f2c0..c3198381c9 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -2204,9 +2204,11 @@ $result_converted{'latex'}->{'def_syn_indices'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=codeidx]%
-\\makeindex[name=fn]%
-\\makeindex[name=pg]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=codeidx,title=]%
+\\makeindex[name=fn,title=]%
+\\makeindex[name=pg,title=]%
 
 % style command for var in \'cmd_text\' formatting context
 \\newcommand\\GNUTexinfocommandstyletextvar[1]{{\\normalfont{}\\textsl{#1}}}%
diff --git a/tp/t/results/indices/double_seeentry_seealso.pl 
b/tp/t/results/indices/double_seeentry_seealso.pl
index 55988b78c1..15e5005e81 100644
--- a/tp/t/results/indices/double_seeentry_seealso.pl
+++ b/tp/t/results/indices/double_seeentry_seealso.pl
@@ -996,7 +996,9 @@ $result_converted{'latex'}->{'double_seeentry_seealso'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index 53feab7a53..f576c4b86a 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -1074,7 +1074,9 @@ $result_converted{'latex'}->{'empty_string_index_entry'} 
= '\\documentclass{book
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=fn]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=fn,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index 5f0d3e6e96..2592cd1597 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -1158,7 +1158,9 @@ $result_converted{'latex'}->{'explicit_sort_key'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=SK]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=SK,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
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 4643f38f7a..de6556b8e3 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
@@ -824,7 +824,9 @@ 
$result_converted{'latex'}->{'multiple_index_text_sortas_seeentry_seealso'} = '\
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/same_only_seealso_seeentry.pl 
b/tp/t/results/indices/same_only_seealso_seeentry.pl
index 0ba8b3cde6..3c77c970ed 100644
--- a/tp/t/results/indices/same_only_seealso_seeentry.pl
+++ b/tp/t/results/indices/same_only_seealso_seeentry.pl
@@ -978,7 +978,9 @@ $result_converted{'latex'}->{'same_only_seealso_seeentry'} 
= '\\documentclass{bo
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/same_seealso_seeentry.pl 
b/tp/t/results/indices/same_seealso_seeentry.pl
index 7768b7466f..908837ecd5 100644
--- a/tp/t/results/indices/same_seealso_seeentry.pl
+++ b/tp/t/results/indices/same_seealso_seeentry.pl
@@ -1059,7 +1059,9 @@ $result_converted{'latex'}->{'same_seealso_seeentry'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index 921351b2f2..6d8016fc25 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -498,7 +498,9 @@ $result_converted{'latex'}->{'seealso_duplicate'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index 063722381e..0e3248473a 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -836,8 +836,10 @@ $result_converted{'latex'}->{'seeentry'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
-\\makeindex[name=fn]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
+\\makeindex[name=fn,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/subentries.pl 
b/tp/t/results/indices/subentries.pl
index 050cb5df13..bf327f5374 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -1411,8 +1411,10 @@ $result_converted{'latex'}->{'subentries'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
-\\makeindex[name=fn]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
+\\makeindex[name=fn,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/subentry_and_sortas.pl 
b/tp/t/results/indices/subentry_and_sortas.pl
index 10d0a88037..053f1c63ae 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -832,8 +832,10 @@ $result_converted{'latex'}->{'subentry_and_sortas'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
-\\makeindex[name=fn]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
+\\makeindex[name=fn,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/subentry_and_sortas_spaces.pl 
b/tp/t/results/indices/subentry_and_sortas_spaces.pl
index ef906d6f19..77c11c0c73 100644
--- a/tp/t/results/indices/subentry_and_sortas_spaces.pl
+++ b/tp/t/results/indices/subentry_and_sortas_spaces.pl
@@ -974,7 +974,9 @@ $result_converted{'latex'}->{'subentry_and_sortas_spaces'} 
= '\\documentclass{bo
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/syncode_index_print_both.pl 
b/tp/t/results/indices/syncode_index_print_both.pl
index 2deb2d712d..49e70e50f2 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -834,7 +834,9 @@ $result_converted{'latex'}->{'syncode_index_print_both'} = 
'\\documentclass{book
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index 5c1f302648..f9eb25e816 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -642,7 +642,9 @@ $result_converted{'latex'}->{'transparent_sort_chars'} = 
'\\documentclass{book}
 \\makeatletter
 \\newcommand{\\GNUTexinfosettitle}{No Title}%
 
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
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 9814ca3740..755f17e91f 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
@@ -17,7 +17,9 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 a08b036be4..4820e4c407 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
@@ -17,7 +17,9 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 e63c3dc7d3..6ee08b45c0 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
@@ -20,7 +20,9 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=vr]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=vr,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 32127d9196..49dcb7b249 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
@@ -19,8 +19,10 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
-\makeindex[name=fn]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
+\makeindex[name=fn,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 5bf96037ba..2e65884329 100644
--- a/tp/t/results/latex_tests/indices/res_latex/indices.tex
+++ b/tp/t/results/latex_tests/indices/res_latex/indices.tex
@@ -16,8 +16,10 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
-\makeindex[name=fn]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
+\makeindex[name=fn,title=]%
 
 % redefine the \mainmatter command such that it does not clear page
 % as if in double page
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 a6da7b8d0e..087c49af8b 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
@@ -1139,7 +1139,9 @@ 
$result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass
 % new float for type `Text\'
 \\newfloat{TexinfoFloatText}{htb}{tfl}[chapter]
 \\floatname{TexinfoFloatText}{}
-\\makeindex[name=cp]%
+% no index headers or page break
+\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+\\makeindex[name=cp,title=]%
 
 % redefine the \\mainmatter command such that it does not clear page
 % as if in double page
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 126e1bdecf..2fe635bdb6 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
@@ -17,9 +17,11 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
-\makeindex[name=fn]%
-\makeindex[name=vr]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
+\makeindex[name=fn,title=]%
+\makeindex[name=vr,title=]%
 
 % command used in \description format for samp
 \newcommand\GNUTexinfotablestylesamp[1]{\ifstrempty{#1}{}{`\texttt{#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 1a83573ceb..7ea9e6fa66 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
@@ -17,7 +17,9 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
 
 % style command for var in 'cmd_text' formatting context
 \newcommand\GNUTexinfocommandstyletextvar[1]{{\normalfont{}\textsl{#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 c8d164dcb4..97b936e619 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
@@ -17,9 +17,11 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
-\makeindex[name=fn]%
-\makeindex[name=vr]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
+\makeindex[name=fn,title=]%
+\makeindex[name=vr,title=]%
 
 % command used in \description format for samp
 \newcommand\GNUTexinfotablestylesamp[1]{\ifstrempty{#1}{}{`\texttt{#1}'}}%
diff --git 
a/tp/tests/indices/res_parser_info/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
 
b/tp/tests/indices/res_parser_info/indices_in_begin_tables_lists_latex/indices_in_begin_tables_lists.tex
index c8d164dcb4..97b936e619 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
@@ -17,9 +17,11 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=cp]%
-\makeindex[name=fn]%
-\makeindex[name=vr]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=cp,title=]%
+\makeindex[name=fn,title=]%
+\makeindex[name=vr,title=]%
 
 % command used in \description format for samp
 \newcommand\GNUTexinfotablestylesamp[1]{\ifstrempty{#1}{}{`\texttt{#1}'}}%
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 8f51e3ef59..40268acf2a 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -23,11 +23,13 @@
 \makeatletter
 \newcommand{\GNUTexinfosettitle}{No Title}%
 
-\makeindex[name=codeidx]%
-\makeindex[name=cp]%
-\makeindex[name=fn]%
-\makeindex[name=tp]%
-\makeindex[name=truc]%
+% no index headers or page break
+\indexsetup{level=\relax,toclevel=section,noclearpage}%
+\makeindex[name=codeidx,title=]%
+\makeindex[name=cp,title=]%
+\makeindex[name=fn,title=]%
+\makeindex[name=tp,title=]%
+\makeindex[name=truc,title=]%
 
 % command used in \description format for samp
 \newcommand\GNUTexinfotablestylesamp[1]{\ifstrempty{#1}{}{`\texttt{#1}'}}%



reply via email to

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