[NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Bernd Kosubek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear all!

%%%
% Source:
%%%

\enableregime[utf]
\installlanguage[german][de]
\mainlanguage[de]
\setuppapersize[C5][A4]
\setuplayout[width=124mm]
\setupbodyfont[10pt]
\setupindenting[none]
\setupwhitespace[small]
\setuptolerance[horizontal,strict]
\setupspacing[packed]

\definestartstop[Ausgabe][%
  before={%
\setuptextrules[location=left]%
\textrule[top]{Ausgabe}%
  },%
  after={\textrule},%
  commands={\indenting[no]}%
]

\starttext
\startAusgabe
Kurze Sätze.
Das A und O der Tagespresse!\space{}
Dem Leser nur nichts zumuten.
Es muss zwischen Tür und Angel passen.
Alles muss schnell verdaut werden können.

{
  \setupspacing[broad]
  Kurze Sätze.
  Das A und O der Tagespresse!\nospace{}
  Dem Leser nur nichts zumuten.
  Es muss zwischen Tür und Angel passen.
  Alles muss schnell verdaut werden können.
}
\stopAusgabe
\stoptext

%%%
% Problem:
%%%

In the output the last line of the first paragraph is longer than the last
line of the second paragraph.

Logically, the last line of the second paragraph supposed to be longer,
because there is more space between the sentences.

Is there a blank (space), with a wrong interpretation at the last punctuation
mark or is it a bug or what is the reason?
- --
Gruß
Bernd Kosubek

Unsigned eMails are not from me.

eMail: [EMAIL PROTECTED]
Fingerprint: C121 F3C2 A6DD 1ACD A9BC F0AF 1289 2AEC B7C4 D63B

Keyserver: blackhole.pca.dfn.de (oder andere)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFI7zJ1Eokq7LfE1jsRAlbrAJ9xUxuJFuLtAWunzWn+uqnhY0XbnwCbBMjT
OISFd44KkchZi3R7IH0LZFo=
=OWXc
-END PGP SIGNATURE-

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Wolfgang Schuster
2008/10/10 Bernd Kosubek [EMAIL PROTECTED]:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am Freitag, 10. Oktober 2008 12:53 schrieb Wolfgang Schuster:
 On Fri, Oct 10, 2008 at 12:46 PM, Bernd Kosubek [EMAIL PROTECTED] wrote:

  {
   \setupspacing[broad]
   Kurze Sätze.
   Das A und O der Tagespresse!\nospace{}
   Dem Leser nur nichts zumuten.
   Es muss zwischen Tür und Angel passen.
   Alles muss schnell verdaut werden können.
  }

 Alles muss schnell verdaut werden können.%
 }

 or

 Alles muss schnell verdaut werden können.}


 You inserted a space after the last word in the second paragraph.

 Wolfgang

 Thank you Wolfgang,

 this is a possible solution.

 Now I doubled the paragraph:
 {
  \setupspacing[broad]
  Kurze Sätze.
  Das A und O der Tagespresse!\nospace{}
  Dem Leser nur nichts zumuten.
  Es muss zwischen Tür und Angel passen.
  Alles muss schnell verdaut werden können.

  Kurze Sätze.
  Das A und O der Tagespresse!\nospace{}
  Dem Leser nur nichts zumuten.
  Es muss zwischen Tür und Angel passen.
  Alles muss schnell verdaut werden können.
 }

 or (with the same result)

 \setupspacing[broad]
 Kurze Sätze.
 Das A und O der Tagespresse!\nospace{}
 Dem Leser nur nichts zumuten.
 Es muss zwischen Tür und Angel passen.
 Alles muss schnell verdaut werden können.

 Kurze Sätze.
 Das A und O der Tagespresse!\nospace{}
 Dem Leser nur nichts zumuten.
 Es muss zwischen Tür und Angel passen.
 Alles muss schnell verdaut werden können.
 \setupspacing[packed]

 The first paragraph is OK, but the second paragraph looks like the original
 problem (without eliminated last space).

Because you insert a space at the end of the second paragraph but none
at the end of the first.

 Now I have a new Problem: where is the difference between a new paragraph and
 the end of a group ( {...} or [broad] ... [packed] )?

Tell us what do you want to achive.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Bernd Kosubek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 10. Oktober 2008 12:53 schrieb Wolfgang Schuster:
 On Fri, Oct 10, 2008 at 12:46 PM, Bernd Kosubek [EMAIL PROTECTED] wrote:

  {
   \setupspacing[broad]
   Kurze Sätze.
   Das A und O der Tagespresse!\nospace{}
   Dem Leser nur nichts zumuten.
   Es muss zwischen Tür und Angel passen.
   Alles muss schnell verdaut werden können.
  }

 Alles muss schnell verdaut werden können.%
 }

 or

 Alles muss schnell verdaut werden können.}


 You inserted a space after the last word in the second paragraph.

 Wolfgang

Thank you Wolfgang,

this is a possible solution.

Now I doubled the paragraph:
{
  \setupspacing[broad]
  Kurze Sätze.
  Das A und O der Tagespresse!\nospace{}
  Dem Leser nur nichts zumuten.
  Es muss zwischen Tür und Angel passen.
  Alles muss schnell verdaut werden können.

  Kurze Sätze.
  Das A und O der Tagespresse!\nospace{}
  Dem Leser nur nichts zumuten.
  Es muss zwischen Tür und Angel passen.
  Alles muss schnell verdaut werden können.
}

or (with the same result)

\setupspacing[broad]
Kurze Sätze.
Das A und O der Tagespresse!\nospace{}
Dem Leser nur nichts zumuten.
Es muss zwischen Tür und Angel passen.
Alles muss schnell verdaut werden können.

Kurze Sätze.
Das A und O der Tagespresse!\nospace{}
Dem Leser nur nichts zumuten.
Es muss zwischen Tür und Angel passen.
Alles muss schnell verdaut werden können.
\setupspacing[packed]

The first paragraph is OK, but the second paragraph looks like the original 
problem (without eliminated last space).

Now I have a new Problem: where is the difference between a new paragraph and 
the end of a group ( {...} or [broad] ... [packed] )? 

Gruß
Bernd Kosubek

Unsigned eMails are not from me.

eMail: [EMAIL PROTECTED]
Fingerprint: C121 F3C2 A6DD 1ACD A9BC F0AF 1289 2AEC B7C4 D63B

URL: http://www.sksatz.com

Keyserver: blackhole.pca.dfn.de (oder andere)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFI70LxEokq7LfE1jsRArvaAJ4ogXDx8KX4gnNJYxVPzKU4G13a6wCgkGYr
Bq2wXrScpmAI//4XTI4tqX4=
=yzzT
-END PGP SIGNATURE-

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Hans Hagen
Bernd Kosubek wrote:

 Now I doubled the paragraph:
 {
   \setupspacing[broad]
   Kurze Sätze.
   Das A und O der Tagespresse!\nospace{}
   Dem Leser nur nichts zumuten.
   Es muss zwischen Tür und Angel passen.
   Alles muss schnell verdaut werden können.
 
   Kurze Sätze.
   Das A und O der Tagespresse!\nospace{}
   Dem Leser nur nichts zumuten.
   Es muss zwischen Tür und Angel passen.
   Alles muss schnell verdaut werden können.

add \par here if you want settings to be applied to this par

 }

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Wolfgang Schuster
On Fri, Oct 10, 2008 at 12:46 PM, Bernd Kosubek [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Dear all!

 %%%
 % Source:
 %%%

 \enableregime[utf]
 \installlanguage[german][de]
 \mainlanguage[de]
 \setuppapersize[C5][A4]
 \setuplayout[width=124mm]
 \setupbodyfont[10pt]
 \setupindenting[none]
 \setupwhitespace[small]
 \setuptolerance[horizontal,strict]
 \setupspacing[packed]

 \definestartstop[Ausgabe][%
  before={%
\setuptextrules[location=left]%
\textrule[top]{Ausgabe}%
  },%
  after={\textrule},%
  commands={\indenting[no]}%
 ]

 \starttext
 \startAusgabe
 Kurze Sätze.
 Das A und O der Tagespresse!\space{}
 Dem Leser nur nichts zumuten.
 Es muss zwischen Tür und Angel passen.
 Alles muss schnell verdaut werden können.

 {
  \setupspacing[broad]
  Kurze Sätze.
  Das A und O der Tagespresse!\nospace{}
  Dem Leser nur nichts zumuten.
  Es muss zwischen Tür und Angel passen.
  Alles muss schnell verdaut werden können.
 }

Alles muss schnell verdaut werden können.%
}

or

Alles muss schnell verdaut werden können.}

 \stopAusgabe
 \stoptext

 %%%
 % Problem:
 %%%

 In the output the last line of the first paragraph is longer than the last
 line of the second paragraph.

 Logically, the last line of the second paragraph supposed to be longer,
 because there is more space between the sentences.

 Is there a blank (space), with a wrong interpretation at the last punctuation
 mark or is it a bug or what is the reason?

You inserted a space after the last word in the second paragraph.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___