groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Groff conversion with 190 characters in each line


From: Ralph Corderoy
Subject: Re: [Groff] Groff conversion with 190 characters in each line
Date: Sat, 12 Jan 2013 16:31:45 +0000

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

[Prev in Thread] Current Thread [Next in Thread]