[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: change key name driver to backend (7bbcc1c)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Nov 1 17:52:41 CET 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/7bbcc1c7ff0eaa0fe3b8dc8e5590cae8be25417f

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

commit 7bbcc1c7ff0eaa0fe3b8dc8e5590cae8be25417f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Nov 1 17:52:41 2020 +0100

    change key name driver to backend


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

7bbcc1c7ff0eaa0fe3b8dc8e5590cae8be25417f
 l3pdfinit.dtx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/l3pdfinit.dtx b/l3pdfinit.dtx
index e7885b6..88082e3 100644
--- a/l3pdfinit.dtx
+++ b/l3pdfinit.dtx
@@ -57,8 +57,10 @@
 %
 % \begin{description}
 %    \item[\texttt{expl3}] passes the value to expl3.
-%                This be used for example to setup the driver. The name and
+%                This be used for example to setup the backend. The name and
 %                implementation will probably change.
+%    \item[\texttt{backend}] passes the backend name to expl3. This will probably be extended, to
+%    pass the value also to packages.
 %    \item[\texttt{pdfversion}] e.g. \texttt{pdfversion=1.7}
 %    \item[\texttt{uncompress}] no value. Force an uncompressed pdf.
 %    \item[\texttt{lang}] to set the Lang entry in the Catalog. E.g. \texttt{lang=de-DE}.
@@ -134,6 +136,8 @@
 
 \keys_define:nn { pdf / setup }
   {
+    backend .code:n = { \PassOptionsToPackage { driver=#1 } {expl3} },
+    backend .groups:n = { init } ,
     expl3 .code:n = { \PassOptionsToPackage { #1 } {expl3} },
     expl3 .groups:n = { init } ,
   }





More information about the latex3-commits mailing list.