summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-sec.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-01-02 18:40:26 +0200
committerMarius <mariausol@gmail.com>2012-01-02 18:40:26 +0200
commit47864ebdfe2d9916e365c2f278585a94879c813d (patch)
treed39e6ffd03197668549d215301cf0a80c1a9ed76 /tex/context/base/strc-sec.mkiv
parent622f28bc3cb9a918b1e50a77427c193c7b671cce (diff)
downloadcontext-47864ebdfe2d9916e365c2f278585a94879c813d.tar.gz
beta 2012.01.02 17:18
Diffstat (limited to 'tex/context/base/strc-sec.mkiv')
-rw-r--r--tex/context/base/strc-sec.mkiv18
1 files changed, 9 insertions, 9 deletions
diff --git a/tex/context/base/strc-sec.mkiv b/tex/context/base/strc-sec.mkiv
index cac338af6..695a90bc2 100644
--- a/tex/context/base/strc-sec.mkiv
+++ b/tex/context/base/strc-sec.mkiv
@@ -447,8 +447,8 @@
[#3]%
\reportcurrentstructure}
-\unexpanded\def\placeheadtext {\dosingleempty\place_head_text } % use with care
-\unexpanded\def\placeheadnumber{\dosingleempty\place_head_number} % use with care
+\unexpanded\def\placeheadtext {\dosingleempty\strc_sections_place_head_text } % use with care
+\unexpanded\def\placeheadnumber{\dosingleempty\strc_sections_place_head_number} % use with care
\ifdefined\setupheadcomponentfont \else
@@ -460,7 +460,7 @@
\fi
-\def\place_head_text[#1]%
+\def\strc_sections_place_head_text[#1]%
{\dontleavehmode
\begingroup
\edef\currenthead{#1}%
@@ -470,7 +470,7 @@
\endgraf
\endgroup}
-\def\place_head_number[#1]%
+\def\strc_sections_place_head_number[#1]%
{\dontleavehmode
\begingroup
\edef\currenthead{#1}%
@@ -799,20 +799,20 @@
% experimental
-\newconditional\auto_structure_level
+\newconditional\c_strc_sections_auto_levels
\appendtoks
- \settrue\auto_structure_levels
+ \settrue\c_strc_sections_auto_levels
\to \everyenableelements
\def\setautostructurelevel
- {\ifconditional\auto_structure_level
+ {\ifconditional\c_strc_sections_auto_levels
\ctxcommand{autonextstructurelevel(\number\currentheadlevel)}%
- \global\setfalse\auto_structure_level
+ \global\setfalse\c_strc_sections_auto_levels
\fi}
\def\triggerautostructurelevel
- {\global\settrue\auto_structure_level}
+ {\global\settrue\c_strc_sections_auto_levels}
\def\finalizeautostructurelevels
{\ctxcommand{autofinishstructurelevels()}}