DocBook


DocBook is an XML-based document encoding format which defines the semantic structure of a document. It originated as a technical writing format with the intention of producing documents in multiple formats from a single canonical source. As such, it was born with the tenet of decoupled rendering in mind.

Given that DocBook is XML format, it is intrinsically poor in terms authoring delight and has been eclipsed by markdown in recent years, despite its limitations compared to the former. Having said this, the DocBook specification is stable and well-documented and has an O’Reilly book published in 2010 which covers the 5th iteration of the specification.

Example

Note that given DocBook’s semantic-oriented structure, a document is organized into the likes of chapters and sections rather than general ‘heading levels’.


© 2022-2024 Ernesto Garbarino | Contact me at ernesto@garba.org