[latex3-commits] [git/LaTeX3-latex3-latex3] master: Save primitive definition of \pdfoutptut with cslatex (25c18f44b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Sep 3 11:23:22 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/25c18f44ba935935b3cc8098fce0bc131f629fc9
>---------------------------------------------------------------
commit 25c18f44ba935935b3cc8098fce0bc131f629fc9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Sep 3 10:23:22 2020 +0100
Save primitive definition of \pdfoutptut with cslatex
>---------------------------------------------------------------
25c18f44ba935935b3cc8098fce0bc131f629fc9
l3kernel/CHANGELOG.md | 3 +++
l3kernel/l3names.dtx | 10 ++++++++++
2 files changed, 13 insertions(+)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index e388a2f94..70fed931d 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Fixed
+- Save primitive definition of `\pdfoutput` with CSLaTeX
+
## [2020-09-01]
### Added
diff --git a/l3kernel/l3names.dtx b/l3kernel/l3names.dtx
index 9b53598ac..b247fa829 100644
--- a/l3kernel/l3names.dtx
+++ b/l3kernel/l3names.dtx
@@ -1396,6 +1396,16 @@
\tex_let:D \tex_pdftexversion:D \tex_undefined:D
\tex_fi:D
% \end{macrocode}
+% \pkg{cslatex} moves a couple of primitives which we recover here; as there
+% is no other marker, we can only work by looking for the names.
+% \begin{macrocode}
+\tex_ifdefined:D \orieveryjob
+ \tex_let:D \tex_everyjob:D \orieveryjob
+\tex_fi:D
+\tex_ifdefined:D \oripdfoutput
+ \tex_let:D \tex_pdfoutput:D \oripdfoutput
+\tex_fi:D
+% \end{macrocode}
%
% For \ConTeXt{}, 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}
More information about the latex3-commits
mailing list.