Hi Elango,

>     groff -Tps -dpaper=a3l -P-pa3 -P-l in.txt >> in.ps.
>     ps2pdf in.ps out.pdf.
> 
> In this process, Groff is breaking the 190 character length line to 2
> and the whole conversion looks messy. I am a newbie to Groff system
> and would appreciate your help.

I think there's something you're not telling us?  Also suggested by the
-dpaper.  :-)  in.txt isn't just a lines of 190 characters but troff
directives too?  I find this works fine for me.

    (printf '.nf\n'; seq -f '%190.0f' 200 | sed 's/  /x /g') |
    groff -Tps -P-pa3 -P-l |
    ps2pdf - foo.pdf

Cheers, Ralph.

Reply via email to