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

2011-02-23 Thread Tom
] On Behalf Of Wolfgang Schuster Sent: Tuesday, February 22, 2011 5:15 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] \stretched in chapter titles in MKII Am 22.02.2011 um 14:42 schrieb Tom: I'm sorry for being so thick but this code errors out when I run it under TexLive 2010

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

2011-02-22 Thread Wolfgang Schuster
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

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

2011-02-22 Thread Tom
-boun...@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

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

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 14:42 schrieb Tom: 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.

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

2011-02-21 Thread Tom
] \stretched in chapter titles in MKII Am 05.07.10 21:15, schrieb Tom: I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended to the end of the first line instead of being placed below it. 2. I

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

2010-07-06 Thread Tom
] On Behalf Of Tom Sent: Monday, July 05, 2010 3:16 PM To: ntg-context@ntg.nl Subject: [NTG-context] \stretched in chapter titles in MKII I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended

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

2010-07-06 Thread Wolfgang Schuster
Am 05.07.10 21:15, schrieb Tom: I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended to the end of the first line instead of being placed below it. 2. I get errors when using #1 and #2 as values,

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

2010-07-06 Thread Wolfgang Schuster
Am 05.07.10 21:15, schrieb Tom: I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended to the end of the first line instead of being placed below it. 2. I get errors when using #1 and #2 as

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

2010-07-06 Thread Tom
\define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch{\determineheadnumber[chapter]\ChapterTextStr etch{Chapter \currentheadnumber}} \setuphead [chapter] [alternative=middle, textstyle=sansbold, numberstyle=sans,

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

2010-07-06 Thread Tom
\define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch{\determineheadnumber[chapter]\ChapterTextStr etch{Chapter \currentheadnumber}} \setuphead [chapter] [alternative=middle, textstyle=sansbold, numberstyle=sans,

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

2010-07-05 Thread Tom
I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended to the end of the first line instead of being placed below it. 2. I get errors when using #1 and #2 as values, i.e {Chapter #1} and {#2}.