[bug #68354] doc/Groff-PDF-Features.ms: warnings from 'troff' about scaling unit 'p' and udefined macros

Bjarni Ingi Gislason <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?68354>

                 Summary: doc/Groff-PDF-Features.ms: warnings from 'troff'
about scaling unit 'p' and udefined macros
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Sun 17 May 2026 02:42:51 PM UTC
                Category: General
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 17 May 2026 02:42:51 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: doc/Groff-PDF-Features.ms: warnings from 'troff' about scaling
unit 'p' and udefined macros

.\" Run: pdfmom --roff -ms -msboxes -dpapersz=a4 -tU -P-pa4
Groff-PDF-Features.ms
and add options "-ww -z".

All warnings are in the attachmnet.

cd ~/git/groff/build

./pdfmom --roff -ms -msboxes -dpapersz=a4 -tU -P-pa4  -ww -z
../doc/Groff-PDF-Features.ms

troff:../doc/Groff-PDF-Features.ms:83: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
[...]
troff:../doc/Groff-PDF-Features.ms:281: warning: macro 'XR' not defined
[...]
troff:../doc/Groff-PDF-Features.ms:367: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
.ds pdf:look(hdexample) ms Heading Example
troff:../doc/Groff-PDF-Features.ms:412: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
[...]
troff:../doc/Groff-PDF-Features.ms:412: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
.ds pdf:look(XN) Using .XN
troff:../doc/Groff-PDF-Features.ms:421: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
[...]
troff:../doc/Groff-PDF-Features.ms:518: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
.ds pdf:look(pdfhrefM) 
troff:../doc/Groff-PDF-Features.ms:524: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
[...]
troff:../doc/Groff-PDF-Features.ms:659: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
troff:../doc/Groff-PDF-Features.ms:668: warning: macro 'XM' not defined
troff:../doc/Groff-PDF-Features.ms:710: warning: 'p' scaling unit invalid in
context; convert to 'z' or 'u'
[...]









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68354>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagnT8QAKCRCqLAuaBUf3
TrCyAP9I7M3PbEnQno9Jru04IKBqDw3FEvYzty6BjlKkbFrBXgEAi6co2+mRSx+v
xBUZwgbQHKoRbaObdaEjeCCz/7y0fA0=
=I+2y
-----END PGP SIGNATURE-----
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.