bug-groff
[Top][All Lists]
Advanced

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

[bug #63827] withdraw contrib/pdfmark


From: Keith Marshall
Subject: [bug #63827] withdraw contrib/pdfmark
Date: Fri, 24 Feb 2023 14:47:11 -0500 (EST)

Follow-up Comment #6, bug #63827 (project groff):

[comment #3 comment #3:]
> ...
> groff's man pages all have that logic at the top and bottom that
> takes the body of the page out of compatibility mode, ...
As already noted in bug #63133 comment #1
<https://savannah.gnu.org/bugs/?63133#comment1>, your code, to do that:

.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
.do nr *groff_pdfroff_1_man_C \n[.cp]
.cp 0

doesn't work on groff-1.22.x and earlier, (because those older groff versions
do not grok the 'cp' register).  I think that we should endeavour to support
such older versions, at least for as long as contemporary software
distributions continue to deliver 1.22.x; thus, unless you can see anything
obviously wrong with it, I plan to replace this, in my pdfroff.1.man, with the
following, (as reflected in the attached patch):

.\" Save and disable compatibility mode (e.g., for Solaris 10/11).
.nr _C \n(.C
.do rnn _C *groff_pdfroff_1_man_C
.cp 0

which does appear to work, on groff-1.22.4 ... at least insofar as it doesn't
raise any warnings, when run with '-ww'.

(file #54393)

    _______________________________________________________

Additional Item Attachment:

File name: manpage-compatibility-save.patch Size:1 KB
   
<https://file.savannah.gnu.org/file/manpage-compatibility-save.patch?file_id=54393>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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