On Mon, Feb 10, 2003 at 02:58:25AM +0000, Robbie Pickering wrote:
> 
> I'm typesetting some XML text with comments in and for the working
> version the comments are to go in the margin. For the final version the
> comments are simply to be ignored.
> 
> In the end result there is a noticeably larger space between the words
> where the comma had been. Apparently more than one space is reaching
> TeX's stomach, though it's beyond me to work out how.
> 
> \defineXMLargument [comment] \gobble

You should use \ignorespaces in the end tag. Unfortunately,
\defineXMLargument does not allow you to define the action for the end
tag. This would work:

\defineXMLenvironmentsave [comment] {} {\ignorespaces}

The save action gobbles the content as well.

Regards, Simon

-- 
Simon Pepping
email: [EMAIL PROTECTED]

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to