ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with Filter Module in latent context beta
Date: Sun, 15 Apr 2018 01:08:48 -0400 (EDT)	[thread overview]
Message-ID: <alpine.OSX.2.20.1804150044320.29441@nqv-znpobbx> (raw)
In-Reply-To: <4b0ff8f5-b975-8178-b820-540b2e3006d8@xs4all.nl>

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:

https://github.com/adityam/filter/commit/c34023fd1ede0909a056a10c6352202f2295fba4

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:

https://github.com/contextgarden/context-mirror/blob/5056d7a854142aa63032b0a3ca4d41c496e41faf/tex/context/base/catc-ini.mkiv

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.


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

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	other threads:[~2018-04-15  5:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-14 12:21 Lutz Haseloff
2018-04-14 13:02 ` Aditya Mahajan
2018-04-14 15:59   ` Hans Hagen
2018-04-14 19:52   ` Lutz Haseloff
2018-04-14 22:07     ` Hans Hagen
2018-04-15  5:08       ` Aditya Mahajan [this message]
2018-04-15 10:21         ` Hans Hagen
2018-04-16 16:52           ` Aditya Mahajan
2018-04-16 17:55             ` Hans Hagen
2018-04-16 21:27           ` Aditya Mahajan
2018-04-16 21:59             ` Hans Hagen
2018-04-16 22:01             ` Aditya Mahajan
2018-04-17  8:09               ` Hans Hagen
2018-04-17 12:03                 ` Aditya Mahajan
2018-04-17 17:19                   ` Aditya Mahajan
2018-04-17  2:52 ` Aditya Mahajan
2018-04-17  3:48   ` Lutz Haseloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.OSX.2.20.1804150044320.29441@nqv-znpobbx \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).