Can someone please point me to documentation or provide an example of
adding an extra footer with page numbers?
The postscript document is made of many man files using tbl, troff and
grops. Currently it has the page numbering of each individual
documentation (so restarts on page 1 very frequent
On Fri, 5 Sep 2008, Nick Stoughton wrote:
> If I understand your problem correctly, when we build the POSIX spec we
> have a similar problem. I have a macro that I ensure is called at the
> end of any run. This uses .tm to print a macro (.pn) to stderr with the
> final page number which I then sav
On Fri, 5 Sep 2008, Tadziu Hoffmann wrote:
> If you're using groff's man macros, try running groff with
> "-rC1", e.g.,
>
> [stuff] | groff -Tps -man -rC1 >output.ps
Thanks. I now see that documented in the groff_man(7) manual. But the
version I have says "If more than one manual page is give
Replying to two emails below:
On Fri, 5 Sep 2008, Tadziu Hoffmann wrote:
> > :2885: fatal error: input stack limit exceeded
> > (probable infinite loop)
>
> Uh! That appears to be a bug in the way "-man" is being used
> (by sourcing andoc.tmac, which then again sources an-old.tmac
> in some biz
On Sat, 6 Sep 2008, Tadziu Hoffmann wrote:
> > > zcat /usr/share/man/man8/*.gz |
> > > groff -Tps -t -man-old -rC1 >acro.ps
> >
> > This does finish and they are numbered but now the formatting
> > is broken. Text all dumped to page without any section
> > headers, missing cont
s split this way.)
$ groff -ms index.head J.permutted.2 > J.ps
$ head J.ps
%!PS-Adobe-3.0
%%Creator: groff version 1.19.2
%%CreationDate: Fri Sep 26 15:49:14 2008
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%DocumentSuppliedResources: procset grops 1.19 2
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
J.ps doesn't seem to have anything viewable.
What is a good procedure for this?
Where is a "index.head" I should use?
Jeremy C. Reed
> "GNU troff?? What is that? These days the publishers really want either
> MSWord or TEX files. We can try the HTML result, but I predict lots of
> issues in the typesetting! You'll be correcting proofs for weeks.
Maybe try troffcvt
http://www.snake.net/software/troffcvt/
s?
Any better suggestions for these?
Thanks!
Jeremy C. Reed
echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
tr'#-~''\-.-{'