summaryrefslogtreecommitdiff
path: root/tex/context/base/core-sec.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-sec.tex')
-rw-r--r--tex/context/base/core-sec.tex12
1 files changed, 11 insertions, 1 deletions
diff --git a/tex/context/base/core-sec.tex b/tex/context/base/core-sec.tex
index d628188a0..8e5040e73 100644
--- a/tex/context/base/core-sec.tex
+++ b/tex/context/base/core-sec.tex
@@ -207,11 +207,19 @@
{\voorafgaandenummer\nummer[#1]}%
\egroup}
+% \def\preparethenumber#1#2#3% {\??id#1} \number \result
+% {\doifelsevaluenothing{#1\c!scheider}
+% {\let\numberseparator\empty
+% \let#3#2}
+% {\unexpanded\def\numberseparator{\getvalue{#1\c!scheider}}%
+% \edef#3{\@EA\separatednumber\@EA{#2}}}} % hm, etex
+
\def\preparethenumber#1#2#3% {\??id#1} \number \result
{\doifelsevaluenothing{#1\c!scheider}
{\let\numberseparator\empty
\let#3#2}
- {\unexpanded\def\numberseparator{\getvalue{#1\c!scheider}}%
+ {% was \unexpanded \edef, but we need it unexpanded !
+ \edef\numberseparator{\getvalue{#1\c!scheider}}%
\edef#3{\@EA\separatednumber\@EA{#2}}}} % hm, etex
\def\lossenummer[#1]%
@@ -945,6 +953,8 @@
\newcounter\currentsectionblock
+\def\currentsection{\@@sectieblok}
+
\def\dodefinieersectieblok[#1][#2][#3]%
{\getparameters
[\??sb#1]