10 Feb
2003
10 Feb
'03
7:11 p.m.
Hans Hagen wrote:
At 02:58 AM 2/10/2003 +0000, you wrote:
%this definition for the final version where the % remaining comments are ignored
\def\gobble#1{}
\defineXMLargument [comment] \gobble
you can use \gobbleoneargument here
Actually, \gobbleoneargument doesn't make any difference, but the \XMLhideelement solution works perfectly. thanks robbie
the next solution may help:
\defineXMLargument [comment] \XMLhideelement
\long\def\XMLhideelement#1% {\futurelet\nexttoken\doXMLhideelement}
\def\doXMLhideelement {\ifx\nexttoken\blankspace\removeunwantedspaces\fi}