Yes, that’s correct. I guess command= attribute kind of replaces the “default”
processing for the head ? Because when I use it the “align = center” does not
seem to be taken in account.
Thanks a lot
Joseph
Sent from Windows Mail
From: Thomas A. Schmitz
Sent: Sunday, October 25, 2015 5:32 PM
To: ntg-context@ntg.nl
Is that what you're looking for?
\define[2]\MyChapterTitle%
{#2: #1}
\setuphead[chapter]
[command=\MyChapterTitle]
\starttext
\startchapter [title=Some Title]
Some text.
\stoptext
When you define a command, #1 is your chapter/section/whatever number,
#2 is your title.
(For future reference: please make minimal examples when asking a question.)
Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________