view docs/README.txt @ 1643:5d56f1311d46

Update build dependencies very slightly.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 30 Jan 2021 15:45:11 +0200
parents 173e6e3efe58
children
line wrap: on
line source

Manual building instructions
============================

NOTICE! Typically the end user (that probably means you) does not need to
build the manuals, as the pre-built manual comes in several formats within
the GgrTF packages.

However, if you wish to re-build the manual from source, you will need
the following tools / utilities on an UNIX-style platform:

 - GNU Bash or similar compatible shell
 - Either GraphicsMagick, ImageMagick or NetPBM utils
 - DocBook XML utilities
 - xsltproc
 - Perl 5.8 or later

Optionally you can also benefit from:
 - HTML Tidy <http://tidy.sourceforge.net/>
 - fop <http://xmlgraphics.apache.org/fop/>
   ("apt install fop" in Debian / Ubuntu)

When these depencies have been satisfied, you can try building
the manual by running 'build-docs.sh'.


Miscellanea
===========
The documentation has been written using DocBook XML, with some
custom extensions that are handled and converted to plain XML by the
Perl-based utilities. The following utilities are used:

 - tfdoc.pl: Enables grabbing additional documentation embedded inside
   the various TinyFugue scripts. The documentation is inserted to
   matching places in the XML marked via special tags.

 - normalizeml.pl: "Normalizes" the SGML/XML document, removing any
   "recursive" entity definitions (similar to macros). Definitions like
   these are useful, but unfortunately XML/SGML does not seem to support
   anything like them.