* setuplabeltext doesn't adjust the part label (with MkIV) @ 2013-08-30 14:33 Sanjoy Mahajan 2013-08-30 14:41 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Sanjoy Mahajan @ 2013-08-30 14:33 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: setuplabeltext doesn't adjust the part label (with MkIV) 2013-08-30 14:33 setuplabeltext doesn't adjust the part label (with MkIV) Sanjoy Mahajan @ 2013-08-30 14:41 ` Wolfgang Schuster 2013-08-31 12:33 ` Sanjoy Mahajan 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2013-08-30 14:41 UTC (permalink / raw) To: mailing list for ConTeXt users Am 30.08.2013 um 16:33 schrieb Sanjoy Mahajan <sanjoy@olin.edu>: > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: setuplabeltext doesn't adjust the part label (with MkIV) 2013-08-30 14:41 ` Wolfgang Schuster @ 2013-08-31 12:33 ` Sanjoy Mahajan 0 siblings, 0 replies; 3+ messages in thread From: Sanjoy Mahajan @ 2013-08-31 12:33 UTC (permalink / raw) To: mailing list for ConTeXt users >> \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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-31 12:33 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-08-30 14:33 setuplabeltext doesn't adjust the part label (with MkIV) Sanjoy Mahajan 2013-08-30 14:41 ` Wolfgang Schuster 2013-08-31 12:33 ` Sanjoy Mahajan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).