Skip to content

troff:ono.tmac:97: warning: name 'NT' not defined [-w mac] #3

Description

@g-branden-robinson
$ nl ono.tmac | sed -n 92,99p
    92  .\"
    93  .de FONT
    94  .       FO \\$1 \\$2
    95  .       .
    96  .       ig NT
    97  .       NT
    98  ..
    99  .de FO \" Called in compatibility-mode

A harmless way to ensure that a do-nothing string/macro exists for the purpose of terminating an ignored block of roff code is to append nothing to it. (The analogous trick for registers is .nr r1 +0.) If the macro (or string) does already exist, it remains unaltered. This operation does the same thing in all troffs known to me and makes GNU troff's warning category "mac" helpful in finding other problems.

.as NT \" empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions