On 2012-04-22 17:16, Marco Pessotto wrote:
> 
> Dear list,
> 
> I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the
> right thing to do to preserve eventual initial whitespace.
> 
> Anyway, I encounter the following issues:
> 
> %%%%============= cut here ============= %%%%%
> \starttext
> 
> this is normal text.
> 
> \startlines[space=on]
> 
>  this is a {\em test} with a long long long long line\footnote{this is
>    a test with a long long long long line this is a test with a long
>    long long long line this is a test with a long long long long line
>    this is a test with a long long long long line}
> 
> \stoplines
> 
> Normal text again.
> 
> \stoptext
> %%%%============= cut here ============= %%%%%
> 
> First, the {\em test} consumes a whitespace, even if after a command the
> space is supposed to be eaten.

Hi Marco,

I remember I brought this up a while ago:
  http://archive.contextgarden.net/message/20100916.124413.0e12af0e.en.html
Seems like one can avoid the spaces through grouping (or with
“\gobbleoneargument”; or by using a single-argument wrapper
instead of a font switch; or by using an active character for
termination of the macro name; refer to spac-lin.mkiv, lines
18--31, for the official options).

Hth
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpgp0fX3GS1M.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to