[dev-context] Macro Defintions

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon May 31 17:56:41 CEST 2010


Hi Hans,

there is a bug in x-set-11.mkiv

As you can see from this example ConTeXt loads commands in mkiv with the 
name only and ignores environment and generated attributes.

\usemodule[set-11]\loadsetups
\starttext
\subject{MkII}
framedtext: \showsetup{framedtext*}\par
startframedtext: \showsetup{startframedtext*}
\subject{MkIV}
framedtext: \showsetup{framedtext}\par
startframedtext: \showsetup{startframedtext}
\stoptext

There is also a typo in the following setup (also x-set-11.mkiv):

   \startxmlsetups xml:setups:assemblename
+     \doifelse {\xmlatt{#1}{type}} {environment} {
-     \doifelse {\xmlatt{#1}{environment}} {yes} {
   ...
   \stopsetups

Wolfgang



More information about the dev-context mailing list