summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-sec.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-sec.mkiv')
-rw-r--r--tex/context/base/strc-sec.mkiv4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/strc-sec.mkiv b/tex/context/base/strc-sec.mkiv
index 7216bf162..d18a729e6 100644
--- a/tex/context/base/strc-sec.mkiv
+++ b/tex/context/base/strc-sec.mkiv
@@ -134,12 +134,12 @@
\let\currentnamedsection\empty
\unexpanded\def\startnamedsection
- {\dotripleempty\startnamedsection}
+ {\dotripleempty\dostartnamedsection}
\def\dostartnamedsection[#1]% [#2][#3]
{\pushmacro\currentnamedsection
\edef\currentnamedsection{#1}%
- \dostarthead[#1]} % [#2][#3]
+ \normalexpanded{\dodostarthead[\currentnamedsection]}} % [#2][#3]
\unexpanded\def\stopnamedsection
{\normalexpanded{\dostophead[\currentnamedsection]}%