[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo.texi (Advanced Indexing): index ent
From: |
Patrice Dumas |
Subject: |
branch master updated: * doc/texinfo.texi (Advanced Indexing): index entries should not be interrupted by index brace commands. |
Date: |
Sun, 04 Sep 2022 06:05:35 -0400 |
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 9666ac1071 * doc/texinfo.texi (Advanced Indexing): index entries
should not be interrupted by index brace commands.
9666ac1071 is described below
commit 9666ac1071a1a7e661d5927b075e74484d1a04d3
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Sep 4 12:05:26 2022 +0200
* doc/texinfo.texi (Advanced Indexing): index entries should not
be interrupted by index brace commands.
---
ChangeLog | 5 +++++
doc/texinfo.texi | 4 ++++
tp/t/09indices.t | 2 ++
3 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index aacd91cf7f..6eeae48d36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-04 Patrice Dumas <pertusus@free.fr>
+
+ * doc/texinfo.texi (Advanced Indexing): index entries should not
+ be interrupted by index brace commands.
+
2022-09-04 Patrice Dumas <pertusus@free.fr>
Space before brace special index command is a regular space if
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 26db6287cf..b91b498af3 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -8727,6 +8727,10 @@ place a comma between the different parts of the index
text. The
generates the indexing formatting commands, takes care of placing
commas in the correct places for you.
+Do not interrupt an index or @code{@@subentry} entry by @code{@@sortas}
+or advanced commands with braces, place the commands with braces at
+the beginning or at the end of the entry.
+
These features are the most useful with printed documents, and
when translating Texinfo to DocBook.
diff --git a/tp/t/09indices.t b/tp/t/09indices.t
index 4b1bf8d264..1c09e9b7d9 100644
--- a/tp/t/09indices.t
+++ b/tp/t/09indices.t
@@ -619,6 +619,8 @@ in a reuglar para @sortas{foo}. @code{inside another
@sortas{command}}.
@printindex fn
', {'test_formats' => ['docbook']}
],
+# note that Texinfo TeX ignores everything after index brace commands,
+# texi2any parsers keep them and they end up in the entry.
['multiple_index_text_sortas_seeentry_seealso',
'@node Top
@top
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo.texi (Advanced Indexing): index entries should not be interrupted by index brace commands.,
Patrice Dumas <=