[NTG-context] Underscore catcode in MkII (was Re: One-off theorem titles)

Hans Hagen pragma at wxs.nl
Sun Mar 6 12:07:00 CET 2011


On 6-3-2011 6:39, Aditya Mahajan wrote:
> On Sat, 5 Mar 2011, Aditya Mahajan wrote:
>
>> On Fri, 4 Mar 2011, Hans Hagen wrote:
>>
>>> On 4-3-2011 7:05, Wolfgang Schuster wrote:
>>>
>>>> In which are these alternatives are better than my module__command,
>>>> you replace only the _ by !
>>>
>>> because an ! stands out; anyway, we should avoid multiple _ in a row
>>>
>>> (i'll put a few mkvi modules in the core to get a feeling .. using _
>>> does not always look better btw)
>>
>> Here is an experiment with @ and _. I would prefer to change @ to ::
>> (but for that we would need to change the ptrcatcodes).
>>
>> https://github.com/adityam/filter/raw/dev/t-filter.tex
>
> @Hans: does it make sense to change the catcode of underscore to letter
> in ptrcatcodes in MkII? Or would that just open a pandora's box?

i have no clue ... in mkiv we have a pseudo active _ in math mode that 
handles it there (these "8000 codes) .. so doing it will take quite some 
testing so best postpone it till after the tex live code freeze as mkii 
is the context on tex live

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list