> @[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 you just use the form you want?
-\def\codex #1{\tclose{#1}\endgroup}
+\def\codex #1{\tclose{\scantokens{#1}}\endgroup}
I am scared of this change. For one thing, if we're not running e-tex,
it will cause a temp file to be written and read on every @code (and
similar) command. That seems incredibly painful. I also wonder about
nested commands requiring \scantokens. (I wonder about that now, in fact.)
Maybe we could make ` and ' active all the time, like " and other
characters are now.
karl