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: John Mandereau
Subject: Re: Smart quote replacement in texi2pdf broken with nested @code and @warning / @w
Date: Wed, 29 Oct 2008 10:11:46 +0100

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.  Fingers crossed ...

Using latest texinfo.tex, TeX barfs on LilyPond learning manual in
English.  Here's the relevant part of the log:

./lilypond-learning.cps:12: Missing number, treated as zero.
<to be read again> 
                   \char 
'...sname \relax '\else \char '15 \fi \else \char 
                                                  '15 \fi 
<argument> \xeatspaces {\char '
                               15 }
\tclose ...on \rawbackslash \plainfrenchspacing #1
                                                  }\null 
\codex #1->\tclose {#1}
                       \endgroup 
l.12 \entry {\code {\xeatspaces {\char '15 }}
                                             }{13}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)



... and here are the first lines of lilypond-learning.cps:

\initial {!}
\entry {\code {\xeatspaces {!}}}{21}
\initial {#}
\entry {\code {\xeatspaces {#}}}{173}
\entry {\code {\xeatspaces {##f}}}{173}
\entry {\code {\xeatspaces {##t}}}{173}
\entry {\code {\xeatspaces {#'symbol}}}{174}
\initial {%}
\entry {\code {\xeatspaces {%}}}{16}
\entry {\code {\xeatspaces {%{\tt \char 123} ... %{\tt \char 125}}}}{16}
\initial {'}
\entry {\code {\xeatspaces {\char '15 }}}{13}
\initial {(}
\entry {\code {\xeatspaces {( ... )}}}{19}


If this isn't enough to investigate and fix this, let me know and I'll
try to provide a minimal Texinfo source that reproduces this.

Best,
John





reply via email to

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