diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-11 21:38:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-11 21:38:01 +0000 |
commit | e0a2526f2f8befb2815eab43bb68ff44b35eee66 (patch) | |
tree | 0e254844aad8eb282b13b0575b264a8590a853bb /Master/texmf-dist/source/latex/oberdiek/luatex.dtx | |
parent | 01058baf49ee1750accac90a502d1df4f4c7c2c8 (diff) |
oberdiek (10may16)
git-svn-id: svn://tug.org/texlive/trunk@41047 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/luatex.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/luatex.dtx | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/luatex.dtx b/Master/texmf-dist/source/latex/oberdiek/luatex.dtx index c5e43771787..5b525d60304 100644 --- a/Master/texmf-dist/source/latex/oberdiek/luatex.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/luatex.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % File: luatex.dtx -% Version: 2010/03/09 v0.4 +% Version: 2016/05/10 v0.5 % Info: LuaTeX basic definition package % % Copyright (C) 2007, 2009, 2010 by @@ -87,7 +87,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: luatex 2010/03/09 v0.4 LuaTeX basic definition package (HO)} +\Msg{* Package: luatex 2016/05/10 v0.5 LuaTeX basic definition package (HO)} \Msg{************************************************************************} \keepsilent @@ -99,7 +99,7 @@ This is a generated file. Project: luatex -Version: 2010/03/09 v0.4 +Version: 2016/05/10 v0.5 Copyright (C) 2007, 2009, 2010 by Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -186,7 +186,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{luatex.drv}% - [2010/03/09 v0.4 LuaTeX basic definition package (HO)]% + [2016/05/10 v0.5 LuaTeX basic definition package (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \usepackage{paralist} @@ -196,7 +196,6 @@ and the derived files %</driver> % \fi % -% \CheckSum{1429} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -217,7 +216,7 @@ and the derived files % \GetFileInfo{luatex.drv} % % \title{The \xpackage{luatex} package} -% \date{2010/03/09 v0.4} +% \date{2016/05/10 v0.5} % \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}} % % \maketitle @@ -572,7 +571,7 @@ and the derived files \fi \expandafter\x\csname ver@luatex.sty\endcsname \ProvidesPackage{luatex}% - [2010/03/09 v0.4 LuaTeX basic definition package (HO)]% + [2016/05/10 v0.5 LuaTeX basic definition package (HO)]% % \end{macrocode} % % \subsection{Catcodes} @@ -952,6 +951,7 @@ and the derived files % \end{macro} % \begin{macro}{\newattribute} % \begin{macrocode} +\ifx\newattribute\@undefined \LuT@newcommand\newattribute[1]{% \ifnum\LuT@AllocAttribute<65535 % \global\advance\LuT@AllocAttribute\@ne @@ -963,6 +963,7 @@ and the derived files \errmessage{No room for a new \string\attribute}% \fi } +\fi % \end{macrocode} % \end{macro} % @@ -970,13 +971,16 @@ and the derived files % % \begin{macro}{\setattribute} % \begin{macrocode} +\ifx\setattribute\@undefined \LuT@newcommand\setattribute[2]{% #1=\numexpr#2\relax } +\fi % \end{macrocode} % \end{macro} % \begin{macro}{\unsetattribute} % \begin{macrocode} +\ifx\unsetattribute\@undefined \ifnum\luatexversion<37 \LuT@newcommand\LuT@UnsetAttributeValue[0]{}% \let\LuT@UnsetAttributeValue\m@ne @@ -986,6 +990,7 @@ and the derived files \LuT@newcommand\unsetattribute[1]{% #1=\LuT@UnsetAttributeValue } +\fi % \end{macrocode} % \end{macro} % @@ -1003,6 +1008,7 @@ and the derived files % \end{macro} % \begin{macro}{\newcatcodetable} % \begin{macrocode} +\ifx\newcatcodetable\@undefined \LuT@newcommand\newcatcodetable[1]{% \ifnum\LuT@AllocCatcodeTable<1114110 % 0x10FFFF is maximal \chardef % or < 268435455 % 2^28 - 1 @@ -1016,6 +1022,7 @@ and the derived files \errmessage{No room for a new \string\catcodetable}% \fi }% +\fi % \end{macrocode} % \end{macro} % @@ -1268,7 +1275,7 @@ and the derived files \fi \expandafter\x\csname ver@luatex-loader.sty\endcsname \ProvidesPackage{luatex-loader}% - [2010/03/09 v0.4 Lua module loader (HO)]% + [2016/05/10 v0.5 Lua module loader (HO)]% % \end{macrocode} % \begin{macrocode} \begingroup\catcode61\catcode48\catcode32=10\relax% @@ -1345,7 +1352,12 @@ function kpse_module_loader(module) end return "\n\t[oberdiek.luatex.kpse_module_loader] Search failed" end -table.insert(package.loaders, kpse_module_loader) +% \end{macrocode} +% following line changed to use package.searchers instead of +% package.loaders for current luatex; this is the only change in the +% code. eroux, 28apr13, (or package.loaders), 29mar14. +% \begin{macrocode} +table.insert(package.searchers or package.loaders, kpse_module_loader) % \end{macrocode} % \begin{macrocode} %</lua> @@ -1886,7 +1898,7 @@ table.insert(package.loaders, kpse_module_loader) <authorref id='auth:oberdiek'/> <copyright owner='Heiko Oberdiek' year='2007,2009,2010'/> <license type='lppl1.3'/> - <version number='0.4'/> + <version number='0.5'/> <description> LuaTeX is an extended version of pdfTeX using Lua as an embedded scripting language. The LuaTeX project’s main objective @@ -1935,6 +1947,13 @@ table.insert(package.loaders, kpse_module_loader) % \item % Calling tex.enableprimitives for used primitives. % \end{Version} +% \begin{Version}{2016/05/10 v0.5} +% \item +% Use package.searchers +% \item only conditionally define commands such as +% \verb|\newcatcodetable| +% that are now defined in the Lua\LaTeX\ format. +% \end{Version} % \end{History} % % \PrintIndex |