Dear Luigi! I think that the heading for the `land.clear_hyphenation` and `land.clean` functions has slipped between the function signature and the function description of the `lang.hyphenation` function. I have also attached the patch. --- a/manual/luatex-languages.tex +++ b/manual/luatex-languages.tex @@ -970,15 +970,15 @@ You can hyphenate a string directly with: lang.hyphenation(<language> l, <string> n) \stopfunctioncall +This either returns the current hyphenation exceptions for this language, or adds +new ones. The syntax of the string is explained in~\in {section} +[patternsexceptions]. + \subsection {\type {clear_hyphenation} and \type {clean}} \libindex {clear_hyphenation} \libindex {clean} -This either returns the current hyphenation exceptions for this language, or adds -new ones. The syntax of the string is explained in~\in {section} -[patternsexceptions]. - \startfunctioncall lang.clear_hyphenation(<language> l) \stopfunctioncall @@ -1110,4 +1110,3 @@ initialized due to \prm {savinghyphcodes} being larger than zero. % 12-34-\vrule width 1em height 1.5ex \par % 12-\hbox{34}-56 \par % 12-\vrule width 1em height 1.5ex-56 \par I also believe that the description “You can hyphenate a string directly with:” does not apply to the `hyphenation` function. Wouldn't this description fit better with the `lang.hyphenate` function? But the function `lang.hyphenate` does not work with strings but with node lists. But I’m sure ... Thank you in advance! Josef
On Sat, 26 Jul 2025 at 13:51, Josef Friedrich
Dear Luigi!
I think that the heading for the `land.clear_hyphenation` and `land.clean` functions has slipped between the function signature and the function description of the `lang.hyphenation` function. I have also attached the patch.
Ok, I will check it. -- luigi
Dear Luigi,
may I remind you that you wanted to take a look at the following patch.
Thany you in advance!
Josef
-------- Forwarded Message --------
Subject: Re: [Dev-luatex] lang.hyphenation
Date: Sat, 26 Jul 2025 17:25:15 +0200
From: luigi scarso
On Thu, 28 Aug 2025 at 15:50, Josef Friedrich
Dear Luigi,
may I remind you that you wanted to take a look at the following patch.
Yes, thank you -- I hadn't forgotten, but I kept putting it off.
commit 2ede3311c0e069e3092048e7eb8444d95f87aaee (HEAD -> master,
origin/master, origin/HEAD)
Author: Luigi Scarso
Thany you in advance!
Josef
-------- Forwarded Message -------- Subject: Re: [Dev-luatex] lang.hyphenation Date: Sat, 26 Jul 2025 17:25:15 +0200 From: luigi scarso
To: Josef Friedrich CC: dev-luatex@ntg.nl On Sat, 26 Jul 2025 at 13:51, Josef Friedrich
wrote: Dear Luigi!
I think that the heading for the `land.clear_hyphenation` and `land.clean` functions has slipped between the function signature and the function description of the `lang.hyphenation` function. I have also attached the patch.
Ok, I will check it.
-- luigi
-------- Forwarded Message -------- Subject: lang.hyphenation Date: Sat, 26 Jul 2025 13:50:45 +0200 From: Josef Friedrich
To: dev-luatex@ntg.nl Dear Luigi!
I think that the heading for the `land.clear_hyphenation` and `land.clean` functions has slipped between the function signature and the function description of the `lang.hyphenation` function. I have also attached the patch.
--- a/manual/luatex-languages.tex +++ b/manual/luatex-languages.tex @@ -970,15 +970,15 @@ You can hyphenate a string directly with: lang.hyphenation(<language> l, <string> n) \stopfunctioncall
+This either returns the current hyphenation exceptions for this language, or adds +new ones. The syntax of the string is explained in~\in {section} +[patternsexceptions]. + \subsection {\type {clear_hyphenation} and \type {clean}}
\libindex {clear_hyphenation} \libindex {clean}
-This either returns the current hyphenation exceptions for this language, or adds -new ones. The syntax of the string is explained in~\in {section} -[patternsexceptions]. - \startfunctioncall lang.clear_hyphenation(<language> l) \stopfunctioncall @@ -1110,4 +1110,3 @@ initialized due to \prm {savinghyphcodes} being larger than zero. % 12-34-\vrule width 1em height 1.5ex \par % 12-\hbox{34}-56 \par % 12-\vrule width 1em height 1.5ex-56 \par
I also believe that the description “You can hyphenate a string directly with:” does not apply to the `hyphenation` function. Wouldn't this description fit better with the `lang.hyphenate` function? But the function `lang.hyphenate` does not work with strings but with node lists. But I’m sure ...
Thank you in advance!
Josef _______________________________________________ dev-luatex mailing list -- dev-luatex@ntg.nl To unsubscribe send an email to dev-luatex-leave@ntg.nl
participants (2)
-
Josef Friedrich -
luigi scarso