[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64779] [PATCH] [refer.tmac] per-style changes to reference formatt
From: |
G. Branden Robinson |
Subject: |
[bug #64779] [PATCH] [refer.tmac] per-style changes to reference formatting are ignored for certain fields |
Date: |
Mon, 16 Oct 2023 05:05:15 -0400 (EDT) |
Update of bug #64779 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #1:
commit 28c2632996465b7e6cf8d526175ac8095698e387
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Mon Oct 16 03:42:39 2023 -0500
tmac/refer.tmac: Fix Savannah #64779.
* tmac/refer.tmac (ref*add-J, ref*add-D, ref*add-E, ref*add-G)
(ref*add-B, ref*add-O, ref*add-A, ref*add-V, ref*add-N, ref*add-dflt):
Fix thinko in `ie` predicates. The true branches of the conditionals
were never taken because the condition was consistently misspelled,
testing for the existence of, for example, a register named
"ef*spec!J:\\$1" (where `\\$1` _would_ be interpolated, but not
improve chances of success). Fix by using the `d` conditional
operator as obviously intended. This enables some refer(1) formatting
customization that was unfortunately inoperative. Problem appears to
date back to commit 3bab8e6fe5, 2011-01-28.
Fixes <https://savannah.gnu.org/bugs/?64779>. Thanks to an anonymous
bug submitter for the report and the patch.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64779>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/