[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62238] Add a PAPER_FLAG for groff when creating PostScript or PDF
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #62238] Add a PAPER_FLAG for groff when creating PostScript or PDF files |
Date: |
Mon, 11 Apr 2022 14:41:51 -0400 (EDT) |
Follow-up Comment #2, bug #62238 (project groff):
[comment #1 comment #1:]
>
[...]
> > In the file "contrib/pdfmark/pdfmark.am" there is a flag
> > "PDFMARK_PFLAG"
>
> ...not in groff Git HEAD or the groff 1.22.4 tag, there isn't.
>
> Is this one of your customizations?
>
No.
This was removed in my branch and master's after my submission.
[...]
> Yes, and since `PAGE` is a build-time macro defining the default paper size
for the formatter, it's superfluous to pass a `-dpaper` option to the
formatter to assign the same value.
>
The "PAGE" configuration variable does not change the default page
size (page_length) of the _formatter_, just that of the printers as
defined in the DESC files for the fonts.
The value of "11" is hard-coded in the file "src/roff/troff/div.cpp"
(units_per_inch*11).
The pagesize macro is called in the troffrc file but the "paper" is
not set, and so the default page size of the _formatter_ is still the
hard-coded value (and the line length ".l").
The question is: should the paper size and the page size (register
".p") be synchronised?
By adding to a version of "tmac/troffrc" (tmac/troffrc.in) something
like:
.do if !d paper .ds paper @PAGE@
before the line ".do mso papersize.tmac"
and to the "tmac.am" a line similar to "tmac/www.tmac"?
[...]
> What is deficient in this presentation?
See above.
[...]
> What is it you're asking for?
See above.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62238>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/