[Libreoffice-bugs] [Bug 133294] FILESAVE EPUB Enhancement for styles with page breaks
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue May 26 17:48:50 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=133294
--- Comment #8 from Dave <dhorton668 at gmail.com> ---
Using split on pagebreak instead of split on header makes the output look
exactly like I would expect. Thank you for that suggestion.
However, I would consider this a workaround and would still like to request the
enhancement. My reasoning is this:
1) As an ebook author, I should not need to concern myself with the internals
of the EPUB format to the point of knowing how it divides up the XHTML files
inside the archive. It's not intuitive.
2) page-break-after: always; and page-break-before: always; are fully supported
in the EPUB 3 specification. Why not map Writer's break before/after style
options to those directly?
I think of it like this:
I have a line of text, "Section Title", that I've styled as a title in Writer.
The EPUB xhtml should have something like <span class="title">Section
Title</span>
The EPBU css should contain "title { page-break-before: always; }", if I've
specified a break after in Writer, along with any other corresponding styling
I've used when modifying the style.
Thanks again for maintaining such a wonderful open source product and for
giving me a workaround to my current dilemma. Your time and effort is much
appreciated.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200526/bff4cf82/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list