[latex3-commits] [git/LaTeX3-latex3-latex3] master: dvipdfmx can set major PDF version (2391f1a)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Apr 12 00:07:27 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/2391f1ab1dd3a8b6becfc5750f8b9082281ab0b9

>---------------------------------------------------------------

commit 2391f1ab1dd3a8b6becfc5750f8b9082281ab0b9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Apr 11 23:07:27 2019 +0100

    dvipdfmx can set major PDF version


>---------------------------------------------------------------

2391f1ab1dd3a8b6becfc5750f8b9082281ab0b9
 l3kernel/l3drivers-pdf.dtx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/l3kernel/l3drivers-pdf.dtx b/l3kernel/l3drivers-pdf.dtx
index d3d4131..590c6e3 100644
--- a/l3kernel/l3drivers-pdf.dtx
+++ b/l3kernel/l3drivers-pdf.dtx
@@ -776,11 +776,12 @@
 \cs_new_protected:Npn \driver_pdf_version_major:n #1
   {
     \cs_gset:Npx \driver_pdf_version_major: { \int_eval:n {#1} }
+    \@@_literal:x { pdf:majorversion \driver_pdf_version_major: }
   }
 \cs_new_protected:Npn \driver_pdf_version_minor:n #1
   {
     \cs_gset:Npx \driver_pdf_version_minor: { \int_eval:n {#1} }
-    \@@_literal:x { dvipdfmx:config~V~ \driver_pdf_version_minor: }
+    \@@_literal:x { pdf:minorversion \driver_pdf_version_minor: }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list