3 ms·
In that spirit, wasn't DocBook designed to be a source language for as many formats as possible? The Wikipedia article[1] says: > As a semantic language, DocBo
by jolmg 7y ago
In that spirit, wasn't DocBook designed to be a source language for as many formats as possible? The Wikipedia article[1] says:
> As a semantic language, DocBook enables its users to create document content in a presentation-neutral form that captures the logical structure of the content; that content can then be published in a variety of formats, including HTML, XHTML, EPUB, PDF, man pages, Web help[2] and HTML Help, without requiring users to make any changes to the source. In other words, when a document is written in DocBook format it becomes easily portable into other formats. It solves the problem of reformatting by writing it once using XML tags.
I've never understood how to compile to a target format, though.
[1] https://en.wikipedia.org/wiki/DocBook https://en.wikipedia.org/wiki/DocBook