Re: [NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-31 Thread Sanjoy Mahajan
>> \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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-30 Thread Wolfgang Schuster

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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-30 Thread Sanjoy Mahajan
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___