Re: typesetting.{mom,pdf} and the groff build system (was: proposed "headline" items for groff 1.24.0)

Peter Schaffter <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <aXzuA0u1r-QAF6qo@trajan>
On Fri, Jan 30, 2026, Deri via GNU roff typesetting system discussion wrote:
> > If Peter's designed his page layouts flexibly enough that Helvetica
> > would look (about) as attractive as New Century Schoolbook, then I
> > reckon that might work.[1]  We could then rip out the conditional
> > bracketing generation of the "typesetting.pdf" target.
> 
> That's for Peter to decide. I am still seeing build issues. :-(

typesetting.mom uses N and P for variety (demonstrating families),
but where either is used, T is an acceptable substitute.  There's no
reason to use H as the replacement.  With trivial tweaks, both the
original and the Times Roman versions produce identical layouts.

typesetting.mom currently has this:

  .ie '\*[.T]'ps' \
  .FAM      N     \" New Century Schoolbook family
  .el .if '\*[.T]'pdf' \
  .FAM      U-N

Is replacing the whole block (and the corresponding block for P) with

  .ie F NR .FAM N
  .el .FAM T

sufficient, or do '\*[.T]'ps' and '\*[.T]'pdf' still need to be
handled separately?

-- 
Peter Schaffter
https://www.schaffter.ca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.