diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-06-03 11:48:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-06-03 11:48:00 +0200 |
commit | e9990ae7c22295e59c1d2c80c7e2717738b5c120 (patch) | |
tree | 3aa7906d97c3b7db13254f78c88c09cb926152ef /tex/context/base/strc-doc.mkiv | |
parent | 40e5e0f114c759b17af50cde80677a9612d4d41b (diff) | |
download | context-e9990ae7c22295e59c1d2c80c7e2717738b5c120.tar.gz |
beta 2009.06.03 11:48
Diffstat (limited to 'tex/context/base/strc-doc.mkiv')
-rw-r--r-- | tex/context/base/strc-doc.mkiv | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/strc-doc.mkiv b/tex/context/base/strc-doc.mkiv index e76e015a9..9d0d7c01c 100644 --- a/tex/context/base/strc-doc.mkiv +++ b/tex/context/base/strc-doc.mkiv @@ -93,7 +93,6 @@ }, directives = { resetset = "\structureparameter\c!reset", - hidenumber = not toboolean("\currentstructureincrementnumber",true), % incremented but hidden }, metadata = { kind = "section", @@ -104,6 +103,9 @@ \ifx\currentstructuresaveinlist\v!no nolist = true, \fi + \ifx\currentstructureincrementnumber\v!yes + increment = "\currentstructureincrementnumber", + \fi }, titledata = { % we can add mark and reference label = \!!bs\detokenize\expandafter{\currentstructurelabel }\!!es, @@ -116,6 +118,8 @@ \fi \fi }, numberdata = { +block = "\currentstructureblock", +hidenumber = \ifx\currentstructureshownumber\v!no true\else nil\fi, % titles separatorset = "\structureparameter\c!sectionseparatorset", conversion = "\structureparameter\c!sectionconversion", % for good old times sake conversionset = "\structureparameter\c!sectionconversionset", @@ -123,7 +127,6 @@ set = "\structureparameter\c!sectionset", segments = "\structureparameter\c!sectionsegments", ownnumber = "\currentstructureownnumber", - hidenumber = \ifx\currentstructureshownumber\v!no true\else nil\fi, % titles }, userdata = structure.helpers.touserdata(\!!bs\detokenize{#2}\!!es) } |