[latex3-commits] [git/LaTeX3-latex3-latex3] l3doc: add standalone l3doc.ins file (604c631a8)

Will Robertson wspr81 at gmail.com
Mon Sep 23 19:19:14 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : l3doc
Link       : https://github.com/latex3/latex3/commit/604c631a8837130dae40a206be08779cce2fdb6f

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

commit 604c631a8837130dae40a206be08779cce2fdb6f
Author: Will Robertson <wspr81 at gmail.com>
Date:   Tue Sep 24 02:49:14 2019 +0930

    add standalone l3doc.ins file
    
    this only makes sense, I think, as we start to break out l3doc into multiple files


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

604c631a8837130dae40a206be08779cce2fdb6f
 l3kernel/l3doc-cls.dtx                             | 33 ----------------------
 .../l3color/l3color.ins => l3kernel/l3doc.ins      | 23 +++++++++------
 2 files changed, 14 insertions(+), 42 deletions(-)

diff --git a/l3kernel/l3doc-cls.dtx b/l3kernel/l3doc-cls.dtx
index 6e45554ee..b6b725933 100644
--- a/l3kernel/l3doc-cls.dtx
+++ b/l3kernel/l3doc-cls.dtx
@@ -22,39 +22,6 @@
 %
 % for those people who are interested.
 %
-%<*driver>
-\def\nameofplainTeX{plain}
-\ifx\fmtname\nameofplainTeX\else
-  \expandafter\begingroup
-\fi
-\input l3docstrip.tex
-\askforoverwritefalse
-\preamble
-
-Copyright (C) 1990-2017,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:
-
-   https://www.latex-project.org/lppl.txt
-
-This file is part of the "l3kernel bundle" (The Work in LPPL)
-and all files in that bundle must be distributed together.
-
-\endpreamble
-% stop docstrip adding \endinput
-\postamble
-\endpostamble
-\generate{\file{l3doc.cls}{\from{l3doc.dtx}{class,cfg}}}
-%\generate{\file{l3doc.ist}{\from{l3doc.dtx}{docist}}}
-\ifx\fmtname\nameofplainTeX
-  \expandafter\endbatchfile
-\else
-  \expandafter\endgroup
-\fi
-%</driver>
 %
 %<*driver|class>
 \RequirePackage{expl3,xparse,calc}
diff --git a/l3experimental/l3color/l3color.ins b/l3kernel/l3doc.ins
similarity index 63%
copy from l3experimental/l3color/l3color.ins
copy to l3kernel/l3doc.ins
index ae12ed89b..42b937805 100644
--- a/l3experimental/l3color/l3color.ins
+++ b/l3kernel/l3doc.ins
@@ -1,17 +1,17 @@
 \iffalse meta-comment
 
-File: l3color.ins
+File l3.ins
 
-Copyright (C) 2017-2019 The LaTeX3 Project
+Copyright (C) 2011,2012,2014-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
+   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 "l3kernel bundle" (The Work in LPPL)
 and all files in that bundle must be distributed together.
 
 -----------------------------------------------------------------------
@@ -29,21 +29,22 @@ license information is placed in the derived files.
 
 \fi
 
-\input l3docstrip.tex
+\let\jobname\relax
+\input l3docstrip.dtx
 \askforoverwritefalse
 
 \preamble
 
-Copyright (C) 2017-2019 The LaTeX3 Project
+Copyright (C) 1990-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
+   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 "l3kernel bundle" (The Work in LPPL)
 and all files in that bundle must be distributed together.
 
 \endpreamble
@@ -53,6 +54,10 @@ and all files in that bundle must be distributed together.
 
 \keepsilent
 
-\generate{\file{l3color.sty}{\from{l3color.dtx}{package}}}
+\generate{\file{l3doc.cls}        {\from{l3doc-cls.dtx}       {class}}}
+\generate{\file{l3doc.sty}        {\from{l3doc-pkg.dtx}       {package}}}
+% not distributed:
+\generate{\file{l3doc.cfg}        {\from{l3doc-cls.dtx}       {cfg}}}
+%\generate{\file{l3doc.ist}        {\from{l3doc.dtx}       {docist}}}
 
 \endbatchfile





More information about the latex3-commits mailing list