diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-21 23:05:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-21 23:05:34 +0000 |
commit | 54c2374cfd769284cc48ac59ddb071f04ee40bd5 (patch) | |
tree | 2c631e8aac72ce0e18f357da95b835e740a3f540 /Master/texmf-dist/source/luatex/luaotfload | |
parent | 3bc62343398c79b4222c8e853f58bf28def508df (diff) |
luaotfload (21may13)
git-svn-id: svn://tug.org/texlive/trunk@30619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex/luaotfload')
-rw-r--r-- | Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx index 9ed00b5bd38..eabc24030ea 100644 --- a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx +++ b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx @@ -111,7 +111,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{luaotfload.drv}% - [2013/05/18 v2.2 OpenType layout system]% + [2013/05/20 v2.2c OpenType layout system]% \documentclass{ltxdoc} \usepackage{metalogo,multicol,mdwlist,fancyvrb,xspace} \usepackage[x11names]{xcolor} @@ -231,7 +231,7 @@ and the derived files % \GetFileInfo{luaotfload.drv} % % \title{The \identifier{luaotfload} package} -% \date{2013/05/18 v2.2} +% \date{2013/05/20 v2.2c} % \author{Elie Roux · Khaled Hosny · Philipp Gesang\\ % Home: \url{https://github.com/lualatex/luaotfload}\\ % Support: \email{lualatex-dev@tug.org}} @@ -1444,7 +1444,7 @@ config.luaotfload.color_callback = config.luaotfload.color_callback or "pre_l luaotfload.module = { name = "luaotfload", version = 2.2, - date = "2013/05/18", + date = "2013/05/20", description = "OpenType layout system.", author = "Elie Roux & Hans Hagen", copyright = "Elie Roux", @@ -1496,6 +1496,16 @@ if tex.luatexversion < luatex_version then warning("LuaTeX v%.2f is old, v%.2f is recommended.", tex.luatexversion/100, luatex_version /100) + --- we install a fallback for older versions as a safety + if not node.end_of_math then + local math_t = node.id"math" + local traverse_nodes = node.traverse_id + node.end_of_math = function (n) + for n in traverse_nodes(math_t, n.next) do + return n + end + end + end end % \end{macrocode} @@ -1991,7 +2001,7 @@ loadmodule"auxiliary.lua" --- additionaly high-level functionality (new) \else \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luaotfload}% - [2013/05/18 v2.2 OpenType layout system] + [2013/05/20 v2.2c OpenType layout system] \RequirePackage{luatexbase} \fi \ifnum\luatexversion<76 |