Re: DocBook to ebook conversion

Manuel Collado <[email protected]>
Newsgroups gmane.editors.xxe.general
Message-ID <[email protected]>
El 27/11/2020 a las 16:23, Hussein Shafie escribió:
>> 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.

Pandoc doesn't generate <section> tags by default. But you can request 
them with the --section-divs command-line option.

Hope this helps.

-- 
Manuel Collado - http://mcollado.z15.es

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.