Re: [NTG-context] \stretched

2012-07-08 Thread Willi Egger
Hi Luigi, thanks for the explanation, now (finally) I understand the mechanism… Willi On Jul 5, 2012, at 5:49 PM, luigi scarso wrote: On Thu, Jul 5, 2012 at 5:23 PM, Willi Egger cont...@boede.nl wrote: Hello! I just downloaded yesterday night's version of Context and tried the example

Re: [NTG-context] \stretched

2012-07-05 Thread Willi Egger
Hello! I just downloaded yesterday night's version of Context and tried the example provided. - What is wrong with the first line with the \hbox? This stretched text is as long as the second line and uses the whole text width. The third line has a width of 10cm as it seems. Willi On Jun 28,

Re: [NTG-context] \stretched

2012-07-05 Thread luigi scarso
On Thu, Jul 5, 2012 at 5:23 PM, Willi Egger cont...@boede.nl wrote: Hello! I just downloaded yesterday night's version of Context and tried the example provided. - What is wrong with the first line with the \hbox? This stretched text is as long as the second line and uses the whole text

[NTG-context] \stretched

2012-06-28 Thread Hans Hagen
Hi, In the next version, the \stretched command has been replaced by a new one using the character kerning feature. \hbox to 5cm{\stretched{to the limit}} \stretched{to the limit} \stretched[width=10cm]{to the limit} In addition one can set a style and color. Hans

[NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum
Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a way to adjust the degree of stretching? Steffen --- PastedGraphic-2.pdf Description: Adobe PDF document

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Hans Hagen
On 30-3-2012 10:01, Steffen Wolfrum wrote: Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a way to adjust the degree of stretching? \def\lang_url_space{\nobreak\hskip\zeropoint

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum
Am 30.03.2012 um 20:10 schrieb Hans Hagen: On 30-3-2012 10:01, Steffen Wolfrum wrote: Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a way to adjust the degree of stretching?

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Hans Hagen
On 30-3-2012 21:29, Steffen Wolfrum wrote: Am 30.03.2012 um 20:10 schrieb Hans Hagen: On 30-3-2012 10:01, Steffen Wolfrum wrote: Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a

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
that convert numerals to alpha characters since last summer? Thanks, Tom -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Tuesday, July 06, 2010 12:19 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context

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}.

Re: [NTG-context] stretched title text

2006-01-13 Thread Taco Hoekwater
M.guravage wrote: Hi, Something has changed in the past couple months that causes my stretched title code to fail with the message: ! You can't use `\end' in internal vertical mode. recently read \normalend I've attatched a small example. Has anyone a suggestion how I can adapt my code

Re: [NTG-context] \stretched fails with accents

2005-04-11 Thread Hans Hagen
David Munger wrote: Both of these fail (the second one is assumed to be unicode). \hbox to \textwidth {\stretched{pr\'edoctoral}} \hbox to \textwidth {\stretched{prdoctoral}} \hbox to \textwidth {\stretched{pr{\'e}doctoral}} \hbox to \textwidth {\stretched{pr{}doctoral}} an other alternative is to

Re: [NTG-context] \stretched fails with accents

2005-04-11 Thread David Munger
\hbox to \textwidth {\stretched{pr{\'e}doctoral}} \hbox to \textwidth {\stretched{pr{}doctoral}} Right. Thanks. an other alternative is to use the properties mechanism Do you mean with something like: \hbox to \textwidth {\setuptolerance[stretch]inter word space is stretched} ? David

Re: [NTG-context] \stretched fails with accents + \hyphenation

2005-04-11 Thread Hans Hagen
David Munger wrote: I ran into the same problem with unicode strings in \hyphenation{...}. Any clue? \hyphenation{ma-gn{}-to-hy-dro-dy-na-mi-que} from xtag-hyp: % \mainlanguage[nl] \setupbodyfont[pos] \useXMLfilter[utf,hyp] % % \starttext % % \hyphenatedword{pati\ediaeresis nten} %

Re: [NTG-context] stretched text

2004-10-26 Thread Piotr Kopszak
On Mon, Oct 25, 2004 at 10:32:53AM -0500, Bill McClain wrote: On Mon, 25 Oct 2004 16:06:10 +0200 [EMAIL PROTECTED] (Piotr Kopszak) wrote: Hello, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations and

Re: [NTG-context] stretched text

2004-10-26 Thread Tobias Burnus
Hello, Piotr Kopszak wrote: Right, but as far as I understand this solution: \def\CapStretchAmount{.08em} \def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}} Which is used as so: \CapStretch{\sc The King in Yellow} applies only to

Re: [NTG-context] stretched text

2004-10-26 Thread Hans Hagen
Piotr Kopszak wrote: Right, but as far as I understand this solution: \def\CapStretchAmount{.08em} \def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}} Which is used as so: \CapStretch{\sc The King in Yellow} applies only to small

[NTG-context] stretched text

2004-10-25 Thread Piotr Kopszak
Hello, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations and would not want to replace stretched text simply by emphasized. Is it absolutely discouraged in ConTeXt or is there any way to have it... (in spite of its

Re: [NTG-context] stretched text

2004-10-25 Thread Bill McClain
On Mon, 25 Oct 2004 16:06:10 +0200 [EMAIL PROTECTED] (Piotr Kopszak) wrote: Hello, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations and would not want to replace stretched text simply by emphasized. Is it