[latex3-commits] [git/l3build] master: add "Bundle-Flat" example (99ecf25)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Dec 11 13:52:34 CET 2017


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/99ecf25d76fa14fabc40aa9c4c953b9c6251932f

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

commit 99ecf25d76fa14fabc40aa9c4c953b9c6251932f
Author: Will Robertson <will at wspr.io>
Date:   Mon Dec 11 22:26:31 2017 +1030

    add "Bundle-Flat" example


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

99ecf25d76fa14fabc40aa9c4c953b9c6251932f
 examples/Bundle-Flat/Module-One/build.lua          |   10 ++++
 .../Bundle-Flat/Module-One/module-one-code.tex     |    3 ++
 examples/Bundle-Flat/Module-One/module-one.dtx     |   50 ++++++++++++++++++++
 examples/Bundle-Flat/Module-One/module-one.ins     |    6 +++
 examples/Bundle-Flat/Module-One/module-one.tex     |    3 ++
 examples/Bundle-Flat/Module-Two/build.lua          |   10 ++++
 .../Bundle-Flat/Module-Two/module-two-code.tex     |    3 ++
 examples/Bundle-Flat/Module-Two/module-two.dtx     |   50 ++++++++++++++++++++
 examples/Bundle-Flat/Module-Two/module-two.ins     |    6 +++
 examples/Bundle-Flat/Module-Two/module-two.tex     |    3 ++
 examples/Bundle-Flat/build.lua                     |    8 ++++
 11 files changed, 152 insertions(+)

diff --git a/examples/Bundle-Flat/Module-One/build.lua b/examples/Bundle-Flat/Module-One/build.lua
new file mode 100755
index 0000000..b95584f
--- /dev/null
+++ b/examples/Bundle-Flat/Module-One/build.lua
@@ -0,0 +1,10 @@
+#!/usr/bin/env texlua
+
+bundle = "bundle-flat"
+module = "module-one"
+maindir = ".."
+
+typesetfiles  = {"*.tex"}
+
+kpse.set_program_name("kpsewhich")
+dofile(kpse.lookup("l3build.lua"))
diff --git a/examples/Bundle-Flat/Module-One/module-one-code.tex b/examples/Bundle-Flat/Module-One/module-one-code.tex
new file mode 100644
index 0000000..9bfe0ef
--- /dev/null
+++ b/examples/Bundle-Flat/Module-One/module-one-code.tex
@@ -0,0 +1,3 @@
+
+\AtBeginDocument{\AlsoImplementation}
+\input{module-one.dtx}
diff --git a/examples/Bundle-Flat/Module-One/module-one.dtx b/examples/Bundle-Flat/Module-One/module-one.dtx
new file mode 100644
index 0000000..d89d0cd
--- /dev/null
+++ b/examples/Bundle-Flat/Module-One/module-one.dtx
@@ -0,0 +1,50 @@
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{module-one.dtx}
+%</driver>
+%<pkg>\ProvidesPackage{module-one}
+%<*pkg>
+  [2017/12/11 v0.1 Module One example]
+%</pkg>
+%<*driver>
+\documentclass{ltxdoc}
+\EnableCrossrefs
+\CodelineIndex
+\begin{document}
+  \DocInput{module-one.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \GetFileInfo{module-one.dtx}
+% \title{The Module One example}
+% \date{\fileversion \qquad \filedate}
+% \maketitle
+%
+% \begin{abstract}
+% This is the documentation of the Module One example.
+% \end{abstract}
+%
+% \section{Introduction}
+%
+% This is where you would explain the package to a user.
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+%
+%    \begin{macrocode}
+%<*pkg>
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\typeout{Actually this isn't a real package!}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%</pkg>
+%    \end{macrocode}
+%
+% \Finale
+%
diff --git a/examples/Bundle-Flat/Module-One/module-one.ins b/examples/Bundle-Flat/Module-One/module-one.ins
new file mode 100644
index 0000000..9255566
--- /dev/null
+++ b/examples/Bundle-Flat/Module-One/module-one.ins
@@ -0,0 +1,6 @@
+
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+\generate{\file{\jobname.sty}{\from{\jobname.dtx}{pkg}}}
+\endbatchfile
diff --git a/examples/Bundle-Flat/Module-One/module-one.tex b/examples/Bundle-Flat/Module-One/module-one.tex
new file mode 100644
index 0000000..14f5448
--- /dev/null
+++ b/examples/Bundle-Flat/Module-One/module-one.tex
@@ -0,0 +1,3 @@
+
+\AtBeginDocument{\OnlyDescription}
+\input{module-one.dtx}
diff --git a/examples/Bundle-Flat/Module-Two/build.lua b/examples/Bundle-Flat/Module-Two/build.lua
new file mode 100755
index 0000000..fb0494a
--- /dev/null
+++ b/examples/Bundle-Flat/Module-Two/build.lua
@@ -0,0 +1,10 @@
+#!/usr/bin/env texlua
+
+bundle = "bundle-flat"
+module = "module-two"
+maindir = ".."
+
+typesetfiles  = {"*.tex"}
+
+kpse.set_program_name("kpsewhich")
+dofile(kpse.lookup("l3build.lua"))
diff --git a/examples/Bundle-Flat/Module-Two/module-two-code.tex b/examples/Bundle-Flat/Module-Two/module-two-code.tex
new file mode 100644
index 0000000..39b9361
--- /dev/null
+++ b/examples/Bundle-Flat/Module-Two/module-two-code.tex
@@ -0,0 +1,3 @@
+
+\AtBeginDocument{\AlsoImplementation}
+\input{module-two.dtx}
diff --git a/examples/Bundle-Flat/Module-Two/module-two.dtx b/examples/Bundle-Flat/Module-Two/module-two.dtx
new file mode 100644
index 0000000..3a745bc
--- /dev/null
+++ b/examples/Bundle-Flat/Module-Two/module-two.dtx
@@ -0,0 +1,50 @@
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{module-two.dtx}
+%</driver>
+%<pkg>\ProvidesPackage{module-two}
+%<*pkg>
+  [2017/12/11 v0.1 Module Two example]
+%</pkg>
+%<*driver>
+\documentclass{ltxdoc}
+\EnableCrossrefs
+\CodelineIndex
+\begin{document}
+  \DocInput{module-two.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \GetFileInfo{module-two.dtx}
+% \title{The Module Two example}
+% \date{\fileversion \qquad \filedate}
+% \maketitle
+%
+% \begin{abstract}
+% This is the documentation of the Module Two example.
+% \end{abstract}
+%
+% \section{Introduction}
+%
+% This is where you would explain the package to a user.
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+%
+%    \begin{macrocode}
+%<*pkg>
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\typeout{Actually this isn't a real package!}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%</pkg>
+%    \end{macrocode}
+%
+% \Finale
+%
diff --git a/examples/Bundle-Flat/Module-Two/module-two.ins b/examples/Bundle-Flat/Module-Two/module-two.ins
new file mode 100644
index 0000000..9255566
--- /dev/null
+++ b/examples/Bundle-Flat/Module-Two/module-two.ins
@@ -0,0 +1,6 @@
+
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+\generate{\file{\jobname.sty}{\from{\jobname.dtx}{pkg}}}
+\endbatchfile
diff --git a/examples/Bundle-Flat/Module-Two/module-two.tex b/examples/Bundle-Flat/Module-Two/module-two.tex
new file mode 100644
index 0000000..9e3b965
--- /dev/null
+++ b/examples/Bundle-Flat/Module-Two/module-two.tex
@@ -0,0 +1,3 @@
+
+\AtBeginDocument{\OnlyDescription}
+\input{module-two.dtx}
diff --git a/examples/Bundle-Flat/build.lua b/examples/Bundle-Flat/build.lua
new file mode 100755
index 0000000..b42dd88
--- /dev/null
+++ b/examples/Bundle-Flat/build.lua
@@ -0,0 +1,8 @@
+#!/usr/bin/env texlua
+
+bundle = "bundle-flat"
+
+packtdszip = true
+
+kpse.set_program_name("kpsewhich")
+dofile(kpse.lookup("l3build.lua"))





More information about the latex3-commits mailing list