diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-06-03 13:40:59 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-06-03 13:40:59 +0000 |
commit | 1c77159f37f91778c98204a071638c4bf57eeb27 (patch) | |
tree | 2a2970991fadf520e2e1febe5243281681990d1c /Master/texmf-dist/source/luatex | |
parent | 9dc40dfc907f4e62d5267837465b2403dcdd6d3b (diff) |
Minor luatex-hyphen doc update.
git-svn-id: svn://tug.org/texlive/trunk@18710 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex')
-rw-r--r-- | Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx b/Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx index 69e0aaaa698..bca95daf0c7 100644 --- a/Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx +++ b/Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx @@ -183,30 +183,25 @@ This work is under the CC0 license. % names as found in \texttt{language.dat}, and the values are Lua tables % consisting of: % \begin{enumerate} -% \item A fixed part with two fields: +% \item A fixed part with one mandatory field: % \begin{quote} -% \verb+loader = <string> name of the TeX loader+\\ % \verb+synonyms = { <string> alternative name, ...}+ % \end{quote} -% Those field's values must be the same as in \texttt{language.dat}. The -% \verb+loader+ field is currently unused. +% This field's value must be the same as in \texttt{language.dat}. % \item A variable part consisting of either: % \begin{itemize} % \item For most languages: % \begin{quote} % \verb+patterns = <string> filename for patterns+\\ % \verb+hyphenation = <string> filename for exceptions+\\ -% \verb+lefthyphenmin = <number> value for \letfhyphenmin+\\ -% \verb+righthyphenmin = <number> value for \letfhyphenmin+ % \end{quote} % The files given by \verb+patterns+ (resp. \verb+hypenation+) must be % plain text files encoded in utf8, with only patterns (resp. % exceptions) and not even comments: their content will be used % directly without being parsed by \TeX. If one of these keys is % missing or is the empty string, it is ignored and no patterns (resp. -% exceptions) are loaded for this language. The values of -% \texttt{*hyphenmin} values are currently unused. -% \item Special case are supported by a field \verb+special+. Currently, +% exceptions) are loaded for this language. +% \item Special cases are supported by a field \verb+special+. Currently, % the following kind of values are recognized: % \begin{description} % \item[\texttt{'disabled:<reason>'}] allows to disable specific @@ -219,6 +214,15 @@ This work is under the CC0 license. % Special languages may have \texttt{*hyphenmin} information when it % makes sense (mostly \verb+\language0+). % \end{itemize} +% \item Optional fields may be added. For example: +% \begin{quote} +% \verb+loader = <string> name of the TeX loader+\\ +% \verb+lefthyphenmin = <number> value for \letfhyphenmin+\\ +% \verb+righthyphenmin = <number> value for \letfhyphenmin+ +% \end{quote} +% Those fields are present in \texttt{language.dat.lua} as generated bu +% \texttt{tlmgr}, for example, but they \emph{are not} used by the present +% code in any way. % \end{enumerate} % Languages that are mentioned in \texttt{language.dat} but not in % \texttt{language.dat.lua} will be loaded in the format. So, if the |