Re: Smart quotes

2000-04-11 Thread Reinhard Kotucha
> "Benji" == Benji Fisher <[EMAIL PROTECTED]> writes: > [...] > One problem with your method is that it turns > He said "no"! > into > He said ``no``! No, it doesn't. Punctuation marks usually have \catcode 12, not 11. It should even work if they are active.

Re: Smart quotes

2000-04-11 Thread Benji Fisher
Peter Folk wrote: > > Hey all, > I got annoyed with having the wrong quotes in my documents when I wasn't > thinking about it, and I thought others might benefit from the solution: > > % Smart quotes > \catcode`"=\active \def"{\futurelet\next\smartdqtest

Smart quotes

2000-04-11 Thread Peter Folk
Hey all, I got annoyed with having the wrong quotes in my documents when I wasn't thinking about it, and I thought others might benefit from the solution: % Smart quotes \catcode`"=\active \def"{\futurelet\next\smartdqtest} \def\smartdqtest{\ifcat\next A``\else'