[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header): do
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header): do not use noclearpage imakeidx option, as the index may not appear in that case, if at the end of the document. |
Date: |
Mon, 26 Dec 2022 06:21:02 -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 180b9cf0b8 * tp/Texinfo/Convert/LaTeX.pm (_latex_header): do not use
noclearpage imakeidx option, as the index may not appear in that case, if at
the end of the document.
180b9cf0b8 is described below
commit 180b9cf0b839c0ad6aa1aff4d50fb8436a592659
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Dec 26 12:19:25 2022 +0100
* tp/Texinfo/Convert/LaTeX.pm (_latex_header): do not use noclearpage
imakeidx option, as the index may not appear in that case, if at the
end of the document.
---
ChangeLog | 6 ++++++
tp/Texinfo/Convert/LaTeX.pm | 10 ++++++++--
.../definition_commands/res_latex/definition_commands.tex | 4 ++--
.../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 | 4 ++--
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 | 4 ++--
tp/t/results/indices/subentries.pl | 4 ++--
tp/t/results/indices/subentry_and_sortas.pl | 4 ++--
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 | 4 ++--
tp/t/results/latex_tests/indices/res_latex/indices.tex | 4 ++--
.../latex_tests/vbar_in_index/res_latex/vbar_in_index.tex | 4 ++--
tp/t/results/misc_commands/comment_space_command_on_line.pl | 4 ++--
.../res_latex/inter_item_commands_in_table.tex | 4 ++--
.../res_latex/inter_item_commands_in_table_in_example.tex | 4 ++--
.../indices_in_begin_tables_lists.tex | 4 ++--
.../indices_in_begin_tables_lists.tex | 4 ++--
tp/tests/layout/res_parser/formatting_latex/formatting.tex | 4 ++--
32 files changed, 74 insertions(+), 62 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 71b7fe55af..cd5f605617 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-26 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/LaTeX.pm (_latex_header): do not use noclearpage
+ imakeidx option, as the index may not appear in that case, if at the
+ end of the document.
+
2022-12-26 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.tex: Move more macros to be defined while \ is
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 2e2ed3b8f9..5c35ccb81b 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -1334,8 +1334,14 @@ sub _latex_header() {
}
if ($self->{'index_entries'}
and scalar(keys(%{$self->{'index_entries'}}))) {
- $header_code .= "% no index headers or page break\n";
- $header_code .=
"\\indexsetup{level=\\relax,toclevel=section,noclearpage}%\n";
+ # FIXME with noclearpage looks more like regular Texinfo output, as indices
+ # are output in the flow of the text, not as separate chapter/section-like
+ # elements. However, with noclearpage, the index may not be output if
+ # it is at the end of the file, for example in latex_tests indices test.
+ #$header_code .= "% no index headers or page break\n";
+ #$header_code .=
"\\indexsetup{level=\\relax,toclevel=section,noclearpage}%\n";
+ $header_code .= "% no index headers\n";
+ $header_code .= "\\indexsetup{level=\\relax,toclevel=section}%\n";
foreach my $index_name (sort(keys(%{$self->{'index_entries'}}))) {
$header_code .= "\\makeindex[name=$index_name,title=]%\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 93653de923..01f6ae45c7 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,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=fn,title=]%
\makeindex[name=vr,title=]%
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 2e44089fbd..898722dbec 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,8 +16,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=fn,title=]%
% redefine the \mainmatter command such that it does not clear 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 ce4d2a589e..1bb2f820a7 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,8 +19,8 @@
% new float for type `list'
\newfloat{TexinfoFloatlist}{htb}{tfl}[chapter]
\floatname{TexinfoFloatlist}{}
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
% redefine the \mainmatter command such that it does not clear 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 17b42f8c89..0eeb3166c6 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,8 +16,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
% redefine the \mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/def_syn_indices.pl
b/tp/t/results/indices/def_syn_indices.pl
index 96879c0ead..5fc8c9cafe 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -1977,8 +1977,8 @@ $result_converted{'latex'}->{'def_syn_indices'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=codeidx,title=]%
\\makeindex[name=fn,title=]%
\\makeindex[name=pg,title=]%
diff --git a/tp/t/results/indices/double_seeentry_seealso.pl
b/tp/t/results/indices/double_seeentry_seealso.pl
index 488cd971e7..86d884d6d0 100644
--- a/tp/t/results/indices/double_seeentry_seealso.pl
+++ b/tp/t/results/indices/double_seeentry_seealso.pl
@@ -932,8 +932,8 @@ $result_converted{'latex'}->{'double_seeentry_seealso'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/empty_string_index_entry.pl
b/tp/t/results/indices/empty_string_index_entry.pl
index a66a95b0ac..8080a94d18 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -965,8 +965,8 @@ $result_converted{'latex'}->{'empty_string_index_entry'} =
'\\documentclass{book
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=fn,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/explicit_sort_key.pl
b/tp/t/results/indices/explicit_sort_key.pl
index 82e04048ec..62548659b6 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -1020,8 +1020,8 @@ $result_converted{'latex'}->{'explicit_sort_key'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=SK,title=]%
% redefine the \\mainmatter command such that it does not clear 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 8283c9bdfc..2023ba1b23 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
@@ -752,8 +752,8 @@
$result_converted{'latex'}->{'multiple_index_text_sortas_seeentry_seealso'} = '\
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/same_only_seealso_seeentry.pl
b/tp/t/results/indices/same_only_seealso_seeentry.pl
index bf0fe6567c..fa7f462372 100644
--- a/tp/t/results/indices/same_only_seealso_seeentry.pl
+++ b/tp/t/results/indices/same_only_seealso_seeentry.pl
@@ -911,8 +911,8 @@ $result_converted{'latex'}->{'same_only_seealso_seeentry'}
= '\\documentclass{bo
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/same_seealso_seeentry.pl
b/tp/t/results/indices/same_seealso_seeentry.pl
index c225495017..b8116df1c3 100644
--- a/tp/t/results/indices/same_seealso_seeentry.pl
+++ b/tp/t/results/indices/same_seealso_seeentry.pl
@@ -984,8 +984,8 @@ $result_converted{'latex'}->{'same_seealso_seeentry'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/seealso_duplicate.pl
b/tp/t/results/indices/seealso_duplicate.pl
index b964fd96f0..6ab479bce8 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -447,8 +447,8 @@ $result_converted{'latex'}->{'seealso_duplicate'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index e8f52df87c..a34709aa5d 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -790,8 +790,8 @@ $result_converted{'latex'}->{'seeentry'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
\\makeindex[name=fn,title=]%
diff --git a/tp/t/results/indices/subentries.pl
b/tp/t/results/indices/subentries.pl
index 1c93d98517..c08f3644a7 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -1311,8 +1311,8 @@ $result_converted{'latex'}->{'subentries'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
\\makeindex[name=fn,title=]%
diff --git a/tp/t/results/indices/subentry_and_sortas.pl
b/tp/t/results/indices/subentry_and_sortas.pl
index 6ff4f9cb3a..ac909ade9a 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -756,8 +756,8 @@ $result_converted{'latex'}->{'subentry_and_sortas'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
\\makeindex[name=fn,title=]%
diff --git a/tp/t/results/indices/subentry_and_sortas_spaces.pl
b/tp/t/results/indices/subentry_and_sortas_spaces.pl
index fe2e3aba67..806e03dce0 100644
--- a/tp/t/results/indices/subentry_and_sortas_spaces.pl
+++ b/tp/t/results/indices/subentry_and_sortas_spaces.pl
@@ -886,8 +886,8 @@ $result_converted{'latex'}->{'subentry_and_sortas_spaces'}
= '\\documentclass{bo
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/syncode_index_print_both.pl
b/tp/t/results/indices/syncode_index_print_both.pl
index e094b3010b..c7f1175e37 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -775,8 +775,8 @@ $result_converted{'latex'}->{'syncode_index_print_both'} =
'\\documentclass{book
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear page
diff --git a/tp/t/results/indices/transparent_sort_chars.pl
b/tp/t/results/indices/transparent_sort_chars.pl
index 1108d28909..5c0e041c85 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -590,8 +590,8 @@ $result_converted{'latex'}->{'transparent_sort_chars'} =
'\\documentclass{book}
\\makeatletter
\\newcommand{\\Texinfosettitle}{No Title}%
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear 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 d987e81e0a..23c2f553c6 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,8 +17,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
% redefine the \mainmatter command such that it does not clear 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 a2415d04e0..d6487eab21 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,8 +17,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
% redefine the \mainmatter command such that it does not clear 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 35ed789a5d..6150b27a9f 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,8 +20,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=vr,title=]%
% redefine the \mainmatter command such that it does not clear 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 1927616c79..feaa42b586 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,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
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 c6be423cec..46f083cc11 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,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
diff --git a/tp/t/results/latex_tests/vbar_in_index/res_latex/vbar_in_index.tex
b/tp/t/results/latex_tests/vbar_in_index/res_latex/vbar_in_index.tex
index 5dd4507437..174b61f893 100644
--- a/tp/t/results/latex_tests/vbar_in_index/res_latex/vbar_in_index.tex
+++ b/tp/t/results/latex_tests/vbar_in_index/res_latex/vbar_in_index.tex
@@ -16,8 +16,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
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 9361c8ff93..e9ab82577c 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
@@ -998,8 +998,8 @@
$result_converted{'latex'}->{'comment_space_command_on_line'} = '\\documentclass
% new float for type `Text\'
\\newfloat{TexinfoFloatText}{htb}{tfl}[chapter]
\\floatname{TexinfoFloatText}{}
-% no index headers or page break
-\\indexsetup{level=\\relax,toclevel=section,noclearpage}%
+% no index headers
+\\indexsetup{level=\\relax,toclevel=section}%
\\makeindex[name=cp,title=]%
% redefine the \\mainmatter command such that it does not clear 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 2b5e2e10f3..30b635534e 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,8 +17,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
\makeindex[name=vr,title=]%
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 8fe0e7990f..6ef96b1d74 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,8 +17,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
% style command for var in 'cmd_text' formatting context
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 65fd07290b..396b047495 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,8 +17,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
\makeindex[name=vr,title=]%
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 65fd07290b..396b047495 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,8 +17,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
\makeindex[name=vr,title=]%
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 453f4aa4d7..e916d03e74 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -23,8 +23,8 @@
\makeatletter
\newcommand{\Texinfosettitle}{No Title}%
-% no index headers or page break
-\indexsetup{level=\relax,toclevel=section,noclearpage}%
+% no index headers
+\indexsetup{level=\relax,toclevel=section}%
\makeindex[name=codeidx,title=]%
\makeindex[name=cp,title=]%
\makeindex[name=fn,title=]%
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/LaTeX.pm (_latex_header): do not use noclearpage imakeidx option, as the index may not appear in that case, if at the end of the document.,
Patrice Dumas <=