On Fri, 27 Nov 2020 13:38:22 +0100 Gerd Wagner <wagn...@b-tu.de> wrote:
> Am 11/27/2020 um 12:04 PM schrieb Manuel Collado: > > El 27/11/2020 a las 9:52, Gerd Wagner escribió: > >> Are there any converters that provide DocBook to ebook conversion? > >> > > > > Maybe pandoc. > > > > https://pandoc.org/ > > Thanks for pointing this out. However, they do not (yet) convert to > the ebook format. > > Its generated HTML5 is much cleaner than the DocBook-XSLT-generated > HTML5, but it does not preserve/create section elements Let me ask you this: What *can* you convert Docbook to that preserves the semantics you put into your Docbook book? Once you get it semantically into a well formed (and hopefully valid) XML, it becomes relatively easy to convert it to a combination of well built HTML files (perhaps HTML5 as well formed XML), an XML file pertaining to the organization of the document, and a list of all styles used in your document. The one manual part of the conversion is *you* would make the CSS files to convert styles to appearances. Yes, I know, I know, you could get your Docbook styles converted to HTML CSS, but what's beautiful in a book like document or a long paper is outright ugly in an eBook. One of the problems is that Docbook isn't XML, it's SGML, a complex sort of superset of XML that very few people are smart enough to handle. By the way, until you figure out how to change Docbook to ePub, you can always change it into a PDF with mobile-device sizing. That's been working for me in books I'm selling. HTH, SteveT Steve Litt Autumn 2020 featured book: Thriving in Tough Times http://www.troubleshooters.com/thrive -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support