Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1897
| Path | csiph.com!tncsrv06.tnetconsulting.net!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Dave <INVALID.NOREPLY@gnu.org> |
| Newsgroups | gnu.groff.bug |
| Subject | [bug #53413] [PATCH] Add hyphenation patterns to use with US and hy=48 |
| Date | Sun, 12 Jul 2020 19:42:23 -0400 (EDT) |
| Lines | 43 |
| Approved | bug-groff@gnu.org |
| Message-ID | <mailman.140.1594597345.2306.bug-groff@gnu.org> (permalink) |
| References | <20180322-004808.sv93188.77416@savannah.gnu.org> <20180322-061831.sv357.16970@savannah.gnu.org> <20180322-105025.sv93188.42107@savannah.gnu.org> <20180322-120804.sv357.5652@savannah.gnu.org> <20180423-120209.sv108747.77512@savannah.gnu.org> <20180424-013707.sv93188.36798@savannah.gnu.org> <20180514-173805.sv93119.74058@savannah.gnu.org> <20180515-074314.sv357.4339@savannah.gnu.org> <20180516-165754.sv93119.60636@savannah.gnu.org> <20180517-065850.sv357.41411@savannah.gnu.org> <20200712-184223.sv93119.67807@savannah.gnu.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain;charset=UTF-8 |
| X-Trace | usenet.stanford.edu 1594597346 8900 209.51.188.17 (12 Jul 2020 23:42:26 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | "G. Branden Robinson" <g.branden.robinson@gmail.com>, Werner LEMBERG <wl@gnu.org>, Dave <saint.snit@gmail.com>, Bjarni Ingi Gislason <bjarniig@rhi.hi.is>, bug-groff@gnu.org |
| Envelope-to | bug-groff@gnu.org |
| X-PHP-Originating-Script | 1001:sendmail.php |
| X-Savane-Server | savannah.gnu.org:443 [2001:470:142::72] |
| X-Savane-Project | groff |
| X-Savane-Tracker | bugs |
| X-Savane-Item-ID | 53413 |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 |
| X-Apparently-From | 2605:a601:ab42:5b00:d79a:70a3:b6a4:34bf (Savane authenticated user barx) |
| In-Reply-To | <20180517-065850.sv357.41411@savannah.gnu.org> |
| X-BeenThere | bug-groff@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-groff> |
| List-Post | <mailto:bug-groff@gnu.org> |
| List-Help | <mailto:bug-groff-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200712-184223.sv93119.67807@savannah.gnu.org> |
| X-Mailman-Original-References | <20180322-004808.sv93188.77416@savannah.gnu.org> <20180322-061831.sv357.16970@savannah.gnu.org> <20180322-105025.sv93188.42107@savannah.gnu.org> <20180322-120804.sv357.5652@savannah.gnu.org> <20180423-120209.sv108747.77512@savannah.gnu.org> <20180424-013707.sv93188.36798@savannah.gnu.org> <20180514-173805.sv93119.74058@savannah.gnu.org> <20180515-074314.sv357.4339@savannah.gnu.org> <20180516-165754.sv93119.60636@savannah.gnu.org> <20180517-065850.sv357.41411@savannah.gnu.org> |
| Xref | csiph.com gnu.groff.bug:1897 |
Show key headers only | View raw
Follow-up Comment #10, bug #53413 (project groff):
[comment #9 comment #9:]
> My suggestion is to make groff look into the meta information
> of the pattern themselves while they are loaded to set those
> parameters. The `.hy' command could then become a user-only
> request restricted by the meta information – for example,
> setting hy=48 would have no effect because the patterns don't
> allow it.
I've opened bug #57556 with this suggestion.
> Right now, these parameters are hardcoded using `.hy', this
> is, they are part of groff's language setup files.
I take it you're referring here to the tmac/{cs|de|fr|ja|sv|zh}.tmac files?
$ shopt -s extglob
$ grep '\. *hy' tmac/@(cs|de|fr|ja|sv|zh).tmac
tmac/cs.tmac:.hy 1
tmac/de.tmac:.hy 1
tmac/fr.tmac:.hy 4
tmac/sv.tmac:.hy 32
$
Curiously, there is no such setup file for English, even though the groff
default (.hy 1) is invalid for the English hyphenation patterns. Until a fix
for bug 57556 offers a more robust solution to this, perhaps there should be a
tmac/en.tmac that is called by default in English environments?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53413>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Back to gnu.groff.bug | Previous | Next | Find similar | Unroll thread
[bug #53413] [PATCH] Add hyphenation patterns to use with US and hy=48 Dave <INVALID.NOREPLY@gnu.org> - 2020-07-12 19:42 -0400
csiph-web