setuplabeltext doesn't adjust the part label (with MkIV)
setuplabeltext doesn't seem to adjust the part label. Here's a minimal example: \setuphead[part][placehead=yes] \setuplabeltext[part=Part~] \starttext \part{pt} This is a part. \stoptext With MkIV (e.g. on live.contextgarden.net), the part heading is just "1 pt". With MkII, it is "Part 1 pt" as expected. (setuplabeltxt does work for chapter labels, with either context version.) -Sanjoy
Am 30.08.2013 um 16:33 schrieb Sanjoy Mahajan
setuplabeltext doesn't seem to adjust the part label. Here's a minimal example:
\setuphead[part][placehead=yes]
Add "bodypartlabel=part" to the setup. Wolfgang
\setuphead[part][placehead=yes]
Add "bodypartlabel=part" to the setup.
Thank you -- wikified on the setuphead command-reference page. With your information, I found the relevant spot in the code, in strc-def.mkiv. The \setuphead for part doesn't include lines analogous to "\v!bodypart\c!label=\v!chapter" (as for the chapter head setup). Should the part bodypart be automatically included? -Sanjoy
participants (2)
-
Sanjoy Mahajan
-
Wolfgang Schuster