diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-27 20:46:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-27 20:46:33 +0000 |
commit | 16b92a961842471d20630e8073a88339eaffa123 (patch) | |
tree | 0531840fc16437adc6da811fdb7d8ebe550b11bc /Master/texmf-dist/tex/luatex/hyph-utf8/etex.src | |
parent | 81c16301d465b13d51307af7735318440b8b2014 (diff) |
hyph-utf8 (27may13)
git-svn-id: svn://tug.org/texlive/trunk@30725 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/hyph-utf8/etex.src')
-rw-r--r-- | Master/texmf-dist/tex/luatex/hyph-utf8/etex.src | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/luatex/hyph-utf8/etex.src b/Master/texmf-dist/tex/luatex/hyph-utf8/etex.src index 09302cfcc04..3f9d18c8b8c 100644 --- a/Master/texmf-dist/tex/luatex/hyph-utf8/etex.src +++ b/Master/texmf-dist/tex/luatex/hyph-utf8/etex.src @@ -1,5 +1,5 @@ -%% e-TeX V2.1;0-luatex2 -%% Revision-date: 16-MAY-2013 18:33:45 +%% e-TeX V2.1;0-luatex +%% Revision-date: 26-APR-2010 11:05:45 %% Revision-history: (at-end) % The version number in the first line is compared with the corresponding @@ -281,7 +281,9 @@ lu@texhyphen@loaded@\the\language\endcsname{}% \directlua{ if not status.ini_version then - require("luatex-hyphen") + if not luatexhyphen then + luatexhyphen = require("luatex-hyphen") + end luatexhyphen.loadlanguage("\luatexluaescapestring{#1}", \the\language) end}% @@ -307,7 +309,9 @@ \ifdefined\directlua % V2.1;0-luatex \csname fi\endcsname \csname if\directlua{% do we want to skip this language now? - require("luatex-hyphen") + if not luatexhyphen then + luatexhyphen = require("luatex-hyphen") + end if (luatexhyphen.lookupname("\luatexluaescapestring{#1}") == nil) or (\number\csname lang@#1\endcsname == 0) then tex.sprint("false") % no, load it (execute 'else' part) @@ -800,16 +804,13 @@ %% Revision-history: -16-MAY-2013: 2.1;0-luatex2 Minor changes for LuaTeX, adapting to new - luatex-hyphen package. - -03-MAY-2010: 2.1;0-luatex With LuaTeX, don't embed hyphenation patterns and - exceptions in the format, but on-demand at runtime, for faster - format loading. Use the Lua interface for loading hyphenation - rules from plain text files according to the new configuration - file language.lua.dat. Make use of a supporting lua file, - luatex-hyphen.lua. See also luatex-hyphen.pdf. - (Manuel Pegourie-Gonnard, Elie Roux and Khaled Hosny) +3-MAY-2010: 2.1;0-luatex With LuaTeX, don't embed hyphenation patterns and + exceptions in the format, but on-demand at runtime, for faster + format loading. Use the Lua interface for loading hyphenation + rules from plain text files according to the new configuration + file language.lua.dat. Make use of a supporting lua file, + luatex-hyphen.lua. See also luatex-hyphen.pdf. + (Manuel Pegourie-Gonnard, Elie Roux and Khaled Hosny) 01-FEB-1999: 2.1;0 Allow file to be used with e-TeX versions 2.0 and 2.1 |