diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:56 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:56 +0100 |
commit | 5e5b7116e78d1cb847434ef29a9fed154e49adf9 (patch) | |
tree | 4fe640ecbf5137c5c68d7730ae03b91c2169bd9a /tex/context/base/attr-ini.mkiv | |
parent | 551356b39d8dfbf10ed6542aa3281cb08cd36197 (diff) | |
download | context-5e5b7116e78d1cb847434ef29a9fed154e49adf9.tar.gz |
beta 2012.01.02 17:18
Diffstat (limited to 'tex/context/base/attr-ini.mkiv')
-rw-r--r-- | tex/context/base/attr-ini.mkiv | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/attr-ini.mkiv b/tex/context/base/attr-ini.mkiv index fb98b903e..842a25a4f 100644 --- a/tex/context/base/attr-ini.mkiv +++ b/tex/context/base/attr-ini.mkiv @@ -38,20 +38,20 @@ \ifdefined \s!public \else \def\s!public{public} \fi % for metatex % or hard check later \unexpanded\def\defineattribute - {\dodoubleempty\attributes_define} + {\dodoubleempty\attr_basics_define} -\def\attributes_define[#1][#2]% alternatively we can let lua do the housekeeping +\def\attr_basics_define[#1][#2]% alternatively we can let lua do the housekeeping {\expandafter\newattribute\csname\??ae:a:#1\endcsname \expandafter\newconstant \csname\??ae:c:#1\endcsname - \csname\??ae:c:#1\endcsname\last_allocated_attribute - \ctxcommand{defineattribute("#1",\number\last_allocated_attribute)}% + \csname\??ae:c:#1\endcsname\c_syst_last_allocated_attribute + \ctxcommand{defineattribute("#1",\number\c_syst_last_allocated_attribute)}% \doifnotinset\s!global{#2}{\appendetoks\csname\??ae:a:#1\endcsname\attributeunsetvalue\to\attributesresetlist}% \doifinset \s!public{#2}{\expandafter\let\csname#1attribute\expandafter\endcsname\csname\??ae:c:#1\endcsname}} \unexpanded\def\definesystemattribute - {\dodoubleempty\attributes_define_system} + {\dodoubleempty\attr_basics_define_system} -\def\attributes_define_system[#1][#2]% alternatively we can let lua do the housekeeping +\def\attr_basics_define_system[#1][#2]% alternatively we can let lua do the housekeeping {\scratchcounter\ctxcommand{getprivateattribute("#1")}\relax \expandafter\attributedef\csname\??ae:a:#1\endcsname\scratchcounter \expandafter\newconstant \csname\??ae:c:#1\endcsname |