[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59971] tbl: does not restore hyphenation after text blocks
From: |
G. Branden Robinson |
Subject: |
[bug #59971] tbl: does not restore hyphenation after text blocks |
Date: |
Fri, 29 Jan 2021 16:25:17 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #59971 (project groff):
Status: None => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #2:
commit cee547e8839a82f8b21b2859a9370fd74f9793f3 (HEAD -> master,
origin/master, origin/HEAD)
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Sat Jan 30 08:13:43 2021 +1100
[tbl]: Save and restore hyphenation parameters.
* src/preproc/tbl/table.cpp (table::init_output): When starting a table,
save the hyphenation parameters (\n[.hy], \n[.hla], \n[.hlm],
\n[.hym], \n[.hys]). Restore them in the table reset macro
(confusingly called "3init"), which is called before performing each
diversion and before exiting a table.
This enables people to, e.g., turn off hyphenation in a table text
block with .nh, just as they can turn off adjustment with .na, without
having to manually reset it. The next text block, and the material
after the table, will not be affected.
Fixes <https://savannah.gnu.org/bugs/?59971>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59971>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/