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

Re: input 39 in ansinew.def

At 05:11 PM 98/10/29 +0100, Thierry Bouche wrote:

>isn't it simply that 39 is not in the activated ranges?

ansiacce.tex does indeed make 39 and 96 active, since in ISO Latin 1
and Windows ANSI these are quotesingle and grave accent,
not quoteright and quoteleft as in ASCII or TeX text.  

As has been pointed out this comes at a price.  One is that you 
should get rid of octal notation if possible (which is in most cases 
a quaint holdover of no much practical use).  You also need to deal
with prime in math:

{\catcode146=\active \gdef^^92{{^\bgroup\prim@s}}}
\mathcode146="8000 % ^\prime

\catcode`\'=\active \chardef'=146

\catcode`\`=\active \chardef`=145

These definitions are for Windows ANSI, where these and many other 
useful characters missing from ISO Latin 1 are packed into `C2' space
between 128-159.

Regards, Berthold.

Berthold K.P. Horn
Cambridge, MA		mailto:bkph@ai.mit.edu