bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66322] [mom] Git HEAD doesn't have any bottom margins(?) and doesn


From: Peter Schaffter
Subject: [bug #66322] [mom] Git HEAD doesn't have any bottom margins(?) and doesn't output page numbers anymore
Date: Sun, 13 Oct 2024 22:35:18 -0400 (EDT)

Follow-up Comment #6, bug #66322 (group groff):

Assuming 'good-gaming' and 'good' are identical (I don't have the source for
'good-gaming'), and that the recently committed om.tmac on the master branch
is used
   pdfmon -Tps -Kutf8 -P-pa4 good.mom > good.ps
produces clean output.  See attached 'good-clean.ps'.

Mom's default papersize is US letter, but this file calls for A4.  When -Tps
is given to pdfmom, the papersize must be given on the command line as well. 
There's an entry in the docs about it.  I'm wondering if the OP remembered
-P-pa4.  Neglecting it results in wrong bottom margins and missing page
numbers.  (Without -Tps, pdfmom does not need -P-p<size>.)

The wrong colours problem stems from the use of .gcolor in the DRV and other
graphical object macros when they set the rule colour.  .COLOR, rather than
.gcolor, needs to be used so .XCOLOR aliases can be passed to graphical object
macros.

While I'm at it, I should mention that I uncovered some wonkiness in the left
margin placement of graphical objects.  You don't notice it when the rule
weight is a point or less, but when the rule becomes heavier, say 4 points,
you can see that objects are slightly to the right of the desired location.

Both these issues will be dealt with in my next commit.

(file #56519)

    _______________________________________________________

Additional Item Attachment:

File name: good-clean.ps                  Size: 45KiB
    <https://file.savannah.gnu.org/file/good-clean.ps?file_id=56519>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-5884e4a9230d15304b87cea2cb354b47aaae7934.tar.gz


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]