[NTG-context] \stretched in chapter titles in MKII

Tom Tom at tuxedo-press.com
Tue Feb 22 14:42:12 CET 2011

I'm sorry for being so thick but this code errors out when I run it under
TexLive 2010 MKIV. The problem seems to be in the processing of textcommand,
so I commented it out. The error went away and the \ChapterNumberCommand
seemed to execute correctly. However, I want to stretch the title as well as
the chapter number, so that is not a solution. I couldn't find documentation
for \structuretitle and \structurenumber and am completely lost.

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com

-----Original Message-----
From: ntg-context-bounces at ntg.nl [mailto:ntg-context-bounces at ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Tuesday, February 22, 2011 3:40 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] \stretched in chapter titles in MKII

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
> that convert numerals to alpha characters since last summer?

Use \structuretitle and \structurenumber to access the values.

\defineconversion [tom] [One,Two,Three,Four,Five,.]



  [  alternative=middle,

\chapter{Test Chapter Title}
\input knuth


If your question is of interest to others as well, please add an entry to
the Wiki!

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

More information about the ntg-context mailing list