Re: [NTG-context] Problem with packed and \space / broad and /nospace

2009-02-23 Thread Wolfgang Schuster


Am 23.02.2009 um 21:52 schrieb Bernd Kosubek:


If I run texexec over this, the last three line are longer
than the first line AND they have the same lengths.

What have I not understand -- or is it a known problem or a
bug?


You get what you write.

2. Sentence: \space{} = 2 spaces because of the {}

3. Sentence: Wide than the first sentence because of the disabled  
frenchspacing


4. Sentence: You write \nospace but insert a space with {}

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] Problem with packed and \space / broad and /nospace

2009-02-23 Thread Bernd Kosubek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 23. Februar 2009 21:56 schrieb Wolfgang Schuster:
 Am 23.02.2009 um 21:52 schrieb Bernd Kosubek:
  If I run texexec over this, the last three line are
  longer than the first line AND they have the same
  lengths.
 
  What have I not understand -- or is it a known problem
  or a bug?

 You get what you write.

 2. Sentence: \space{} = 2 spaces because of the {}

 3. Sentence: Wide than the first sentence because of the
 disabled frenchspacing

 4. Sentence: You write \nospace but insert a space with
 {}

 Wolfgang

Thank You for the quick answer.

I don't  understand where the second space should be come 
from.
I use the empty group {} always to separate optionless 
commands.

I think it is the same whether I write:

. . or
xxxy.{} . or
.
. or
.{}
.

If I use

.\space  or .\space{} 

the first \space produce NO space (that is not what I wish)

I suppose, that the empty group has no effect.
The following space will be printed and THIS space should be 
smaller in an broad-environment if I use \nospace or larger 
in an packed-environment if I use \space.

- -- 
Bernd Kosubek

Unsigned eMail are not from me.

eMail: kosu...@sksatz.com
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)

iD8DBQFJoxafEokq7LfE1jsRAjXLAKCHuX5TDHnEfKscgY02u+DoLSZXVgCffQRA
AncnhYSkHngDZV57RKRnPdQ=
=C9Pg
-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] Problem with packed and \space / broad and /nospace

2009-02-23 Thread Wolfgang Schuster


Am 23.02.2009 um 22:35 schrieb Bernd Kosubek:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 23. Februar 2009 21:56 schrieb Wolfgang Schuster:

Am 23.02.2009 um 21:52 schrieb Bernd Kosubek:

If I run texexec over this, the last three line are
longer than the first line AND they have the same
lengths.

What have I not understand -- or is it a known problem
or a bug?


You get what you write.

2. Sentence: \space{} = 2 spaces because of the {}

3. Sentence: Wide than the first sentence because of the
disabled frenchspacing

4. Sentence: You write \nospace but insert a space with
{}


Thank You for the quick answer.

I don't  understand where the second space should be come
from.
I use the empty group {} always to separate optionless
commands.

I think it is the same whether I write:

. . or
xxxy.{} . or
.
. or
.{}
.

If I use

.\space  or .\space{} 

the first \space produce NO space (that is not what I wish)


Nonsense, the first \space produce a space and the whitespace
in the input between \space and  is gobbled from the macro.

The empty group after the second space prevents TeX from gobbling
the space and you get now one space from the \space command and
another one from the whitespace in the output.


I suppose, that the empty group has no effect.
The following space will be printed and THIS space should be
smaller in an broad-environment if I use \nospace or larger
in an packed-environment if I use \space.


You need a empty group to get a space after commands like \TeX
because the command gobbles otherwise all following whitespace.

Try the following example:

text\relax text\space text\space{}\space{}\space{}\space text

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] Problem with packed and \space / broad and /nospace

2009-02-23 Thread Bernd Kosubek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 23. Februar 2009 22:34 schrieb Wolfgang Schuster:


 Nonsense, the first \space produce a space and the
 whitespace in the input between \space and  is
 gobbled from the macro.

 The empty group after the second space prevents TeX from
 gobbling the space and you get now one space from the
 \space command and another one from the whitespace in the
 output.

  I suppose, that the empty group has no effect.
  The following space will be printed and THIS space
  should be smaller in an broad-environment if I use
  \nospace or larger in an packed-environment if I use
  \space.

 You need a empty group to get a space after commands like
 \TeX because the command gobbles otherwise all following
 whitespace.

 Try the following example:

 text\relax text\space text\space{}\space{}\space{}\space
 text

 Wolfgang

Thank you

I think I understand it (I hope so)!

- -- 
Bernd Kosubek

Unsigned eMail are not from me.

eMail: kosu...@sksatz.com
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)

iD8DBQFJoxy1Eokq7LfE1jsRApTQAJ4jil0SnnLmObcG1i00LMvmkwUlhQCaAnMN
SZIqzDxD2ZvA1cVhD0/PuyE=
=J0Ni
-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
___