Re: [NTG-context] hskip and crlf

2009-07-22 Thread Hans Hagen

Flavien Lambert wrote:

Dear all, can you explain why the following code does not produce an
horizontal spacing for the second line ? I am using MarkIV.

\starttext
\hskip2em a\crlf
\hskip4em a\crlf
\stoptext


because the par builder will discard the second skip; instead use:

\hskip2em a\crlf
\strut\hskip4em a\crlf



-
  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] hskip and crlf

2009-07-22 Thread Flavien Lambert
Thanks !

2009/7/22 Hans Hagen pra...@wxs.nl

 Flavien Lambert wrote:

 Dear all, can you explain why the following code does not produce an
 horizontal spacing for the second line ? I am using MarkIV.

 \starttext
 \hskip2em a\crlf
 \hskip4em a\crlf
 \stoptext


 because the par builder will discard the second skip; instead use:

 \hskip2em a\crlf
 \strut\hskip4em a\crlf



 -
  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

 ___




-- 
Flavien.

Quantum objects are completely crazy but, at least, they are all crazy in
the same way. R.P. Feynman.
___
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
___