On Sat, Oct 26, 2024 at 9:01 PM Bjarni Ingi Gislason <bjarn...@simnet.is> wrote: > In the file "tmac/pdfpic.tmac" the request '.pso' is used with a variable. > As this request is only valid in an unsafe mode (groff option '-U') it only > may take a constant text.
As http://savannah.gnu.org/bugs/?66382 points out, this is not true of stock groff. > .\" execute with the option -U (unsafe) > .ds commmand-example date > \*[command-example] > .pso \*[command-example] > .\".pso date > .ie t troff-mode:after a request .pso > .el nroff-mode: after a request .pso > > Result: > > troff:pso.groff:3: warning: macro 'command-example' not defined That's because "command-example" is not defined in this file. The .ds line defines a similar string name, but with three m's in "command". Also observe that the warning is reported on line 3, which is not the .pso line, but the line above it, which also uses the undefined string using the two-m spelling of "command".