Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   groff_tmac    ( 5 )

файлы макросов в системе набора GNU roff (macro files in the GNU roff typesetting system)

Имя (Name)

groff_tmac - macro files in the GNU roff typesetting system


Описание (Description)

Definitions of macros, strings, and registers for use in a roff(7) document can be collected into macro files, roff input files designed to produce no output themselves but instead ease the preparation of other roff documents. There is no syntactical difference between a macro file and any other roff document; only its purpose distinguishes it. When a macro file is installed at a standard location and suitable for use by a general audience, it is often termed a macro package. Macro packages can be loaded by supplying the -m option to groff(1) or troff(1). Alternatively, a groff document wishing to use a macro package can load it with the mso ('macro source') request.

Each macro package stores its macro, string, and register definitions in one or more tmac files. This name originated in early Unix culture as an abbreviation of 'troff macros'.

A macro package must be named name.tmac and be placed in a 'tmac directory' to be loadable with the -m option. Section 'Environment' of troff(1) lists these directories. Like any other roff document, a macro package can use the 'so' request ('source') to load further files relative to its own location.