Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-11-17 Thread Oleg Katsitadze
On Wed, Oct 29, 2008 at 05:19:56PM -0500, Karl Berry wrote: I reverted my change. Oleg says he's working on the more complex fix. Sorry for such a delayed reply. I've checked in the fixes. Would be nice to have them tested as they are pretty invasive. Thanks, Oleg

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-29 Thread John Mandereau
Hi Karl, On 2008/10/28 17:03 -0500, Karl Berry wrote: Maybe we could make ` and ' active all the time, like and other characters are now. I changed texinfo.tex (in CVS and gnulib and ftp://tug.org/tex/texinfo.tex) to do this, so your backticks should show up universally now.

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-29 Thread Karl Berry
\entry {\code {\xeatspaces {\char '15 }}}{13} Sigh. These kinds of index entries are so wrong, and so hard to eradicate. I reverted my change. Oleg says he's working on the more complex fix. Thanks, karl

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-28 Thread Karl Berry
Reinhold. Maybe we could make ` and ' active all the time, like and other characters are now. I changed texinfo.tex (in CVS and gnulib and ftp://tug.org/tex/texinfo.tex) to do this, so your backticks should show up universally now. Fingers crossed ... Thanks, Karl

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-24 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 23. Oktober 2008 schrieb Karl Berry: It is actually active all the time by default, Maybe in your manual. Unless I'm totally off (always possible), in standard Texinfo, ' and ` are only made active inside @code. Actually,

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-24 Thread Karl Berry
By default ` and ' are active, even inside @code. only Never mind, we're talking in circles. I'll look at the actual problem as soon as I have a chance.

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-24 Thread Oleg Katsitadze
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

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-23 Thread Karl Berry
@[EMAIL PROTECTED] code inside w: c'}} produces a curly quote @[EMAIL PROTECTED] w inside code: c'}} produces a straigth quote Sigh. I don't have a good answer for you. The cause is the catcodes being set at the wrong time (in this case), which is a fundamental attribute of TeX. Can

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-23 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 23. Oktober 2008 schrieb Karl Berry: @[EMAIL PROTECTED] code inside w: c'}} produces a curly quote @[EMAIL PROTECTED] w inside code: c'}} produces a straigth quote Sigh. I don't have a good answer for you. The cause is

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-23 Thread Karl Berry
It is actually active all the time by default, Maybe in your manual. Unless I'm totally off (always possible), in standard Texinfo, ' and ` are only made active inside @code. That is what causes the behavior you're seeing. Anyway, I'll look at it, but don't hold your breath. Thanks, karl

Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w

2008-10-18 Thread Oleg Katsitadze
On Fri, Oct 17, 2008 at 04:49:33PM +0200, Reinhold Kainhofer wrote: @[EMAIL PROTECTED] code inside w: c'}} produces a curly quote @[EMAIL PROTECTED] w inside code: c'}} produces a straigth quote This patch fixes it: @@ -2519,7 +2519,9 @@ \discretionary{}{}{}}% {\_}%