Hi,

there is a "s" missing in "structure".


strc-sec.mkiv:

-\def\dosettructureheadnumbercontent
+\def\dosetstructureheadnumbercontent
  {\setsystemmode\v!sectionnumber
   \settrue\headshownumber} % why ?

-\def\doresettructureheadnumbercontent
+\def\doresetstructureheadnumbercontent
  {\resetsystemmode\v!sectionnumber
   \setfalse\headshownumber} % why ?


strc-ren.mkiv

\unexpanded\def\strc_rendering_place_head_text
  {\strc_rendering_start_placement
   \setheadmarking
-  \doresettructureheadnumbercontent
+  \doresetstructureheadnumbercontent
   \ifconditional\c_strc_sectioning_empty
\setbox\b_strc_rendering_head\hbox \headreferenceattributes to \zeropoint{\strut}%
   \else
     \docheckheadreference
     \setbox\b_strc_rendering_head\hbox \headreferenceattributes
       {\spac_grids_set_local_snapping{\headparameter\c!internalgrid}%
-       \doresettructureheadnumbercontent
+       \doresetstructureheadnumbercontent
        \useheadstyleparameter\c!style
        \setinlineheadreferenceattributes
        \strc_rendering_inject_text}%
   \fi
   \strc_rendering_stop_placement}

\unexpanded\def\strc_rendering_place_head_number_and_text
  {\strc_rendering_start_placement
   \setheadmarking
   \doifelsetext\getheadnumber
-    \dosettructureheadnumbercontent
-    \doresettructureheadnumbercontent
+    \dosetstructureheadnumbercontent
+    \doresetstructureheadnumbercontent
   \ifconditional\c_strc_sectioning_empty
\setbox\b_strc_rendering_head\hbox \headreferenceattributes to \zeropoint{\strut}%
   \else % = needed
     \docheckheadreference
     \setbox\b_strc_rendering_head\hbox \headreferenceattributes
       {\spac_grids_set_local_snapping{\headparameter\c!internalgrid}%
        \useheadstyleparameter\c!style
        \setinlineheadreferenceattributes
        \strc_rendering_inject_number_and_text}%
   \fi
   \strc_rendering_stop_placement}


Wolfgang

_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to