[luatex] Proposal to fix the namespace argument
Hans Hagen
pragma at wxs.nl
Mon Mar 9 09:14:42 CET 2009
Will Robertson wrote:
> 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 :) ).
you could have chosen a weird character from unicode -)
> 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 :) )
there not much to disapprove as it does not related to luatex
development directly but to latex development (apart from the fact that
one needs to update the list when luatex provides more primitives or
changes their names)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list