On Sun, 15 Apr 2018, Hans Hagen wrote:

On 4/14/2018 9:52 PM, Lutz Haseloff wrote:
I get another error message:

open source > level 4, order 5, name 't-module-catcodes.tex'
loading > Module Catcodes (ver: 2011.12.17)

tex error > tex error on line 96 in file t-module-catcodes.tex: ! Undefined control sequence
why are special catcodes needed? an dif so, there are often easier ways than low level hacking

This is the commit (from 2011!) where I added this code:


My guess is that I did not want multiple newlines to collapse in t-vim, so I had redefined \activeendoflinetoken to {\strut\par}. The offending lines are copied from catc-ini.mkiv from the same time:


to make sure that I use the same syntax for MkII and MkIV.

A couple of years after that I split the MkII and MkIV code into separate files, but I never touched the catcode part (because it was working).

I cannot test the latest beta right now; I'll test it on Monday. In the meanwhile, what is the current recommended method to alter the way literal newlines and tabs are shown.

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net

Reply via email to