bug-texinfo
[Top][All Lists]
Advanced

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

Re: Smart quote replacement in texi2pdf broken with nested @code and @wa


From: Oleg Katsitadze
Subject: Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w
Date: Sat, 25 Oct 2008 08:50:05 +0300
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Oct 23, 2008 at 12:16:48PM -0500, Karl Berry wrote:
>     -\def\codex #1{\tclose{#1}\endgroup}
>     +\def\codex #1{\tclose{\scantokens{#1}}\endgroup}
> 
> I am scared of this change.

Yeah, I was concerned about it as well...

> Maybe we could make ` and ' active all the time, like " and other
> characters are now.

You mean this:

@@ -9010,6 +9010,11 @@
 @address@hidden = @other
 @address@hidden = @other
 
address@hidden Finally, make ` and ' active, so that txicodequoteundirected and
address@hidden txicodequotebacktick work right in, say, @address@hidden b c'}}: 
 if we
address@hidden don't make ` and ' active, @code will not get them as active 
chars.
address@hidden@'address@hidden @let'@rq
address@hidden@address@hidden @c ` is already defined above.
 
 @c Local variables:
 @c eval: (add-hook 'write-file-hooks 'time-stamp)


I've tested it a bit, seems to work even inside indices.  Can you
think of situations where this change might cause trouble?  I couldn't
find anything suspicious in texinfo.tex.

Best,
Oleg




reply via email to

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