Hi Branden,

> !  The user's home directory is no longer present in the default macro
>    file search path.  To restore GNU troff's former behavior in this
>    respect, use a command-line option or environment variable.

I can only make a guess why this has been implemented in the good old
days.  I presume that this was used to include personal macro files even
when the current working directory is somewhere else when *roff is
called.

I’m currently setting the following environment variables to keep that
feature without using $HOME:

export GROFF_TMAC_PATH=~/.local/share/groff/tmac
export GROFF_FONT_PATH=~/.local/share/groff/font

How about adding these locations to the default search paths for macros
and fonts?  Either $XDG_DATA_HOME or ~/.local/share if that variable is
undefined seems to be the preferred location nowadays.

-- 
Stefan

Reply via email to