ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Incompatibility catcodes of characters in ConTeXt and PlainTeX
Date: Sun, 01 Mar 2015 07:24:41 +0100	[thread overview]
Message-ID: <54F2B0A9.9040101@gyza.cz> (raw)
In-Reply-To: <54F0B1B9.1000206@wxs.nl>

Dne 27.2.2015 v 19:04 Hans Hagen napsal(a):
> On 2/27/2015 5:53 PM, Jaroslav Hajtmar wrote:
>> Hello ConTeXist.
>> Petr Olsak (maintainer of Czech/Slovak support for TeX) helped me with
>> simple typing of sign charts. He made a PlainTeX macro who is working
>> too in ConTeXt (see
>> http://tex.stackexchange.com/questions/230273/typing-of-math-sign-charts). 
>>
>>
>> Petr Olsak (not ConTeXt even LaTeX user) was modified PlainTeX macro to
>> work in ConTeXt and asked the question:
>> "Does anybody know why ConTeXt sets catcode of & to 12? This means that
>> it is incompatible with plain TeX".
>
> Which is imo no big deal.
I did not write that he would give redoing some work, after discovering 
that catcode & is different than in plainTEX.
>
>> May I therefore ask , what is the reason that has character & catcode
>> other than in Knuth PlainTeX?
>> There are catcodes of other characters incompatible?
>
> Because the context table mechanisms don't use & (and never used it) 
> so ther ei sno reason to make & special. The _ and ^ are also normal 
> characters. For now we keep the $ for math (and in math mode the & ^ _ 
> work as expected).
>
> Although we're to some extend plain compatible it's not our aim, just 
> like we're not amstex, latex, lamstex or anytex compatible.
>
Ok. Thanks for the explanation. I wrote to Peter that developer context 
to have a reason, and certainly it would from an ordinary whim not done.
Even so, I am very satisfied with the degree of compatibility. 
Practically all of my old PlainTeX macros in ConTeXt work fine.
Thanx
Jaroslav

> 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
> -----------------------------------------------------------------
> ___________________________________________________________________________________ 
>
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-03-01  6:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 16:53 Jaroslav Hajtmar
2015-02-27 18:04 ` Hans Hagen
2015-03-01  6:24   ` Jaroslav Hajtmar [this message]
2015-03-01 10:05     ` Hans Hagen
2015-03-01 14:43       ` Jaroslav Hajtmar

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=54F2B0A9.9040101@gyza.cz \
    --to=hajtmar@gyza.cz \
    --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).