Re: [PATCH] tweak a mom diagnostic

2024-02-16 Thread Peter Schaffter
On Fri, Feb 16, 2024, G. Branden Robinson wrote: > Hi Peter, > > I spotted a mom(7) diagnostic that was not prefix with "[mom]" to > indicate what was speaking. > > Here's my proposed patch. > > diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac > index d3b5002a8..e942df0ed 100644 > ---

[bug #60930] Integrate Peter Schaffter's font installer script into groff

2024-02-16 Thread Dave
Follow-up Comment #15, bug#60930 (group groff): > I can't remember when I wrote the damned thing Its first appearance I can find on the mailing list is 2012: http://lists.gnu.org/r/groff/2012-05/msg1.html > I believe Bertrand, as groff maintainer, has to initiate the > copyright assignment

[bug #60930] Integrate Peter Schaffter's font installer script into groff

2024-02-16 Thread Dave
Follow-up Comment #14, bug#60930 (group groff): [comment #6 comment #6:] > a first cut that simply checks whether bash is available and > bails gracefully if not. With no objection in the past two weeks, I'm calling that a ringing endorsement of this plan! > Four years ago, James K. Lowden

[bug #65322] [troff] certain diversion stunts can crash the formatter

2024-02-16 Thread G. Branden Robinson
Follow-up Comment #1, bug#65322 (group groff): The bug is latent in groff 1.22.4 and 1.23.0. To observe it, apply the patch in bug #65320. $ cat ATTIC/pdffix.diff diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac index 54175434f..fe12d35da 100644 --- a/tmac/pdf.tmac +++ b/tmac/pdf.tmac @@ -253,7

[bug #65322] [troff] certain diversion stunts can crash the formatter

2024-02-16 Thread G. Branden Robinson
URL: Summary: [troff] certain diversion stunts can crash the formatter Group: GNU roff Submitter: gbranden Submitted: Fri 16 Feb 2024 08:57:10 PM UTC Category: Core

[PATCH] tweak a mom diagnostic

2024-02-16 Thread G. Branden Robinson
Hi Peter, I spotted a mom(7) diagnostic that was not prefix with "[mom]" to indicate what was speaking. Here's my proposed patch. diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac index d3b5002a8..e942df0ed 100644 --- a/contrib/mom/om.tmac +++ b/contrib/mom/om.tmac @@ -23617,7 +23617,7 @@

[bug #65320] [pdf] doesn't guard control characters when emitting bookmark diversion

2024-02-16 Thread G. Branden Robinson
Follow-up Comment #3, bug#65320 (group groff): Exciting. ^351da0dcd troff/input.c(James Clark 1991-06-02 04:20:34 -0500 626) assert(level == 0); ___ Reply to this item at:

[bug #65320] [pdf] doesn't guard control characters when emitting bookmark diversion

2024-02-16 Thread G. Branden Robinson
Follow-up Comment #2, bug#65320 (group groff): There will be a delay in pushing this fix. It seems to have exposed a way for the _mom_ macro package (perhaps) to provoke an assertion failure in the formatter, which should certainly be impossible. /usr/bin/mkdir -p `dirname

Re: [idea] troff -Troff

2024-02-16 Thread Alejandro Colomar
Hi Branden, On Fri, Feb 16, 2024 at 10:49:52AM -0600, G. Branden Robinson wrote: > Hi Alex, [...] > Right. I had a similar desire when I first came to groff development. [...] > It's not that it's a bad idea, it's that it's hard. > > Please excuse an excursion into parser theory, presented

Re: [idea] troff -Troff

2024-02-16 Thread G. Branden Robinson
Hi Alex, At 2024-02-16T16:21:45+0100, Alejandro Colomar wrote: > I've been thinking about a suggestion I've done in the past. I wanted > a program that reads man(7) source and produces roff(7) source, so > that it can later be passed to troff(1), thus splitting the groff(1) > pipeline a bit

[bug #65320] [pdf] doesn't guard control characters when emitting bookmark diversion

2024-02-16 Thread Alejandro Colomar
Follow-up Comment #1, bug#65320 (group groff): Tested-by: Alejandro Colomar ``` alx@debian:~/tmp$ groff -man -Tpdf dot.man >dot.pdf alx@debian:~/tmp$ open dot.pdf alx@debian:~/tmp$ groff --version GNU groff version 1.23.0.902-1fce7-dirty Copyright (C) 2023 Free Software Foundation, Inc. This

Re: troff -Tpdf: '.' in SS macro

2024-02-16 Thread Alejandro Colomar
Hi Branden, On Fri, Feb 16, 2024 at 09:15:07AM -0600, G. Branden Robinson wrote: > Hi Alex, > > At 2024-02-16T01:44:36+0100, Alejandro Colomar wrote: > Yes, I can reproduce this with groff 1.23.0 and Git HEAD. > > Try this patch. > > diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac > index

[bug #65320] [pdf] doesn't guard control characters when emitting bookmark diversion

2024-02-16 Thread G. Branden Robinson
URL: Summary: [pdf] doesn't guard control characters when emitting bookmark diversion Group: GNU roff Submitter: gbranden Submitted: Fri 16 Feb 2024 03:49:13 PM UTC Category:

[idea] troff -Troff

2024-02-16 Thread Alejandro Colomar
Hi Branden! I've been thinking about a suggestion I've done in the past. I wanted a program that reads man(7) source and produces roff(7) source, so that it can later be passed to troff(1), thus splitting the groff(1) pipeline a bit more. The idea is similar to how eqn(1) and other pre-troff

Re: troff -Tpdf: '.' in SS macro

2024-02-16 Thread G. Branden Robinson
Hi Alex, At 2024-02-16T01:44:36+0100, Alejandro Colomar wrote: [...] > here's [a warning] that I've only seen in -Tpdf. It might be a bug in > -Tpdf. > troff:man7/path_resolution.7:135: warning: macro 'and' not defined > (possibly missing space after 'an') > make: ***