[latex3-commits] [git/LaTeX3-latex3-latex3] master: Sub l3pdf module (e2384a0)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jun 2 20:03:22 CEST 2019


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

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

commit e2384a05373b39daac28c5eda271f5bfe80484cc
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jun 2 19:03:22 2019 +0100

    Sub l3pdf module


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

e2384a05373b39daac28c5eda271f5bfe80484cc
 l3trial/{l3hooks => l3pdf}/build.lua               |   11 ++-
 .../l3pdf/l3pdf-code.tex                           |   16 +---
 l3trial/l3pdf/l3pdf.dtx                            |   84 ++++++++++++++++++++
 l3trial/{xmarks/xmarks.ins => l3pdf/l3pdf.ins}     |   12 ++-
 4 files changed, 103 insertions(+), 20 deletions(-)

diff --git a/l3trial/l3hooks/build.lua b/l3trial/l3pdf/build.lua
similarity index 69%
copy from l3trial/l3hooks/build.lua
copy to l3trial/l3pdf/build.lua
index 27ac38e..bae49f0 100644
--- a/l3trial/l3hooks/build.lua
+++ b/l3trial/l3pdf/build.lua
@@ -1,17 +1,20 @@
 #!/usr/bin/env texlua
 
--- Build script for LaTeX3 "l3hooks" files
+-- Build script for LaTeX3 "l3pdf" files
 
 -- Identify the bundle and module: the module may be empty in the case where
 -- there is no subdivision
 bundle = "l3trial"
-module = "l3hooks"
+module = "l3pdf"
 
 -- Location of main directory: use Unix-style path separators
 maindir = "../.."
 
--- Non-standard settings
-checksearch = true
+typesetfiles = {"l3pdf.dtx", "l3pdf-code.tex"}
+
+-- Need color support
+checkdeps = {maindir .. "/l3kernel"}
+typesetdeps = checkdeps
 
 -- Load the common build code
 dofile(maindir .. "/build-config.lua")
diff --git a/l3experimental/l3draw/l3draw-code.tex b/l3trial/l3pdf/l3pdf-code.tex
similarity index 71%
copy from l3experimental/l3draw/l3draw-code.tex
copy to l3trial/l3pdf/l3pdf-code.tex
index 8325f0f..8855038 100644
--- a/l3experimental/l3draw/l3draw-code.tex
+++ b/l3trial/l3pdf/l3pdf-code.tex
@@ -1,8 +1,8 @@
 \iffalse meta-comment
 
-File: l3draw-code.tex
+File: l3pdf-code.tex
 
-Copyright (C) 2018,2019 The LaTeX3 Project
+Copyright (C) 2019 The LaTeX3 Project
 
 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -11,7 +11,7 @@ of this license is in the file
 
    https://www.latex-project.org/lppl.txt
 
-This file is part of the "l3experimental bundle" (The Work in LPPL)
+This file is part of the "l3trial bundle" (The Work in LPPL)
 and all files in that bundle must be distributed together.
 
 The released version of this bundle is available from CTAN.
@@ -38,15 +38,7 @@ for those people who are interested.
 \ExplSyntaxOn
 \clist_gput_right:Nn \g_docinput_clist
   {
-    l3draw.dtx            ,
-    l3draw-boxes.dtx      ,
-    l3draw-layers.dtx     ,
-    l3draw-paths.dtx      ,
-    l3draw-points.dtx     ,
-    l3draw-scopes.dtx     ,
-    l3draw-softpath.dtx   ,
-    l3draw-state.dtx      ,
-    l3draw-transforms.dtx
+    l3pdf.dtx ,
   }
 \ExplSyntaxOff
 
diff --git a/l3trial/l3pdf/l3pdf.dtx b/l3trial/l3pdf/l3pdf.dtx
new file mode 100644
index 0000000..29c03bf
--- /dev/null
+++ b/l3trial/l3pdf/l3pdf.dtx
@@ -0,0 +1,84 @@
+% \iffalse meta-comment
+%
+%% File: l3pdf.dtx
+%
+% Copyright(C) 2019 The LaTeX3 Project
+%
+% It may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License (LPPL), either version 1.3c of this
+% license or (at your option) any later version.  The latest version
+% of this license is in the file
+%
+%    http://www.latex-project.org/lppl.txt
+%
+% This file is part of the "l3trial bundle" (The Work in LPPL)
+% and all files in that bundle must be distributed together.
+%
+% -----------------------------------------------------------------------
+%
+% The development version of the bundle can be found at
+%
+%    https://github.com/latex3/latex3
+%
+% for those people who are interested.
+%
+%<*driver|package>
+\RequirePackage{expl3}
+%</driver|package>
+%<*driver>
+\documentclass[full]{l3doc}
+\begin{document}
+  \DocInput{\jobname.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \title{^^A
+%   The \pkg{l3pdf} package\\ Core PDF support^^A
+% }
+%
+% \author{^^A
+%  The \LaTeX3 Project\thanks
+%    {^^A
+%      E-mail:
+%        \href{mailto:latex-team at latex-project.org}
+%          {latex-team at latex-project.org}^^A
+%    }^^A
+% }
+%
+% \date{Released 2019-05-28}
+%
+% \maketitle
+%
+% \begin{documentation}
+%
+% \section{\pkg{l3pdf} documentation}
+%
+% \end{documentation}
+%
+% \begin{implementation}
+%
+% \section{\pkg{l3pdf} implementation}
+%
+%    \begin{macrocode}
+%<*initex|package>
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%<@@=pdf>
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%<*package>
+\ProvidesExplPackage{l3pdf}{2019-05-28}{}
+  {L3 Experimental core PDF support}
+%</package>
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%</initex|package>
+%    \end{macrocode}
+%
+% \end{implementation}
+%
+% \PrintIndex
diff --git a/l3trial/xmarks/xmarks.ins b/l3trial/l3pdf/l3pdf.ins
similarity index 85%
copy from l3trial/xmarks/xmarks.ins
copy to l3trial/l3pdf/l3pdf.ins
index 00c1b87..95fac09 100644
--- a/l3trial/xmarks/xmarks.ins
+++ b/l3trial/l3pdf/l3pdf.ins
@@ -1,6 +1,8 @@
 \iffalse meta-comment
 
-File xmarks.ins Copyright (C) 2018 The LaTeX3 Project
+File: l3pdf.ins
+
+Copyright (C) 2019 The LaTeX3 Project
 
 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -32,7 +34,7 @@ license information is placed in the derived files.
 
 \preamble
 
-Copyright (C) 1999-2018 The LaTeX3 Project
+Copyright (C) 2019 The LaTeX3 Project
 
 It may be distributed and/or modified under the conditions of
 the LaTeX Project Public License (LPPL), either version 1.3c of
@@ -41,7 +43,7 @@ version of this license is in the file:
 
    http://www.latex-project.org/lppl.txt
 
-This file is part of the "l3experimental bundle" (The Work in LPPL)
+This file is part of the "l3pdf bundle" (The Work in LPPL)
 and all files in that bundle must be distributed together.
 
 \endpreamble
@@ -51,6 +53,8 @@ and all files in that bundle must be distributed together.
 
 \keepsilent
 
-\generate{\file{xmarks.sty}{\from{xmarks.dtx}{package}}}
+\generate{\file{l3pdf.sty}
+  {\from{l3pdf.dtx}{package}}
+}
 
 \endbatchfile





More information about the latex3-commits mailing list