attr-neg.mkiv /size: 883 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=attr-neg,
3
%D version=2007.06.06,
4
%D title=\CONTEXT\ Attribute Macros,
5
%D subtitle=Negation,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
13 14
\writestatus
{
loading
}{
ConTeXt
Attribute
Macros
/
Negation
}
15 16
\registerctxluafile
{
attr
-
neg
}{}
17 18
\unprotect
19 20
% positive and negative are preregistered
21 22
\unexpanded
\def
\startnegative
{
\attr_trigger_negative
\v!negative
}
23
\unexpanded
\def
\stopnegative
{
\attr_trigger_negative
\v!positive
}
24 25
\unexpanded
\def
\startpositive
{
\attr_trigger_negative
\v!positive
}
26
\unexpanded
\def
\stoppositive
{
\attr_trigger_negative
\v!negative
}
27 28
\def
\attr_trigger_negative
#
1
{
\clf_setnegative
{
#
1
}}
29 30
\protect
\endinput
31