setuplabeltext doesn't adjust the part label (with MkIV)
![](https://secure.gravatar.com/avatar/9a700c324d773cd0a36cb1261ce35709.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/9a700c324d773cd0a36cb1261ce35709.jpg?s=120&d=mm&r=g)
\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