Warn on semantic newlines

2022-06-10 Thread Alejandro Colomar
Hi, Ingo and Branden! As far as I know, there's currently no tool that warns on "foo. bar" in filled test. Not `mandoc -Tlint`, and not `groff -ww`, and not `groff -rCHECKSTYLE=999`. I know that CHECKSTYLE is not designed in a way that could catch this easily, but maybe -ww or -Tlint could.

Re: Warn on semantic newlines

2022-06-10 Thread Ralph Corderoy
Hi Alejandro, > The tool could have a secondary warning, not so important, > for "foo, bar". What warning do you think this needs? -- Cheers, Ralph.

Re: Warn on semantic newlines

2022-06-10 Thread G. Branden Robinson
Hi Alex! At 2022-06-10T11:52:30+0200, Alejandro Colomar wrote: > As far as I know, there's currently no tool that warns on "foo. bar" > in filled test. Not `mandoc -Tlint`, and not `groff -ww`, and not > `groff -rCHECKSTYLE=999`. I know that CHECKSTYLE is not designed in a > way that could catch

Re: groff man(7) `B` macro behavior with `\c`, and input traps

2022-06-10 Thread G. Branden Robinson
At 2022-06-06T21:14:01+1000, John Gardner wrote: > I haven't read the entirety of this thread, but why hasn't the name > *"command suppressor"* or *"control suppressor"* been considered? > AFAIK, \& has no other uses outside of an input line (diversions > notwithstanding), so naming it *"input brea

Re: groff man(7) `B` macro behavior with `\c`, and input traps

2022-06-10 Thread Ralph Corderoy
Hi Branden, > 4. Marking empty tbl(1) entries. > > There are other applications, but those are the ones I can think of > immediately. Specifying the point of alignment for tbl(1)'s numeric columns. $ tbl | nroff | grep . .TS n. \(Po \(Po\& 1 23 456 7890 .T

Re: groff man(7) `B` macro behavior with `\c`, and input traps

2022-06-10 Thread G. Branden Robinson
Hi Ingo! At 2022-06-06T09:18:01+0200, Ingo Schwarze wrote: > So since .B uses .itc, and that appears to match Heirloom behaviour > according to your research, it might be unwise to change that now. I've changed it anyway. I now regard Heirloom's man(7) as buggy in this respect. If I run Heirloo

Re: Warn on semantic newlines

2022-06-10 Thread Alejandro Colomar
On 6/10/22 14:16, G. Branden Robinson wrote: For groff, at least, the fundamental change is straightforward. I can made the troff(1) command do it with a 1-line patch. diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp index d6a9e982d..d3f80a205 100644 --- a/src/roff/troff/env.cpp +++

Re: install-font script (was: groff 1.23.0.rc2 readiness)

2022-06-10 Thread Deri
On Monday, 6 June 2022 19:08:23 BST Deri wrote: > As I suggested it would be helpful if you are able to run gs -h on a windows > box under cygwin and natively, the output would help us. I have now managed to run gs -h under a VM of windows 10 with latest ghostscript, and you are correct that it