Another consequence of this history is that Unix documentation
tools have tended to have relatively weak support for including
images, but strong support for diagrams, tables, graphing, and
mathematical typesetting — the sorts of things often needed in
technical papers.
The Unix attachment to markup-centered systems has often been
caricatured as a prejudice or a troglodyte trait, but it is not really
anything of the kind. Just as the putatively ‘primitive’
CLI style of Unix is in many ways better adapted to the needs of power
users than GUIs, the markup-centered design of tools like
troff(1)
is a better fit for the needs of power documenters than are WYSIWYG
programs.
The large-document bias in Unix tradition did not just keep Unix
developers attached to markup-based formatters like
troff, it also made them interested in
structural markup. The history of Unix document tools is one of
lurching, muddled, and erratic movement in a general direction away
from presentation markup and toward structural markup. In mid-2003
this journey is not yet over, but the end is distantly in
sight.
The development of the World Wide Web meant that the ability to
render documents in multiple media (or, at least, for both print and
HTML display) became the central challenge for documentation tools
after about 1993. At the same time, even ordinary users were, under
the influence of HTML, becoming more comfortable with markup-centered
systems. This led directly to an explosion of interest in structural
markup and the invention of XML after 1996. Suddenly the old-time
Unix attachment to markup-centered systems started looking prescient
rather than reactionary.
Today, in mid-2003, most of the leading-edge development of
XML-based documentation tools using structural markup is taking place
under Unix. But, at the same time, the Unix culture has yet to let go
of its older tradition of presentation-level markup systems. The
creaking, clanking, armor-plated dinosaur that is
troff has only partly been displaced by
HTML and XML.