URL: <https://savannah.gnu.org/bugs/?68299>
Summary: [tmac]: Add pdf features to the ms macro set
(s.tmac)
Group: GNU roff
Submitter: deri
Submitted: Thu 30 Apr 2026 05:56:35 PM UTC
Category: Macro package ms
Severity: 1 - Wish
Item Group: Feature change
Status: In Progress
Privacy: Public
Assigned to: deri
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 30 Apr 2026 05:56:35 PM UTC By: Deri James <deri>
The initial anouncement on the
[https://lists.gnu.org/archive/html/groff/2026-04/msg00045.html groff list]
seemed favourable. So I have set up this "wish" to document progress.
The changes to s.tmac are intended to be backward compatible with any ms
document designed to work with groff's ms macros, with no changes to the
document required. Documents designed for pdfmark and -mspdf, or use their own
macros which call .pdfbookmark/.pdfhref may require adjustment.
The files initially attached are: s.tmac (minimal changes to version on the
groff list), ms.ms.in (changed ms tutorial - I'd appreciate if Branden (as one
of the co-authors) could confirm it is Ok / improve it), ms.pdf (current
rendering of ms.ms with -rPDFFEAT=1), ms-no-features.pdf (with -rPDFFEAT=0).
I'd also appreciate Branden's guidance:-
On whether PDFFEAT should default to on (if -Tpdf)?
Should we install 'pdfms' as a soft link when we install pdfmom, it makes
running easier:-
pdfms -pet -rPDFFEAT=1 doc/ms.ms
Should we 'make' pdf versions of ms.ms and pic.ms rather than currently
postscript.
Still to do:-
groff_ms(7)
groff.texi
makefile changes
NEWS
Any help with these would be greatly appreciated, more testing of s.tmac as
well.
_______________________________________________________
File Attachments:
Initial versions
Name: s.tmac Size: 48KiB
<https://file.savannah.gnu.org/file/s.tmac?file_id=58530>
Name: ms.pdf Size: 89KiB
<https://file.savannah.gnu.org/file/ms.pdf?file_id=58531>
Name: ms.ms.in Size: 81KiB
<https://file.savannah.gnu.org/file/ms.ms.in?file_id=58532>
Name: ms-no-features.pdf Size: 83KiB
<https://file.savannah.gnu.org/file/ms-no-features.pdf?file_id=58533>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68299>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
