Re: [mom] Extraneous empty line that starts a new page

2023-04-25 Thread Frederic Chartier
On 2023-04-24 21:59 -0400, Peter Schaffter wrote: > On Mon, Apr 24, 2023, Frederic Chartier wrote: > > I'm running groff 1.22.3, by the way. It's been patched but not > > since 2016 so if it's bugs I'm seeing, they're not new. > > Can you check whether you're using the latest version of mom >

Re: [mom] Extraneous empty line that starts a new page

2023-04-25 Thread Peter Schaffter
Frederic -- At 2023-04-24T01:37:00+0200, Frederic Chartier wrote: > I've stumbled on another problem with -mom. There is a table at > the bottom of a page. After the table, something inserts what > behaves like a line feed and Groff warns that > > [mom]: '2023-04-24.mom', macro TE, line 61:

Re: > Re: [mom] Extraneous empty line that starts a new page

2023-04-25 Thread G. Branden Robinson
At 2023-04-25T10:05:14-0400, Douglas McIlroy wrote: > > $ ./build/test-groff -Tutf8 > .> nr a 3c > > .nr b 3cm > > .tm a=\na, b=\nb > > a=283, b=283 > > > This suggests that one could get away with "3in" as well. Yeesh. > > Not sure how I feel about that. I think I'd prefer to have Yet > >

> Re: [mom] Extraneous empty line that starts a new page

2023-04-25 Thread Douglas McIlroy
> $ ./build/test-groff -Tutf8 .> nr a 3c > .nr b 3cm > .tm a=\na, b=\nb > a=283, b=283 > This suggests that one could get away with "3in" as well. Yeesh. Not > sure how I feel about that. I think I'd prefer to have Yet Another > Warning Diagnostic for non-pristine input syntax. Beware of the

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Peter Schaffter
Hi, Branden. On Mon, Apr 24, 2023, G. Branden Robinson wrote: > > Regardless, when I process the document with groff 1.23.0.rc1.3711-25fb > > and mom-2.5_c, passing pdfmom the -b flag (but not the -w flag), I > > receive a string of errors of the form > > > > troff: backtrace:

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Peter Schaffter
Frederick -- On Mon, Apr 24, 2023, Frederic Chartier wrote: > I'm running groff 1.22.3, by the way. It's been patched but not > since 2016 so if it's bugs I'm seeing, they're not new. Can you check whether you're using the latest version of mom (2.5_c)? If not, you can get it at

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread G. Branden Robinson
[self-clarification] At 2023-04-24T18:13:09-0500, G. Branden Robinson wrote: > Space management around tables is the responsibility of each macro > package. The job of tbl(1) itself is to render the table. There was > a bug in the past several versions of groff in this area, but it > involved

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread G. Branden Robinson
Hi Frederic, At 2023-04-24T21:56:58+0200, Frederic Chartier wrote: > Here's another tbl-related problem I've encountered, in case the two > are connected. Groff acts as if every table were preceded by an empty > paragraph. This is why there is so much vertical space between the > headings and the

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread G. Branden Robinson
Hi Peter, Thanks for riding to my support-department rescue. :) At 2023-04-24T14:55:00-0400, Peter Schaffter wrote: > > Something's gone badly wrong, and I'm not sure what. > > Indeed. > > > Possibly the document's state is invalid (mom(7) is not > > implemented sloppily). > > The document

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Frederic Chartier
On 2023-04-24 14:55 -0400, Peter Schaffter wrote: > I've never seen this behaviour before. It's been a while since I > needed tbl(1) in a mom document so I'm thinking it crept in during > one of the past year's bazillion commits. Most likely something to > do with tbl(1) or with gropdf(1). At

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Peter Schaffter
Sorry for top-quoting Branden's reply _in toto_ but it will make replying easier. On Sun, Apr 23, 2023, G. Branden Robinson wrote: > Hi Frederic, > > At 2023-04-24T01:37:00+0200, Frederic Chartier wrote: > > I've stumbled on another problem with -mom. There is a table at > > the bottom of a

Re: [mom] Extraneous empty line that starts a new page

2023-04-23 Thread G. Branden Robinson
Hi Frederic, At 2023-04-24T01:37:00+0200, Frederic Chartier wrote: > I've stumbled on another problem with -mom. There is a table at > the bottom of a page. After the table, something inserts what > behaves like a line feed and Groff warns that > > [mom]: '2023-04-24.mom', macro TE, line 61:

[mom] Extraneous empty line that starts a new page

2023-04-23 Thread Frederic Chartier
I've stumbled on another problem with -mom. There is a table at the bottom of a page. After the table, something inserts what behaves like a line feed and Groff warns that [mom]: '2023-04-24.mom', macro TE, line 61: Insufficient room for label, caption, and/or source after