groff
[Top][All Lists]
Advanced

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

Re: [Groff] mm TC - how to place in the beginning of document?


From: Marko Pesikan
Subject: Re: [Groff] mm TC - how to place in the beginning of document?
Date: Sun, 24 Nov 2019 12:31:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Good day,

the method with qpdf works very well. thx.

qpdf test.pdf --pages test.pdf z,1-3 -- outfile.pdf

regards, Marko


Am 23.11.19 um 18:13 schrieb Marko Pesikan:
thx for reply, I will try to analyses that you wrote tomorrow.
regards, Marko

Am 23.11.19 um 15:02 schrieb Ralph Corderoy:
Hi Marko,

currently i want to bring my table of content on the top  of the
document.  I found a solution below and is work.

Using  the  psutils  package,  you can move the last page containing
the TOC to the beginning of the document:

      psselect -p_1,1-_2 in.ps out.ps
After 7 Years, is this  solution still a good way to bring the toc on
the top?
You can see the psselect(1) method explained at
https://www.schaffter.ca/mom/momdoc/tables-of-contents.html

If you're using -Tpdf then qpdf(1) can also re-arrange page order and
has r3 for the third-from-end page, and z for the last page.

The mom macros have a method of moving the table of contents with -Tpdf
that depends on gropdf(1)'s .pdfpagename and .pdfswitchtopage. (Deri,
I don't think they're documented?)  mom uses them with the page name
MOM:TOC.  Perhaps mm, or an mm user, could also benefit from them for
.TC.  Hard to say without more investigation.





reply via email to

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