Book Parts & Chapters

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

Book Parts & Chapters

Mark S
Is it valid to have this structure where the Introduction, Appendix, Index, and Colophon are chapter-level:

= My Book Title
:doctype: book
== Introduction
= Part I
== Chapter 1
== Chapter 2
// other parts with chapters
== Appendix A
== Index
== Colophon
Reply | Threaded
Open this post in threaded view
|

Re: Book Parts & Chapters

mojavelinux
Administrator
Yes, but you have to make them special sections (which automatically get moved to the chapter level)

= My Book Title
:doctype: book

[preface]
= Introduction

= Part I

== Chapter 1

== Chapter 2

[appendix]
= A

[index]
= Index

[colophon]
= Colophon

Best Regards,

-Dan

On Fri, Dec 18, 2020 at 3:54 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is it valid to have this structure where the Introduction, Appendix, Index, and Colophon are chapter-level:

= My Book Title
:doctype: book
== Introduction
= Part I
== Chapter 1
== Chapter 2
// other parts with chapters
== Appendix A
== Index
== Colophon


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

Mark S
Thanks, that works great!