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

2019-11-24 Thread Deri
On Saturday, 23 November 2019 14:02:26 GMT Ralph Corderoy wrote: > 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. Perh

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

2019-11-24 Thread Deri
On Saturday, 23 November 2019 14:02:26 GMT Ralph Corderoy wrote: > 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. Perh

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

2019-11-24 Thread Marko Pesikan
thx, is a very good hint. qpdf test.pdf --pages test.pdf r1,1-r2 -- outfile.pdf regards, Marko Am 24.11.19 um 12:48 schrieb Ralph Corderoy: Hi Marko, 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. qpdf test.

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

2019-11-24 Thread Ralph Corderoy
Hi Marko, > > > 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. > > qpdf test.pdf --pages test.pdf z,1-3 -- outfile.pdf That `3' can be `r2' so it doesn't need altering as the number of pages in test.pdf chan

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

2019-11-24 Thread Marko Pesikan
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

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

2019-11-23 Thread 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 t

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

2019-11-23 Thread 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 > >

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

2019-11-22 Thread Marko Pesikan
Good day, currently i want to bring my table of content on the top  of the document. I found a solution below and is work. After 7 Years, is this  solution still a good way to bring the toc on the top? regards, Marko Re: [Groff] mm TC - how to place in the beginning of document

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

2012-08-22 Thread Anton Shterenlikht
From anton@gmail.com Wed Aug 22 09:28:08 2012 Using the psutils package, you can move the last page containing the TOC to the beginning of the doc- ument: psselect -p_1,1-_2 in.ps out.ps Thanks, this works fine. Anton

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

2012-08-22 Thread Anton Shterenlikht
From sinclai...@gmail.com Wed Aug 22 02:49:26 2012 groff mm macros defines four registers: Lf, Lt, Lx, and Le. The first three are set to 1 (enable) by default. To disable printing of List of figures, List of tables and List of exhibits set them to 0. The last on

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

2012-08-22 Thread Anton Shepelev
Anton Shterenlikht: > How can I make the ToC appear in the beginning of > the document, and not at the end, with mm .TC > macro? Using the psutils package, you can move the last page containing the TOC to the beginning of the doc- ument: psselect -p_1,1-_2 in.ps out.ps > Also, ho

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

2012-08-21 Thread Grigoriy A. Sitkarev
groff mm macros defines four registers: Lf, Lt, Lx, and Le. The first three are set to 1 (enable) by default. To disable printing of List of figures, List of tables and List of exhibits set them to 0. The last one is set to 0 (disable) by default and corresponds to the List of equations. As fo

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

2012-08-21 Thread Anton Shterenlikht
How can I make the ToC appear in the beginning of the document, and not at the end, with mm .TC macro? Also, how can I disable the inclusion of the list of figures and the list of tables? Thanks Anton