[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add code typesetting for l3draw [ci skip] (c2ef828)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 19 14:02:24 CET 2018


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

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

commit c2ef828f8c0514823c0e6875ead836ef6650ebb7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Feb 19 12:56:49 2018 +0000

    Add code typesetting for l3draw [ci skip]


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

c2ef828f8c0514823c0e6875ead836ef6650ebb7
 l3experimental/l3draw/build.lua       |    2 +-
 l3experimental/l3draw/l3draw-code.tex |   63 +++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/l3experimental/l3draw/build.lua b/l3experimental/l3draw/build.lua
index 499051d..4d33e81 100644
--- a/l3experimental/l3draw/build.lua
+++ b/l3experimental/l3draw/build.lua
@@ -10,7 +10,7 @@ module = "l3draw"
 -- Location of main directory: use Unix-style path separators
 maindir = "../.."
 
-typesetfiles = {"l3draw.dtx"}
+typesetfiles = {"l3draw.dtx", "l3draw-code.tex"}
 
 -- Load the common build code
 dofile(maindir .. "/build-config.lua")
diff --git a/l3experimental/l3draw/l3draw-code.tex b/l3experimental/l3draw/l3draw-code.tex
new file mode 100644
index 0000000..e7a0971
--- /dev/null
+++ b/l3experimental/l3draw/l3draw-code.tex
@@ -0,0 +1,63 @@
+\iffalse meta-comment
+
+ File: l3draw-code.tex Copyright (C) 2018 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 "l3experimental 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.
+
+ -----------------------------------------------------------------------
+
+ The development version of the bundle can be found at
+
+    https://github.com/latex3/latex3
+
+ for those people who are interested.
+
+\fi
+
+\documentclass{l3doc}
+
+\begin{document}
+
+\makeatletter
+\let\DelayPrintIndex\PrintIndex
+\let\PrintIndex\@empty
+\makeatother
+
+\DisableImplementation
+
+\DocInput{l3draw.dtx}
+
+\ExplSyntaxOn
+\clist_gput_right:Nn \g_docinput_clist
+  {
+    l3draw-paths.dtx      ,
+    l3draw-points.dtx     ,
+    l3draw-scopes.dtx     ,
+    l3draw-softpath.dtx   ,
+    l3draw-state.dtx      ,
+    l3draw-transforms.dtx
+  }
+\ExplSyntaxOff
+
+\part{Implementation}
+
+\def\maketitle{}
+\EnableImplementation
+\DisableDocumentation
+\DocInputAgain
+
+\clearpage
+
+\DelayPrintIndex
+
+\end{document}





More information about the latex3-commits mailing list