Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-06 Thread Damian McGuckin
On Thu, 6 Apr 2023, G. Branden Robinson wrote: At 2023-04-06T10:39:13+, Lennart Jablonka wrote: Then comes the noteworthy bit: Concatenate the troff output of all those separate documents and feed it all to the postprocessor at once, as in troff -ms mainmatter.ms >mainmatter.trout

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-06 Thread G. Branden Robinson
At 2023-04-06T10:39:13+, Lennart Jablonka wrote: > Then comes the noteworthy bit: Concatenate the troff output of all > those separate documents and feed it all to the postprocessor at once, > as in > > troff -ms mainmatter.ms >mainmatter.trout 2>toc > { troff frontmatter && troff

sensitivity vs. specificity in software testing (was: [PATCH] fix for groff Git regression (Savannah #64005))

2023-04-06 Thread G. Branden Robinson
Hi Ralph, At 2023-04-06T12:59:57+0100, Ralph Corderoy wrote: [snip] > Would it be worth testing all of $output is exactly as expected? This > would widen what's being tested which may catch a future regression > outside the scope of this test, e.g. with .DS/.DE. The downside is a > deliberate ch

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-06 Thread G. Branden Robinson
[self-reply to correct an error] I had a missing word thinko here that changed the meaning of a sentence. At 2023-04-06T20:24:13-0500, G. Branden Robinson wrote: > Further, on a cover page, should initial spacing be measured from the > first vee on the page (as it would be in a "raw" roff documen

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-06 Thread G. Branden Robinson
Hi Michał, At 2023-04-06T19:41:44+, Michał Kruszewski wrote: > So it is now explained why .bp is broken. I am attaching yet another > reproducer. This time there is a problem with the .sp before > Abstract. In 1.23.0.rc3 this .sp is simply ignored, while in 1.22.4 > it is correctly applied.

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-06 Thread Michał Kruszewski
So it is now explained why .bp is broken. I am attaching yet another reproducer. This time there is a problem with the .sp before Abstract. In 1.23.0.rc3 this .sp is simply ignored, while in 1.22.4 it is correctly applied. Best regards, Michał Kruszewski Sent with Proton Mail secure email. --

[PATCH] fix for groff Git regression (Savannah #64005)

2023-04-06 Thread Ralph Corderoy
Hi Branden, > Feedback welcome. ... > +input='.pl 18v > +.LP > +The first page is \n%. > +.DS > +display > +.DE > +.bp > +.LP > +The second page is \n%. > +.pl \n(nlu' > + > +output=$(printf '%s\n' "$input" | "$groff" -Tascii -P-cbou -ms) > +echo "$output" > +echo "$output" | grep -Fqx 'The second

Re: memorandum macros (mm) in 1976/77 (was: an opinionated history of *roff macro packages)

2023-04-06 Thread Damian McGuckin
Branden, On Thu, 6 Apr 2023, G. Branden Robinson wrote: It might be to Micha?'s original inquiry, though. Why would someone choose mm(7) when ms(7) is simpler? At the time, in the late 1970s, the School of Civil Engineering at UNSW choose MM over MS because (in a few words) at the time, i

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-06 Thread Lennart Jablonka
Quoth Michał Kruszewski: I would like to have simple structure: custom cover page -> ToC -> custom page -> text. The easiest way to do all these things is to split the document in multiple ones. Have one troff document for the cover page. There is little reason for it to use ms. Have one d

Re: An ignoramus question about textmap

2023-04-06 Thread G. Branden Robinson
At 2023-04-06T10:03:17+0200, Oliver Corff wrote: > please forgive me if I am asking a blatantly uninformed question. No danger of that, I think--running afmtodit(1) is something not a lot of people do. :) > Currently I am trying to add a font containing Greek and Cyrillic > characters to groff b

memorandum macros (mm) in 1976/77 (was: an opinionated history of *roff macro packages)

2023-04-06 Thread G. Branden Robinson
At 2023-04-06T17:42:14+1000, Damian McGuckin wrote: > Doug is a first-hand ms(7) user and has been since it started in 1975 > I believe so he might be able to fill in some of the blanks. > > I think the original reasons for having both packages far predates the > 1980 time slot about which you spe

An ignoramus question about textmap

2023-04-06 Thread Oliver Corff
Dear All, please forgive me if I am asking a blatantly uninformed question. Currently I am trying to add a font containing Greek and Cyrillic characters to groff by using Peter Schaffter's install-font.sh script, following the steps T. Kurt Bond's summary.[1] Starting with the font in my workin

Re: an opinionated history of *roff macro packages (was: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4)

2023-04-06 Thread Damian McGuckin
Branden, On Thu, 6 Apr 2023, G. Branden Robinson wrote: At 2023-04-05T18:13:16+, Micha? Kruszewski wrote: I have once evaluated ms, mm and mom. I have come from the Latex world after being sick of its bloat. I was looking for something simple. I know some differences between ms, mm an