[texhax] Can't use \d (dot below) with \edef

Oleg Katsitadze olegkat at gmail.com
Fri Jun 29 12:38:53 CEST 2007


On Thu, Jun 21, 2007 at 12:04:06PM +0300, Oleg Katsitadze wrote:
>   \edef\savedfirstmark{\noexpand\MacroNotToBeExpanded \the\toks0 \MacroToBeExpanded}%
>                                  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^
>                                      no expansion      one-level    full expansion
>                                                        expansion
> 
> Note the space after \toks0 -- this delimits the token register's
> number and is removed from the input (doesn't make it into
> \savedfirstmark's definition).

One minor correction:  of course, the space after \the\toks0 is
present in \savedfirstmark's definition; what I meant was that it is
removed from the _output_, i.e., it is not typeset.

Best,
Oleg


More information about the texhax mailing list