At 2025-02-04T22:15:47+0100, Tadziu Hoffmann wrote:
> > In other words, hyphenation language setting is not local
> > to the environment... 
> 
> But French would allow hyphenation of "commonplaces".

Yes it would!

Uh-oh!  My puzzler was somewhat defective.  The French hyphenation
patterns never got loaded because the localization file never got
sources.  (I see that onf has since made a similar observation.)

Here is a better demonstrator.  Or pair thereof.

$ cat EXPERIMENTS/multilingual-trivia-challenge.groff
.sp
.ce 1
A Study in Redheads
.sp
.ev epigram
.mso fr.tmac
.ad r
Une chose acheva de confirmer Martin dans ses d\['e]testables principes,
de faire h\['e]siter plus que jamais Candide et d'embarrasser Pangloss.
.br
\[em] Voltaire
.br
.ev
.sp
My life is spent in one tedious effort to escape from the
\f[I]principes\f[] of existence.
These little problems help me to do so.
$ diff -u EXPERIMENTS/multilingual-trivia-challenge.groff 
EXPERIMENTS/multilingual-trivia-challenge2.groff 
--- EXPERIMENTS/multilingual-trivia-challenge.groff     2025-02-05 
00:35:58.361937725 -0600
+++ EXPERIMENTS/multilingual-trivia-challenge2.groff    2025-02-05 
00:36:02.465925986 -0600
@@ -3,12 +3,12 @@
 A Study in Redheads
 .sp
 .ev epigram
-.mso fr.tmac
 .ad r
-Une chose acheva de confirmer Martin dans ses d\['e]testables principes,
-de faire h\['e]siter plus que jamais Candide et d'embarrasser Pangloss.
+Populus me sibilat, at mihi plaudo Ipse domi
 .br
-\[em] Voltaire
+simul ac nummos contemplar in arca.
+.br
+\[em] Horace
 .br
 .ev
 .sp

And the respective outputs:

---snip--
$ ~/groff-1.23.0/bin/nroff EXPERIMENTS/multilingual-trivia-challenge.groff|cat 
-s

                       A Study in Redheads

  Une chose acheva de confirmer Martin dans ses détestables prin‐
 cipes, de faire hésiter plus que jamais Candide et d’embarrasser
                                                        Pangloss.
                                                       — Voltaire

My  life  is spent in one tedious effort to escape from the prin‐
cipes of existence.  These little problems help me to do so.

$ ~/groff-1.23.0/bin/nroff EXPERIMENTS/multilingual-trivia-challenge2.groff|cat 
-s

                       A Study in Redheads

                     Populus me sibilat, at mihi plaudo Ipse domi
                              simul ac nummos contemplar in arca.
                                                         — Horace

My  life  is  spent  in  one  tedious  effort  to escape from the
principes of existence.  These little problems help me to do so.

---end snip---

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to