Re: [NTG-context] Incompatibility catcodes of characters in ConTeXt and PlainTeX

2015-02-27 Thread Hans Hagen

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.


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.


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
___

[NTG-context] mkiv and lettrine

2015-02-27 Thread Gerben Wierda
I am using lettrine in mkii. I am trying to convert a project to mkiv. I’d like 
to use lettrine here too.

\usemodule[lettrine]
\setuplettrine[Lines=3,
   Hang=.5,
   Oversize=0,
   Raise=0,
   Findent=0pt,
   Nindent=0em,
   Slope=0em,
   Ante=,
   FontHook=,
   TextFont=\sc,
   Image=no]

\lettrine{S}{\kap{\bf uppose we}} have a system

What do I have to change for mkiv?___
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
___

Re: [NTG-context] mkiv \setupnotedefinition

2015-02-27 Thread Gerben Wierda
Sorry, using an older version. I have a recent one and now I run into something 
else

G

On 27 Feb 2015, at 16:18, Gerben Wierda  wrote:

> I’ve done my first run using mkiv on a mkii project, testing a conversion 
> from mkii to mkiv.
> 
> My first run ended in 
> 
> 162 \setupinteraction
> 
> 
> ? 
> 
> tex error   > error on line 153 in file ../environments/env_cataoia.tex: 
> ! Undefined control sequence
> 
> l.153 \setupnotedefinition
> 
> [endnote][indenting={yes,medium},style={\switchtobod...
> 
> The line says:
> 
> \setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}]
> 
> What do I need to change?
> 
> Thanks,
> 
> G
> ___
> 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
___

[NTG-context] Incompatibility catcodes of characters in ConTeXt and PlainTeX

2015-02-27 Thread Jaroslav Hajtmar

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".


May I therefore ask , what is the reason that has character & catcode 
other than in Knuth PlainTeX?

There are catcodes of other characters incompatible?

Thanx Jaroslav Hajtmar


___
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
___

[NTG-context] mkiv \setupnotedefinition

2015-02-27 Thread Gerben Wierda
I’ve done my first run using mkiv on a mkii project, testing a conversion from 
mkii to mkiv.

My first run ended in 

162 \setupinteraction


? 

tex error   > error on line 153 in file ../environments/env_cataoia.tex: ! 
Undefined control sequence

l.153 \setupnotedefinition
[endnote][indenting={yes,medium},style={\switchtobod...

The line says:

\setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}]

What do I need to change?

Thanks,

G___
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
___