On Mon, 24 Dec 2018 at 02:39, Eric Raymond <[email protected]> wrote: > > I'm generating an epub of a multipart book - parts have chapters. Using > Python ascidoc; I'm very familiar with the tool and have shipped many FAQs > that use it. > > I don't seem to have any control over where page breaks are in the epub. > Ideally, I'd like a page break before each chapter,
If you know what HTML element or class chapters convert to, the "proper" way to do this would be to customise your CSS to add page break before. For Asciidoc Python thats a function in the toolchain, for Asciidoctor see https://asciidoctor.org/docs/asciidoctor-epub3/#about-the-theme > and before each part. Alternatively, if there's a way to make the <<< macro > work in epubs, that would be good enough. > > Is there any way to arrange either of these things? I'm willing to move to > asciidoctor ot the Python port if that will help. > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
