Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1897 > unrolled thread
| Started by | Dave <INVALID.NOREPLY@gnu.org> |
|---|---|
| First post | 2020-07-12 19:42 -0400 |
| Last post | 2020-07-12 19:42 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.groff.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[bug #53413] [PATCH] Add hyphenation patterns to use with US and hy=48 Dave <INVALID.NOREPLY@gnu.org> - 2020-07-12 19:42 -0400
| From | Dave <INVALID.NOREPLY@gnu.org> |
|---|---|
| Date | 2020-07-12 19:42 -0400 |
| Subject | [bug #53413] [PATCH] Add hyphenation patterns to use with US and hy=48 |
| Message-ID | <mailman.140.1594597345.2306.bug-groff@gnu.org> |
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 top | Article view | gnu.groff.bug
csiph-web