Update of bug #68299 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.25.0
_______________________________________________________
Follow-up Comment #12:
This ticket resolution earns the next _groff_ release increment to "25" in its
version number all by itself.
commit a0a7a4c458442cf96d35fa9949cd6f342f45c8e1
Author: Deri James <[email protected]>
Date: Mon May 11 16:03:20 2026 +0100
[ms]: add PDF support.
I took the liberty of recasting Deri's ChangeLog entry to add a bug-closer and
stuff.
2026-05-11 Deri James <[email protected]>
[ms]: Add PDF support.
* tmac/s.tmac: Depend on register `PDFFEAT` set to 1 to add
features. Only allowed with `-T pdf`. Alias new `XR`/`XM`
macros to LP (to prevent use before ms initialises).
(XR/@XR): New macro implements internal hyperlinks.
(XM/@XM): New macro 'marks' destination for internal links.
(RP): Name 'title' page, used to relocate TOC in .TC.
(cov*ab-init): Turn on XR/XM.
(cov*print): Extract title and author for PDF metadata.
(@SH, @NH): New second parameter names bookmark; XR can link to
it. Set up box diversion to collect bookmark text.
(@NH-end): Diversion trap springs when NH/SH has collected one
line of _output_.
(XA): Start hotlink text (in TOC).
(XE): Stop marking hotlink.
(TC): If .RP seen, move TOC to page after 'title'.
* doc/ms.ms.in: Call RP so that the TOC moves after the cover.
Name sections throughout to support hyperlinking. Change man
page references to hyperlinks.
(Abstract): Mention PDF features.
(Introduction): Enable PDF features with PDFFEAT register.
(Document Structure): Change references to hotlinks.
(Tables of Contents): Explain how to move TOC.
(Headings) <NH, SH>: Document new 'name' parameter.
(Using PDF features with ms): New.
* tmac/groff_ms.7.man:
* doc/groff.texi.in: Sync with the foregoing.
* doc/Groff-PDF-Features.ms: New file documents PDF features in
pdf.tmac and macro packages mom, "man", mdoc, ms (and their
absence in "me" and mm).
* doc/doc.am: Build the new file above and switch ms.ms and
pic.ms to generate PDFs with `PDFFEAT` enabled.
* NEWS: Announce changes to groff ms(7) and acknowledge
antecedent work in spdf.tmac (now externally maintained).
Fixes <https://savannah.gnu.org/bugs/?68299>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68299>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
