[luatex] Proposal to fix the namespace argument

Will Robertson wspr81 at gmail.com
Mon Mar 9 02:15:36 CET 2009

On 2009-03-09 03:58:56 +1030, Manuel Pégourié-Gonnard 
<mpg at elzevir.fr> said:
> I have a more general question: why a separator?  Why not just using a prefix
> but keeping the new name usable with "normal" catcodes?  It would be coherent
> with current primitive names, and "agnostic" concerning expl3 vs LaTeX2e.
> I think it's best to separate clearly the two folowing goals:
> 1. Implement a namespace system in order to avoid clashes, which should 
> be done in your proposed luatexconfig.tex.
> 2. Hide primitives from the user, which should be left to expl3 or whatever
> macro package.

I was originally thinking that if the names were remapping into the 
user namespace (with \LuaTeXattribute and so on) there'd still be the 
(admittedly much smaller) chance that there could be a name clash. 
Hence the original use of a char that isn't used in LaTeX2e (the fact 
that I chose _ which is also used by LaTeX3 should be ignored :) ).

I've now changed my mind. At this stage I've prefixed all primitives 
with "LuaTeX" (in keeping with the "XeTeX" prefix). So there's no 
proposed "hiding" any more.

Karl, what do you think of all this? (I assume Taco et al. approve :) )


More information about the luatex mailing list