Next: Font Directories, Previous: Environment, Up: Invoking groff [Contents][Index]
A macro file must have a name in the form name.tmac
or
tmac.name
and be placed in a tmac directory to be
found by the -m mac command-line option.9
Such naming and placement makes a macro file into a macro
package; when requested, it is sought in several directories.
Together, these locations constitute the tmac path. Each
directory is searched in the following order until the desired package
is found or the list is exhausted.
GROFF_TMAC_PATH
environment variable.
HOME
environment variable.
/usr/local/lib/groff/site-tmac /usr/local/share/groff/site-tmac /usr/local/share/groff/1.23.0/tmac
The foregoing assumes that the version of groff
is 1.23.0, and
that the installation prefix was /usr/local. These locations can
be customized as part of the build-time configuration process.