[NTG-context] \writetolist spurious space in the first line hereafter

2011-03-17 Thread Willi Egger
Hi all,

I detected that after issuing \writetolist, that there is a unwanted space in 
the first line after this command. This occurs when indenting is on and off. 

Please refer to the attached minimal example.

I am using ConTeXt 2011.02.25 22:03, LuaTEX beta-0.65.0-2010121316

Kind regards

Willi



test-indenting.tex
Description: Binary data
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \writetolist spurious space in the first line hereafter

2011-03-17 Thread Wolfgang Schuster

Am 17.03.2011 um 11:32 schrieb Willi Egger:

 Hi all,
 
 I detected that after issuing \writetolist, that there is a unwanted space in 
 the first line after this command. This occurs when indenting is on and off. 

Add a comment after the last brace, i.e.

  \writetolist[…]{}{…}%

and write the text in the second argument, the first is for the number of the 
header (in your case nothing) and the second for the 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \writetolist spurious space in the first line hereafter

2011-03-17 Thread Willi Egger
Hello Wolfgang!

thank you so much for this answer. Thanks to regular expressions it is now 
solved throughout the whole book.

Willi
On 17 Mar 2011, at 11:47, Wolfgang Schuster wrote:

 
 Am 17.03.2011 um 11:32 schrieb Willi Egger:
 
 Hi all,
 
 I detected that after issuing \writetolist, that there is a unwanted space 
 in the first line after this command. This occurs when indenting is on and 
 off. 
 
 Add a comment after the last brace, i.e.
 
  \writetolist[…]{}{…}%
 
 and write the text in the second argument, the first is for the number of the 
 header (in your case nothing) and the second for the 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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