Am 22.02.2011 um 01:18 schrieb Tom: > The code that follows works fine in MKII but doesn't stretch the chapter > title in MKIV. What must I change? Also, I want to convert the chapter > number to text before stretching it. Has anything been done to the routines > that convert numerals to alpha characters since last summer?
Use \structuretitle and \structurenumber to access the values. \defineconversion [tom] [One,Two,Three,Four,Five,…] \define[1]\ChapterTextCommand {\line{\expanded{\stretched{\structuretitle}}}} \define[1]\ChapterNumberCommand {\line{\expanded{\stretched{Chapter \convertnumber{tom}{\structurenumber}}}}} \setuphead [chapter] [ alternative=middle, style=\ssc, textstyle=\bf, numberstyle=\tf, textcommand=\ChapterTextCommand, numbercommand=\ChapterNumberCommand] \starttext \chapter{Test Chapter Title} \input knuth \stoptext 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 ___________________________________________________________________________________