Book structure

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

Book structure

Mark S
Is it possible to get this structure for asciidoctor-pdf using a book doctype:

front cover (yes, this can be done with the theme)
bare title page (title without subtitle or author) ??
blank page ??
title page (yes)
copyright page ??
dedication page ??
blank page ??
TOC (yes)
... parts & chapters ... (yes)
appendices (yes)
index (yes)
colophon (yes)
back cover (yes, this can be done with the theme)

In other words is it possible to exercise control over all the forematter pages?
Reply | Threaded
Open this post in threaded view
|

Re: Book structure

Harmyder
This post was updated on .
And looks one can use more than preface to get copyright page:

:doctype: book
:toc: macro

...

[dedication]
== Dedication

[preface]
== Copyright
This all belongs to me.

toc::[]

[preface]
== Preface
Very good stuff.
Also this might help Allow PDF page to be imported using image block macro

PS. Very good question indeed. E.g. I need an additional title page for the translated title.

Reply | Threaded
Open this post in threaded view
|

Re: Book structure

Harmyder
In reply to this post by Mark S

Looks like this solved title, translated title and copyright pages problem for me:


[discrete]
== Book Title
'''
David

_Third Edition_

<<<

[discrete]
== Назва книги
'''
Девід

_Переклад третього видання_

<<<

[discrete]
== Copyright

Copyright © 2020
Reply | Threaded
Open this post in threaded view
|

Re: Book structure

mojavelinux
Administrator
In reply to this post by Mark S
Mark,

What you may be looking for is the media=prepress setting, which will insert blank pages so that the chapters (and special chapters) are always facing. (And you can tweak this per chapter by using the %nonfacing option).


Beyond that, the answer is no. Asciidoctor PDF creates an opinionated PDF (because we have to draw the line somewhere or else the complexity just skyrockets). But the answer is also kind of yes because you can extend the converter to have it do whatever you want (within reason of what can be done using Prawn).

Best Regards,

-Dan

On Wed, Dec 23, 2020 at 6:33 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is it possible to get this structure for asciidoctor-pdf using a book doctype:

front cover (yes, this can be done with the theme)
bare title page (title without subtitle or author) ??
blank page ??
title page (yes)
copyright page ??
dedication page ??
blank page ??
TOC (yes)
... parts & chapters ... (yes)
appendices (yes)
index (yes)
colophon (yes)
back cover (yes, this can be done with the theme)

In other words is it possible to exercise control over all the forematter pages?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Book-structure-tp8419.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
Reply | Threaded
Open this post in threaded view
|

Re: Book structure

Mark S
Thanks for the feedback and help. Looks like being sufficient for my needs.
Reply | Threaded
Open this post in threaded view
|

Re: Book structure

mojavelinux
Administrator
That's excellent to hear!

-Dan

On Thu, Dec 24, 2020 at 1:33 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thanks for the feedback and help. Looks like being sufficient for my needs.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Book-structure-tp8419p8427.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