[latex3-commits] [latex2e-public] r1401 - remove luaotfload version hack

noreply at latex-project.org noreply at latex-project.org
Tue Mar 7 23:45:22 CET 2017


Author: carlisle
Date: 2017-03-07 23:45:21 +0100 (Tue, 07 Mar 2017)
New Revision: 1401

Modified:
   trunk/base/ltluatex.dtx
Log:
remove luaotfload version hack

Modified: trunk/base/ltluatex.dtx
===================================================================
--- trunk/base/ltluatex.dtx	2017-03-02 20:48:06 UTC (rev 1400)
+++ trunk/base/ltluatex.dtx	2017-03-07 22:45:21 UTC (rev 1401)
@@ -24,7 +24,7 @@
 \ProvidesFile{ltluatex.dtx}
 %</driver>
 %<*tex>
-[2017/02/18 v1.1c
+[2017/03/07 v1.1d
 %</tex>
 %<plain>  LuaTeX support for plain TeX (core)
 %<*tex>
@@ -823,14 +823,6 @@
 %<2ekernel>  \the\everyjob
 %<*2ekernel,latexrelease>
   \directlua{%
-%% Horrible hack, locally reset the luatex version number
-%% This is not required for the source version of luaotfload
-%% but is required due to an error in the version check in the
-%% public version (January 2017)
-%% https://github.com/lualatex/luaotfload/issues/387
-%% It is expected that this will be removed before TeXLive 2017
-  local tmp_version=tex.luatexversion %
-  tex.luatexversion=199 %
   if xpcall(function ()%
              require('luaotfload-main')%
             end,texio.write_nl) then %
@@ -839,7 +831,6 @@
   texio.write_nl('Error in luaotfload: reverting to OT1')%
   tex.print('\string\\def\string\\encodingdefault{OT1}')%
   end %
-  tex.luatexversion=tmp_version%
   }%
   \let\f at encoding\encodingdefault
   \expandafter\let\csname ver at luaotfload.sty\endcsname\fmtversion



More information about the latex3-commits mailing list