summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltluatex.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-02 22:15:45 +0000
committerKarl Berry <karl@freefriends.org>2015-10-02 22:15:45 +0000
commitabbefcd9fbfcd8e487162ec28f349e3143914449 (patch)
tree289cbdb698c3dc477252484424234fa14da2b014 /Master/texmf-dist/source/latex/base/ltluatex.dtx
parent8a03ef16f0821bc20895c680b246ead3eafa0d44 (diff)
latex (2oct15)
git-svn-id: svn://tug.org/texlive/trunk@38531 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltluatex.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltluatex.dtx28
1 files changed, 25 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltluatex.dtx b/Master/texmf-dist/source/latex/base/ltluatex.dtx
index 8a19d74af39..950b756133d 100644
--- a/Master/texmf-dist/source/latex/base/ltluatex.dtx
+++ b/Master/texmf-dist/source/latex/base/ltluatex.dtx
@@ -24,7 +24,7 @@
\ProvidesFile{ltluatex.dtx}
%</driver>
%<*tex>
-[2015/09/24 v1.0a
+[2015/10/02 v1.0e
%</tex>
%<plain> LuaTeX support for plain TeX (core)
%<*tex>
@@ -351,7 +351,7 @@
%
% \endgroup
%
-% \CheckSum{484}
+% \CheckSum{488}
% \StopEventually{}
%
% \section{Implementation}
@@ -737,7 +737,9 @@
% \end{macrocode}
%
% \begin{macrocode}
-%<latexrelease>\IncludeInRelease{2015/09/24}
+% \changes{v1.0b}{2015/10/02}{Fix backing out of \TeX{} code}
+% \changes{v1.0c}{2015/10/02}{Allow backing out of Lua code}
+%<latexrelease>\IncludeInRelease{0000/00/00}
%<latexrelease> {\newluafunction}{LuaTeX}%
%<latexrelease>\let\e@alloc@attribute@count\@undefined
%<latexrelease>\let\newattribute\@undefined
@@ -758,6 +760,7 @@
%<latexrelease>\let\e@alloc@bytecode@count\@undefined
%<latexrelease>\let\newluachunkname\@undefined
%<latexrelease>\let\e@alloc@luachunk@count\@undefined
+%<latexrelease>\directlua{luatexbase.uninstall()}
%<latexrelease>\EndIncludeInRelease
% \end{macrocode}
%
@@ -1537,6 +1540,25 @@ end
luatexbase.callback_descriptions =callback_descriptions
% \end{macrocode}
% \end{macro}
+%
+% \begin{macro}{uninstall}
+% \changes{v1.0e}{2015/10/02}{Function added}
+% Unlike at the \TeX{} level, we have to provide a back-out mechanism here
+% at the same time as the rest of the code. This is not meant for use by
+% anything other than \textsf{latexrelease}: as such this is
+% \emph{deliberately} not documented for users!
+% \begin{macrocode}
+local function uninstall()
+ module_info(
+ "luatexbase",
+ "Uninstalling kernel luatexbase code"
+ )
+ callback.register = callback_register
+ luatexbase = nil
+end
+luatexbase.uninstall = uninstall
+% \end{macrocode}
+% \end{macro}
% \endgroup
%
% \begin{macrocode}