bug-groff
[Top][All Lists]
Advanced

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

[bug #60504] [PATCH] document .PF macro in pic(1) and add it to -mpic


From: Dave
Subject: [bug #60504] [PATCH] document .PF macro in pic(1) and add it to -mpic
Date: Mon, 3 May 2021 04:05:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <https://savannah.gnu.org/bugs/?60504>

                 Summary: [PATCH] document .PF macro in pic(1) and add it to
-mpic
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Mon 03 May 2021 03:05:53 AM CDT
                Category: Preprocessor pic
                Severity: 3 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

(This bug was unearthed while poking into bug #60479.)

GNU pic recognizes two possible endings of a pic block: .PE or .PF.  This fact
is documented in doc/pic.ms
<http://git.savannah.gnu.org/cgit/groff.git/tree/doc/pic.ms> but not in the
pic man page (src/preproc/pic/pic.1.man
<http://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/pic/pic.1.man>).

The man page and pic.ms both mention that the user can use -mpic to get a
minimal implementation of the .PS and .PE macros.  This small macro file
(tmac/pic.tmac
<http://git.savannah.gnu.org/cgit/groff.git/tree/tmac/pic.tmac>), however,
also does not include a .PF definition.

The attached patch remedies both of these oversights.  It also corrects pic.ms
(to note that pic passes through .PF in addition to .PE, and to remove one
unmatched closing parenthesis) and updates it (to account for the above change
to pic.tmac).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 03 May 2021 03:05:53 AM CDT  Name: pic.patch  Size: 3KiB   By: barx

<http://savannah.gnu.org/bugs/download.php?file_id=51374>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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