texlive[41395] Master/texmf-dist: luatex85 (28may16)
commits+karl at tug.org
commits+karl at tug.org
Sun Jun 12 01:24:52 CEST 2016
Revision: 41395
http://tug.org/svn/texlive?view=revision&revision=41395
Author: karl
Date: 2016-06-12 01:24:51 +0200 (Sun, 12 Jun 2016)
Log Message:
-----------
luatex85 (28may16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/luatex85/luatex85.pdf
trunk/Master/texmf-dist/source/generic/luatex85/luatex85.dtx
trunk/Master/texmf-dist/tex/generic/luatex85/luatex85.sty
Modified: trunk/Master/texmf-dist/doc/generic/luatex85/luatex85.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/generic/luatex85/luatex85.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/luatex85/luatex85.dtx 2016-06-11 23:24:41 UTC (rev 41394)
+++ trunk/Master/texmf-dist/source/generic/luatex85/luatex85.dtx 2016-06-11 23:24:51 UTC (rev 41395)
@@ -9,13 +9,14 @@
\ProvidesFile{luatex85.dtx}
%</dtx>
%<package>\ifx\ProvidesPackage\undefined
-%<package>\def\next#1#2[#3]{\wlog{#2 #3}}
+%<package>\def\next#1#2[#3]{\wlog{#2 #3}\expandafter\gdef
+%<package>\csname ver at luatex85.sty\endcsname{#3}}
%<package>\expandafter\next\fi
%<package>\ProvidesPackage{luatex85}
%<driver> \ProvidesFile{luatex85.drv}
% \fi
% \ProvidesFile{luatex85.dtx}
- [2016/03/01 v1.0 pdftex aliases for luatex]
+ [2016/05/23 v1.2 pdftex aliases for luatex]
%
% \iffalse
%<*driver>
@@ -144,14 +145,26 @@
\let\ifpdfabsnum \ifabsnum
\let\ifpdfabsdim \ifabsdim
% \end{macrocode}
+% Use |\enableprimitives| here in case of conflict with tracefnt.
+% \begin{macrocode}
+\directlua{tex.enableprimitives('pdf',{'tracingfonts'})}
+% \end{macrocode}
%
+% \subsection{Commands converted to constants}
+% The |\pdffeedback| version is not defined in dvi mode and (currently) is
+% curiously defined to be 40 in pdf mode, so define these as constant values.
+% \begin{macrocode}
+\protected\def\pdftexversion {\numexpr 140\relax}
+ \def\pdftexrevision {7}
+%\protected\def\pdftexversion {\numexpr\pdffeedback version\relax}
+% \def\pdftexrevision {\pdffeedback revision}
+% \end{macrocode}
+%
% \subsection{Commands converted to \cs{pdffeedback}}
-% Expandable commands use a sipmple |\def| internal registers that
+% Expandable commands use a simple |\def|. Internal registers that
% were accessed via |\the| in PDF\TeX\ use a |\protected| definition
% using |\numexpr| terminated by an explicit |\relax|.
% \begin{macrocode}
-\protected\def\pdftexversion {\numexpr\pdffeedback version\relax}
- \def\pdftexrevision {\pdffeedback revision}
\protected\def\pdflastlink {\numexpr\pdffeedback lastlink\relax}
\protected\def\pdfretval {\numexpr\pdffeedback retval\relax}
\protected\def\pdflastobj {\numexpr\pdffeedback lastobj\relax}
@@ -166,8 +179,8 @@
% \end{macrocode}
%
% \subsection{Commands converted to calls to \cs{pdfextension}}
-% These use a |\protected| definition. Comands that take no following
-% argument are currently terminated by |\releax| as suggested in the
+% These use a |\protected| definition. Commands that take no following
+% argument are currently terminated by |\relax| as suggested in the
% Lua\TeX\ manual, although it would be appear to be sufficient to
% consistently terminate these commands with a space.
% \begin{macrocode}
@@ -223,7 +236,7 @@
\protected\edef\pdfinclusioncopyfonts {\pdfvariable inclusioncopyfonts}
\protected\edef\pdfinclusionerrorlevel {\pdfvariable inclusionerrorlevel}
% \end{macrocode}
-% Note that |\pdfreplacefont| was never actually in public releases of
+% Note that |\pdfreplacefont| was never in public releases of
% PDF\TeX, It was in Lua\TeX0.85, but discussion on luatex list
% lead to it being removed in 0.87
% \begin{macrocode}
@@ -244,7 +257,7 @@
\protected\edef\pdfpageresources {\pdfvariable pageresources}
% \end{macrocode}
% Note that |\pdfxformattr| and |\pdfxformresources| were never
-% actually in PDF\TeX, But are included here so that all the
+% in PDF\TeX, But are included here so that all the
% |\pdfvariable| cases are covered.
% \begin{macrocode}
\protected\edef\pdfxformattr {\pdfvariable xformattr}
Modified: trunk/Master/texmf-dist/tex/generic/luatex85/luatex85.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/luatex85/luatex85.sty 2016-06-11 23:24:41 UTC (rev 41394)
+++ trunk/Master/texmf-dist/tex/generic/luatex85/luatex85.sty 2016-06-11 23:24:51 UTC (rev 41395)
@@ -12,10 +12,11 @@
%% This file may be distributed under the terms of the LPPL.
%% See README for details.
\ifx\ProvidesPackage\undefined
-\def\next#1#2[#3]{\wlog{#2 #3}}
+\def\next#1#2[#3]{\wlog{#2 #3}\expandafter\gdef
+\csname ver at luatex85.sty\endcsname{#3}}
\expandafter\next\fi
\ProvidesPackage{luatex85}
- [2016/03/01 v1.0 pdftex aliases for luatex]
+ [2016/05/23 v1.2 pdftex aliases for luatex]
\ifx\pdfvariable\undefined
\expandafter\endinput
\fi
@@ -49,8 +50,9 @@
\let\ifpdfprimitive \ifprimitive
\let\ifpdfabsnum \ifabsnum
\let\ifpdfabsdim \ifabsdim
-\protected\def\pdftexversion {\numexpr\pdffeedback version\relax}
- \def\pdftexrevision {\pdffeedback revision}
+\directlua{tex.enableprimitives('pdf',{'tracingfonts'})}
+\protected\def\pdftexversion {\numexpr 140\relax}
+ \def\pdftexrevision {7}
\protected\def\pdflastlink {\numexpr\pdffeedback lastlink\relax}
\protected\def\pdfretval {\numexpr\pdffeedback retval\relax}
\protected\def\pdflastobj {\numexpr\pdffeedback lastobj\relax}
More information about the tex-live-commits
mailing list