[Top][All Lists]

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

Re: Feature request: multilevel indexing for TeX

From: Gavin Smith
Subject: Re: Feature request: multilevel indexing for TeX
Date: Sat, 11 May 2019 20:31:04 +0100
User-agent: Mutt/1.6.1 (2016-04-27)

On Thu, Mar 07, 2019 at 01:57:08PM -0700, address@hidden wrote:
> Gavin Smith <address@hidden> wrote:
> > On Mon, Mar 04, 2019 at 12:34:42AM -0700, address@hidden wrote:
> > > No. As per the mail you discovered, Karl just said "make it work with 
> > > both"
> > > so I did. But we're five years later, let's just make the change, please.
> >
> > Made in commit 2405caa.

Here we were discussing the escape character used in Texinfo index 
files, and changing it from \ to @.  Since texi2dvi didn't support @ as 
as the escape character (as it checked for "\entry" in the files, and not 
"@entry"), I think we should change back to \ so that new 
texinfo.tex works with old texi2dvi.  When the new version of texi2dvi 
has had a chance to become more prevalent, then the escape character can 
change back to @ again.

This should be an easy change to make now because both @ and \ are
only be used as escape characters in index files, never standing for 
themselves.  All that is needed is for the one-line change below.

diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 4bc569a..0149ef6 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -5308,6 +5308,8 @@ end
 % the current value of \escapechar.
+\set txiindexescapeisbackslash
 % Write the entry in \indextext to the index file.

reply via email to

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