[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60479] tmac/e.tmac-u is missing .PF macro documented in doc/meref.
From: |
Dave |
Subject: |
[bug #60479] tmac/e.tmac-u is missing .PF macro documented in doc/meref.me |
Date: |
Thu, 29 Apr 2021 15:35:57 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #2, bug #60479 (project groff):
[comment #1 comment #1:]
> pic itself recognizes .PF (as well as .PE, which _is_ documented) as an end
marker for pic blocks:
In further fact:
* GNU's pic has recognized both end macros since earliest days: starting on
line 82 of commit 351da0dc of pic/main.c
<http://git.savannah.gnu.org/cgit/groff.git/tree/pic/main.c?id=351da0dc#n82>,
you can see that pic sets the variable flyback_flag to false for .PE and true
for .PF. Though this file has since been renamed to src/preproc/pic/main.cpp
<http://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/pic/main.cpp>,
this segment of code remains unchanged from that original 1991 commit.
* Heirloom's pic does _not_ recognize .PF as an end marker, suggesting it was
never supported under historical implementations (since Heirloom generally
only adds functionality).
$ heirloom-pic pictest > /dev/null
heirloom-pic: syntax error near pictest:4
context is
This is >>> <<< invalid pic code.
$ sed s/PF/PE/ pictest | heirloom-pic > /dev/null
$
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60479>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/