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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to