Re: Get page-count into the document

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Get-page-count-into-the-document-tp8296p8305.html

> The theming guide theming-guide.adoc indicates that with prepress chapters always start on recto pages.  That doesn’t appear to be configurable.

That's not true, as I previously pointed out. That's the whole point of the pdf-folio-placement attribute, which allows you to invert the recto/verso designation, and either bind it to physical or virtual page numbers.

In order to shift the numbering (so that the chapters are even numbers), you also need to set page_numbering_start_at to 2. I do see one limitation with that. It's not possible to set the start_at value to 0, which would ensure the first chapter is page 2 (and the blank page before it is page 1). I'll look into that. For now, it will be a roman numeral (since 1 will be the page after the first chapter).

Best Regards,

-Dan

On Tue, Oct 27, 2020 at 1:45 PM David Jencks [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I’m confused about the confusion here.

Perhaps using ‘recto’ and ‘verso’ could clarify the situation.

My understanding is that you want chapters to start on verso pages.

The theming guide theming-guide.adoc indicates that with prepress chapters always start on recto pages.  That doesn’t appear to be configurable.

Why not include a short introductory page for each chapter, placed recto, followed by the actual content on verso/recto pairs?  I’d think your “paint it white” idea would also work, although it would end up with 2 blank pages at the start of every chapter.  If I understand correctly, you are considering this already…. I’d wonder if the content would be more comprehensible with a short summary or abstract at the start of each chapter.

David Jencks

On Oct 27, 2020, at 12:21 PM, TonK [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Let me try to explain it another wy (and otherwise we just give up :-))

I'm not trying to make slides, these are created with LibreOffice and then converted to svg's and included in my document.

What I'm trying to do is: I create a document to handout to trainees, that contains all the slides in the training with explanatory text, so they can use this document as well. The layout of the document is like a book, and it will be printed. To make this document easy to use I want the left (the even pagenumbers) to contain the explanatory text and the right page (the odd pagenumbers) the slide and maybe extra info. This is so that when the book lays open the text and slide both face up.

But the problem I'm trying to solve is: When I generate a book, the chapter starts at the odd page (right) and then the accompanying slide is on the next left (even page), so they are not together. So, if I, somehow, can print a book with the pages in the postiions I  want them in I am a very happy camper. I would also settle for something like printing the chaptername in white text on a white background and place some picture on the first page of the chapter with the second page staring with the training text.

I hope this explains what I'm trying to achieve. No matter if it's possible or not I want to thank you very muh for your support.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Get-page-count-into-the-document-tp8296p8303.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Get-page-count-into-the-document-tp8296p8304.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux