> Here's an artificial example just to see the extra space at work:
>
> .vs 0.85c
> .ps 20
> .ft CR
> .sp 10
> Hello1
> \X'ps: exec 1 0 0 setrgbcolor'
> Hello2
> Hello3
> \X'ps: exec 0 0 0 setrgbcolor'
> .br
> Hello1 Hello2 Hello3
> .\"
> .ex
>
> Here the red Hello2 Hello3 are one space to the right of the black
> ones. Does anyone know the how and why of this space?
GNU troff never merges spaces. The line break after `Hello1' creates
a space, and the line break after the first `\X' creates a space too.
This is exactly what you see in the output.
Just say
\X'...'\c
to avoid this effect.
Werner
_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff