Tmac

Utmac: Usefull troff macros

Utmac is a set of troff macros made to be used with Neatroff

A single macro language

All the macro files follow the same language, giving the ability to produce different layouts on different type of support from the same troff source. Get an overview of the layouts downloading layout-uh.pdf, layout-ul.pdf, and layout-us.pdf.

Various output format

Utmac can produce pdf files, plain text files, manual pages, markdown files, and xml files — and so, with some xsl stylesheet, flat open document texts (fodt) and html files.

High level typographic features

Utmac uses the typographic feature of neatroff such as paragraph at once adjustment, OpenType fonts. While producing pdf, it informs about orphans, widows and empty lines at the bottom of page.

Bibliography and indexes

Utmac has builtin macros to build bibliography lists, indexes, table of contents and summaries. Bibliography aims to follow the iso-690 standart, and replace yet cited references by ibid., or op. cit. p xx. if needed.

Troff ergonomy

Utmac respects the original troff ergonomy: it is more hackable than configurable. By default, the layout is fixed and should be typographically perfect. If one wants to change the layout, he’ll have to learn the troff langage to hack the sources, or to create his own macros.

Documentation and download

See the following files: utmac, utmac-hack, u-ref, license.

Browse the git repository.