On 3 April 2011 13:21, Rudolf Sykora rudolf.syk...@gmail.com wrote:
Hello 9fans,
I found that tr2post (at least on p9p) seems to discard [not process]
lines produced with \X'anything' in troff, so an input like
hello
\X'ps: exec 1 0 0 setrgbcolor'
blabla
results in output *without* the setrgbcolor line.
(using lines like this one can achieve coloured .ps, in this case the
'blabla' should be red)
Best regards
Ruda
Ok, it seems that what I need is a modification of
/src/cmd/postscript/tr2post/devcntl.c
in the case 'X' part.
Is there any reason for this
/* else
error(WARNING, Unknown string %s %s after x X\n,
str, buf);
*/
being commented out?
Thanks
Ruda