LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Arno Trautmann <[log in to unmask]>
Fri, 17 Sep 2010 21:53:19 +0200
text/plain (897 bytes) , signature.asc (261 bytes)
Hi all!

Will Robertson wrote:
> Do you think it would be a good addition to expl3 to formalise this sort of programming structure? I guess it would be something like
> \begin_active_char:n {^^@}
>   ...
> \end_active_char:
> which doesn't really gain us too much.
> What if ^^@ were *always* active as part of the expl3 syntax?
> Just thinking out loud, really. Comments, thoughts?

Messing around a lot with active characters, Iíd love to have a simple
interface for defining them. (And also taking care of verbatim etc.)
A very nice thing for the Ēnormalď package author would be some macro

\define_active_char:Nn <character> {<code>}

which makes the <character> active and assigns the given code to it,
internally using the code that Will wrote.
I donít know if itís a good idea to make ^^@ always active. No reason
for this, just a gut feeling about too many active chars.