News for hackers. Stuff that matters.
Re:Get Your Book, Make It Free by jolmg on Friday May 17, 2019 @05:57PM (#19943969)
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

There are no comments on this comment yet.