Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1897

[bug #53413] [PATCH] Add hyphenation patterns to use with US and hy=48

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 2020-07-12 19:42 -0400
Message-ID <mailman.140.1594597345.2306.bug-groff@gnu.org> (permalink)
References (6 earlier) <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>

Show all headers | 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


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