Re: DocBook to ebook conversion
Hussein Shafie <[email protected]>
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
On 11/27/20 1:20 PM, Gerd Wagner wrote: > Am 11/27/2020 um 11:43 AM schrieb Hussein Shafie: >> On 11/27/20 9:52 AM, Gerd Wagner wrote: >>> Are there any converters that provide DocBook to ebook conversion? >> >> Sorry but the answer is no. > > Isn't there a need for it? For me it's clear, that XML Mind's ebook > format is superior to (the more and more obsolete) DocBook format. Indeed. If we want to promote "HTML5 as an alternative to DITA and DocBook" (paper here: http://www.xmlmind.com/tutorials/HTML5Books/HTML5Books.html), we clearly need quality DocBook and DITA converters. > > Since I have authored many tutorials and a 500 pages book as DocBook, > I'd really like to convert them. We certainly understand this. Sorry for this shortcoming. > >> Given the fact that an ebook is basically a set of HTML5 pages, may be >> you should search for an DocBook to HTML converter. > > Especially for my 500 pages book, it would be a prohibitive amount of > work to generate the messy and low-quality HTML from Docbook, having to > remove/convert all the unnecessary divs and then re-create the binding, > conditional profiling, index information, etc. > Sure. > 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/ Thank you for the tip, Manuel. > > 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 > Pretty surprising given the fact that sections are one of HTML5 strengths. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support