[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: setup ins file to output the lua (c676a66)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Jun 20 21:35:27 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : backendtest
Link       : https://github.com/latex3/pdfresources/commit/c676a66e8617a9a463c736aa781f1d2b5afae449

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

commit c676a66e8617a9a463c736aa781f1d2b5afae449
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Jun 20 21:35:27 2019 +0200

    setup ins file to output the lua


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

c676a66e8617a9a463c736aa781f1d2b5afae449
 pdfresources.ins | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/pdfresources.ins b/pdfresources.ins
index c4f7b7b..3744108 100644
--- a/pdfresources.ins
+++ b/pdfresources.ins
@@ -31,6 +31,7 @@ for those people who are interested.
 \input l3docstrip.tex
 \askforoverwritefalse
 
+\let\MetaPrefix\relax
 \preamble
 
 Copyright (C) 2019 The LaTeX3 Project
@@ -46,6 +47,7 @@ This file is part of the "pdfresources bundle" (The Work in LPPL)
 and all files in that bundle must be distributed together.
 
 \endpreamble
+\let\MetaPrefix\DoubleperCent
 % stop docstrip adding \endinput
 \postamble
 \endpostamble
@@ -59,11 +61,18 @@ and all files in that bundle must be distributed together.
         \from{pdfresources.dtx}{package}
       }%
   }
-\generate{\file{pdfresources.lua}   {\from{pdfresources.dtx}{lua} }}
+
 \generate{\file{l3dvipdfmx-pdf.def} {\from{pdfresources.dtx}{drivers,dvipdfmx} }}
 \generate{\file{l3dvips-pdf.def}    {\from{pdfresources.dtx}{drivers,dvips}    }}
 \generate{\file{l3dvisvgm-pdf.def}  {\from{pdfresources.dtx}{drivers,dvisvgm}  }}
 \generate{\file{l3pdfmode-pdf.def}  {\from{pdfresources.dtx}{drivers,pdfmode}  }}
 \generate{\file{l3xdvipdfmx-pdf.def}{\from{pdfresources.dtx}{drivers,xdvipdfmx}}}
 
+\def\MetaPrefix{-- }
+\def\defaultpostamble{%
+  \MetaPrefix^^J%
+  \MetaPrefix\space End of File `\outFileName'.%
+}
+\def\currentpostamble{\defaultpostamble}%
+\generate{\file{pdfresources.lua}   {\from{pdfresources.dtx}{lua} }}
 \endbatchfile





More information about the latex3-commits mailing list