From 16b92a961842471d20630e8073a88339eaffa123 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 May 2013 20:46:33 +0000 Subject: hyph-utf8 (27may13) git-svn-id: svn://tug.org/texlive/trunk@30725 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/luatex/hyph-utf8/etex.src | 29 +++++++++++++------------ 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/tex/luatex/hyph-utf8/etex.src') 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 -- cgit v1.2.3