[Top][All Lists]

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

Re: Texinfo - manual line breaks in URLs?

From: Werner LEMBERG
Subject: Re: Texinfo - manual line breaks in URLs?
Date: Thu, 18 Jun 2020 18:57:02 +0200 (CEST)

> What seems most likely to me is that the indices are generated
> correctly, but texi2pdf refuses to generate the sorted versions.
> If I call texi2pdf --debug I do not see any invocations of
> 'texindex'.  May it be that texi2pdf does not call texindex but use
> an inlined sorting mechanism that cannot cope with @index, only
> \index?  I can try if updating texi2pdf cures the problem.

Please try the attached patch and check whether the index reappears.
Note that the entries in the concept index most probably are not
correct (i.e., we want to have both `foo` and `\foo`, which are
different things); I believe I have to play around to get the
functionality back that my hack enabled.

diff --git a/Documentation/common-macros.itexi 
index 3a7523f30c..3356b27dd7 100644
--- a/Documentation/common-macros.itexi
+++ b/Documentation/common-macros.itexi
@@ -118,38 +118,8 @@ Macro definitions that contain translatable text belong to 
 @c `@cpindex' is the internal version of `@cindex'.
-  \begingroup
-  \indexnonalnumreappear
-  \backslashdisappear
-  \indexwritesortasxxx}
-% `@macro' doesn't allow redefinition of existing commands.
-% For index sorting we need two characters with charcode values less
-% than that of the space character.  Note that this only works if TeX
-% is called with option `-8bit' so that real 8-bit characters are
-% emitted to the auxiliary index files.
-\catcode`\^^A=11 % 0x01
-\catcode`\^^B=11 % 0x02
-@end tex
-@macro cindex {TEXT}
-@cpindex @sortas{\TEXT\@indexA{}} \TEXT\
-@end macro
 @macro funindex {TEXT}
-@findex @sortas{\TEXT\@indexB{}} \TEXT\
+@findex \TEXT\
 @kindex \TEXT\
 @end macro

reply via email to

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