diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2010-06-01 01:39:02 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2010-06-01 01:39:02 +0000 |
commit | 3a5cf8de164c5d0f1fdb01999af33d77f59d526f (patch) | |
tree | 1e1c013154793e9a74852ded1537869e3cfabbb0 /Master/texmf-dist/source/luatex | |
parent | 3205d02db781aec158019161797c2a156ceb0b34 (diff) |
update of hyph-utf8: add the forgotten ru and uk extra patterns, remove OT1 support from Latin, updates in luatex sources and docs, removed collaboration files
git-svn-id: svn://tug.org/texlive/trunk@18661 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, 9 insertions, 13 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 2eac29d4e5c..69e0aaaa698 100644 --- a/Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx +++ b/Master/texmf-dist/source/luatex/hyph-utf8/luatex-hyphen.dtx @@ -106,7 +106,7 @@ This work is under the CC0 license. %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{luatex-hyphen.drv} - [2010/04/28 v1.3beta Hyphenation file for LuaTeX] + [2010/04/28 v1.4 Hyphenation file for LuaTeX] \documentclass{ltxdoc} \usepackage[ascii]{inputenc} \usepackage[T1]{fontenc} @@ -140,7 +140,7 @@ This work is under the CC0 license. % \GetFileInfo{luatex-hyphen.drv} % % \title{The \texttt{hyphen.cfg} file for Lua\TeX } -% \date{2010/04/28 v1.3beta} +% \date{2010/04/28 v1.4} % \author{Khaled Hosny, \'Elie Roux, and Manuel P\'egouri\'e-Gonnard\\ % \texttt{khaledhosny@eglug.org} \\ % \texttt{elie.roux@telecom-bretagne.eu} \\ @@ -205,14 +205,10 @@ This work is under the CC0 license. % 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} are currently unused. +% \texttt{*hyphenmin} values are currently unused. % \item Special case are supported by a field \verb+special+. Currently, % the following kind of values are recognized: % \begin{description} -% \item[\texttt{'null'}] for languages with no hyphenation patterns -% nor exceptions. (Note that this is equivalent to both -% \verb+hyphenation+ and \verb+patterns+ being \verb+nil+ or -% \verb+''+, but produces a more explicit message in the log.) % \item[\texttt{'disabled:<reason>'}] allows to disable specific % languages: when the user tries to load this language, an error % will be issued, with the \verb+<reason>+. @@ -325,10 +321,7 @@ function loadlanguage(lname, id) % % \begin{macrocode} if ldata.special then - if ldata.special == 'null' then - wlog(msg, ' (null)', cname, id) - return - elseif ldata.special:find('^disabled:') then + if ldata.special:find('^disabled:') then err("language disabled by %s: %s (%s)", dbname, cname, ldata.special:gsub('^disabled:', '')) elseif ldata.special == 'language0' then @@ -344,7 +337,7 @@ function loadlanguage(lname, id) % % \begin{macrocode} wlog(msg, '', cname, id) - for _, item in ipairs{'hyphenation', 'patterns'} do + for _, item in ipairs{'patterns', 'hyphenation'} do local file = ldata[item] if file ~= nil and file ~= '' then local file = kpse.find_file(file) or err("file not found: %s", file) @@ -352,6 +345,9 @@ function loadlanguage(lname, id) local data = fh:read('*a') or err("file not readable: %s", f) fh:close() lang[item](lang.new(id), data) + else + if item == 'hyphenation' then item = item..' exceptions' end + wlog("info: no %s for this language", item) end end end @@ -429,7 +425,7 @@ end % % \begin{macrocode} \ProvidesFile{hyphen.cfg} - [2010/04/26 v3.8l-luatex-1.3beta % + [2010/04/26 v3.8l-luatex-1.4 % Language switching mechanism for LuaTeX, adapted from babel v3.8l] % \end{macrocode} % |