![](https://secure.gravatar.com/avatar/7698ca8517c6b0d840c3eb065bceca3d.jpg?s=120&d=mm&r=g)
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: spepping@scaprea.hobby.nl