Re: groff warning: TE macro called with TW register undefined

2023-08-17 Thread Hugh McMaster
Hi Branden, On Thu, 17 Aug 2023 at 10:08, G. Branden Robinson wrote: > > Hi Hugh, > > [...] > So whether the man page is hand-crafted or generated from some other > format at build time is not relevant. In fact, it's _meta_ irrelevant > (if that's even a thing) because the only reason (apart

Re: groff warning: TE macro called with TW register undefined

2023-08-17 Thread Hugh McMaster
On Thu, 17 Aug 2023 at 09:10, Colin Watson wrote: > > Your problem is that you need this line as the very first line of the > page to instruct man(1) to run the tbl preprocessor: > > '\" t > > See https://manpages.debian.org/bookworm/man-db/man.1.en.html#DEFAULTS That does the trick. Thank you!

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread G. Branden Robinson
At 2023-08-17T01:37:52+0100, Colin Watson wrote: > On Wed, Aug 16, 2023 at 07:08:18PM -0500, G. Branden Robinson wrote: > > [6] https://man.cx/grog > > > > I was going to link to > > https://manpages.debian.org/unstable/groff/grof.1.en.html here, but > > the man page is missing!

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread Colin Watson
On Wed, Aug 16, 2023 at 07:08:18PM -0500, G. Branden Robinson wrote: > [6] https://man.cx/grog > > I was going to link to > https://manpages.debian.org/unstable/groff/grof.1.en.html here, but > the man page is missing! groff definitely ships it. Any advice? Aside from the typo in

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread G. Branden Robinson
Hi Hugh, At 2023-08-17T07:54:03+1000, Hugh McMaster wrote: > On Thu, 17 Aug 2023 at 03:39, Colin Watson wrote: > > On Wed, Aug 16, 2023 at 09:29:45PM +1000, Hugh McMaster wrote: > > > This all seems promising. Unfortunately, the man page is > > > hand-crafted, not generated from another source,

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread Colin Watson
On Thu, Aug 17, 2023 at 07:54:03AM +1000, Hugh McMaster wrote: > The man page in question -- ftlint.1 -- is in the freetype2-demos > package [1], or you can get an online copy from [2]. > > [1] /usr/share/man/man1/ftlint.1.gz > [2] >

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread Hugh McMaster
On Thu, 17 Aug 2023 at 03:39, Colin Watson wrote: > > On Wed, Aug 16, 2023 at 09:29:45PM +1000, Hugh McMaster wrote: > > This all seems promising. Unfortunately, the man page is hand-crafted, > > not generated from another source, so groff is never invoked, and no > > other documents are

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread Colin Watson
On Wed, Aug 16, 2023 at 09:29:45PM +1000, Hugh McMaster wrote: > This all seems promising. Unfortunately, the man page is hand-crafted, > not generated from another source, so groff is never invoked, and no > other documents are referenced in the file. groff must be run somewhere, because you're

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread Hugh McMaster
Hi Branden, On Wed, 16 Aug 2023 at 00:30, G. Branden Robinson wrote: > > Hi Hugh, > > I work on groff upstream. Perfect :-) > At 2023-08-15T22:46:30+1000, Hugh McMaster wrote: > > groff-message an.tmac::66: warning: tbl preprocessor > > failed, or it or soelim was not run; table(s) likely not

Re: groff warning: TE macro called with TW register undefined

2023-08-16 Thread Hugh McMaster
Hi Colin, On Tue, 15 Aug 2023 at 23:55, Colin Watson wrote: > > On Tue, Aug 15, 2023 at 10:46:30PM +1000, Hugh McMaster wrote: > > Lintian has recently started emitting this groff warning for ftlint.1 > > in freetype-demos as part of its man pages check: > > > > groff-message an.tmac::66:

Re: groff warning: TE macro called with TW register undefined

2023-08-15 Thread G. Branden Robinson
Hi Hugh, I work on groff upstream. At 2023-08-15T22:46:30+1000, Hugh McMaster wrote: > groff-message an.tmac::66: warning: tbl preprocessor > failed, or it or soelim was not run; table(s) likely not rendered (TE > macro called with TW register undefined) > > It seems TW is not defined in the

Re: groff warning: TE macro called with TW register undefined

2023-08-15 Thread Colin Watson
On Tue, Aug 15, 2023 at 10:46:30PM +1000, Hugh McMaster wrote: > Lintian has recently started emitting this groff warning for ftlint.1 > in freetype-demos as part of its man pages check: > > groff-message an.tmac::66: warning: tbl preprocessor > failed, or it or soelim was not run; table(s)

groff warning: TE macro called with TW register undefined

2023-08-15 Thread Hugh McMaster
Lintian has recently started emitting this groff warning for ftlint.1 in freetype-demos as part of its man pages check: groff-message an.tmac::66: warning: tbl preprocessor failed, or it or soelim was not run; table(s) likely not rendered (TE macro called with TW register undefined) It seems TW