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 <luigi.sca...@gmail.com>
To:     Josef Friedrich <josef@friedrich.rocks>
CC:     dev-luatex@ntg.nl




On Sat, 26 Jul 2025 at 13:51, Josef Friedrich <josef@friedrich.rocks> 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 <josef@friedrich.rocks>
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
diff --git a/manual/luatex-languages.tex b/manual/luatex-languages.tex
index 875094721..92086fad2 100644
--- 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
-
_______________________________________________
dev-luatex mailing list -- dev-luatex@ntg.nl
To unsubscribe send an email to dev-luatex-le...@ntg.nl

Reply via email to