> "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.
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
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'