Page-Numbering

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Page-Numbering

frank.hollmann
Hi,

is it possible to start the page-numbering with certain, pre-defined numeric values? For example start page-numbering with page-number "4".

my use-case:

due to formatting requirements and the missing possibility to place the toc::[] on a predefined place, i will have to create and combine two pdf-files. One with our "document header" (which includes copyright, change history of the document and other information)  and the other one with the actual content. Unfortunatley, the page-numbering must numeric for the whole document, which includes our "document header".


regards

frank hollmann

 



Reply | Threaded
Open this post in threaded view
|

Re: Page-Numbering

mojavelinux
Administrator
Frank,

That's not currently possible. File an issue and we could consider it. Perhaps we could introduce an attribute like `pagenums-start` or `pagenums-offset` to control the starting value.

Cheers,

-Dan

On Fri, Sep 28, 2018 at 5:17 AM frank.hollmann [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

is it possible to start the page-numbering with certain, pre-defined numeric values? For example start page-numbering with page-number "4".

my use-case:

due to formatting requirements and the missing possibility to place the toc::[] on a predefined place, i will have to create and combine two pdf-files. One with our "document header" (which includes copyright, change history of the document and other information)  and the other one with the actual content. Unfortunatley, the page-numbering must numeric for the whole document, which includes our "document header".


regards

frank hollmann

 






If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Page-Numbering-tp6487.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Page-Numbering

Equamo
Hey Dan,

i have a similar issue.
I want to start the footer, thus the page counter, with the second page (so the toc).
In my case the value {page-number} at the toc should show the number 2 instead of 1.
But if i define the start_at attribute at toc, the toc is allways the number 1 page.

Is there e.g. a possibility to calculate with the value {page-number}.

regards

Martin
Reply | Threaded
Open this post in threaded view
|

Re: Page-Numbering

mojavelinux
Administrator
I don't see an issue yet in the issue tracker.

Best,

-Dan

On Wed, Sep 4, 2019 at 6:46 AM Equamo [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hey Dan,

i have a similar issue.
I want to start the footer, thus the page counter, with the second page (so the toc).
In my case the value {page-number} at the toc should show the number 2 instead of 1.
But if i define the start_at attribute at toc, the toc is allways the number 1 page.

Is there e.g. a possibility to calculate with the value {page-number}.

regards

Martin


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Page-Numbering-tp6487p7138.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Page-Numbering

frank.hollmann
I did not open an issue, because i was able establish a work-around with two asciidoc-files for content and title_page and a few lines of ruby/shell Code around combine_pdf.