[latex3-commits] [l3svn] 01/05: Only save pdfTeX version primitives with pdfTeX!
noreply at latex-project.org
noreply at latex-project.org
Tue Sep 8 08:22:55 CEST 2015
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 577151423c39b96310185caa4e37075d368ec31f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Sep 7 22:15:55 2015 +0100
Only save pdfTeX version primitives with pdfTeX!
LuaTeX currently defines these but they will be dropped at v0.80.
Removing them up-front will help with moving to new \sys_...
engine tests (upcoming).
---
l3kernel/l3names.dtx | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/l3kernel/l3names.dtx b/l3kernel/l3names.dtx
index df269c9..7fc8b03 100644
--- a/l3kernel/l3names.dtx
+++ b/l3kernel/l3names.dtx
@@ -1138,6 +1138,15 @@
\tex_let:D \utex_mathcodenum:D \XeTeXmathcodenum
\tex_fi:D
% \end{macrocode}
+% Up to v0.80, \LuaTeX{} defines the \pdfTeX{} version data: rather
+% confusing.
+% \begin{macrocode}
+\etex_ifdefined:D \luatex_luatexversion:D
+ \tex_let:D \pdftex_pdftexbanner:D \tex_undefined:D
+ \tex_let:D \pdftex_pdftexbanner:D \tex_undefined:D
+ \tex_let:D \pdftex_pdftexversion:D \tex_undefined:D
+\tex_fi:D
+% \end{macrocode}
%
% For Con\TeX{}t, two tests are needed. Both Mark~II and Mark~IV move several
% primitives: these are all covered by the first test, again using \cs{end}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list