diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-01-13 17:44:02 +0100 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-01-13 17:44:02 +0100 |
commit | 849e05ead8cfb4e43c1b101e8fa60456b73a2936 (patch) | |
tree | c528083aa98579b17eb5912c32191e812451b57b | |
parent | 5f1713b7eb570cfbb61ae5d28715b2899b5f479c (diff) | |
download | luatexbase-849e05ead8cfb4e43c1b101e8fa60456b73a2936.tar.gz |
Fix file generation in regs.dtx & make.
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | luatexbase-regs.dtx | 27 |
2 files changed, 10 insertions, 23 deletions
@@ -6,7 +6,8 @@ DOC = $(patsubst %.dtx, %.pdf, $(DTX)) # Files grouped by generation mode UNPACKED_MCB = luamcallbacks-test.tex luamcallbacks.lua -UNPACKED = $(UNPACKED_MCB) +UNPACKED_REGS = luatexbase-regs.sty luatexbase-regs-latex.tex +UNPACKED = $(UNPACKED_MCB) $(UNPACKED_REGS) COMPILED = $(DOC) GENERATED = $(COMPILED) $(UNPACKED) SOURCE = $(DTX) README Makefile @@ -51,6 +52,9 @@ world: all ctan $(UNPACKED_MCB): luamcallbacks.dtx $(DO_TEX) +$(UNPACKED_REGS): luatexbase-regs.dtx + $(DO_TEX) + $(CTAN_ZIP): $(SOURCE) $(COMPILED) $(TDS_ZIP) @echo "Making $@ for CTAN upload." @$(RM) -- $@ diff --git a/luatexbase-regs.dtx b/luatexbase-regs.dtx index 18d970a..c5bc600 100644 --- a/luatexbase-regs.dtx +++ b/luatexbase-regs.dtx @@ -11,7 +11,7 @@ % % This work consists of the main source file luatexbase-regs.dtx % and the derived files -% luatexbase-regs.sty regs.lua ... +% luatexbase-regs.pdf luatexbase-regs.sty luatexbase-regs-latex.tex % % Unpacking: % tex luatexbase-regs.dtx @@ -38,8 +38,6 @@ \keepsilent \askforoverwritefalse -\let\MetaPrefix\relax - \preamble This is a generated file. @@ -51,29 +49,14 @@ This work is under the CC0 license. This work consists of the main source file luatexbase-regs.dtx and the derived files - luatexbase-regs.sty regs.lua ... + luatexbase-regs.pdf luatexbase-regs.sty luatexbase-regs-latex.tex \endpreamble -\let\MetaPrefix\DoubleperCent - \generate{% \usedir{tex/luatex/luatexbase}% \file{luatexbase-regs.sty}{\from{luatexbase-regs.dtx}{texpackage}}% -} - -\def\MetaPrefix{-- } - -\def\luapostamble{% - \MetaPrefix^^J% - \MetaPrefix\space End of File `\outFileName'.% -} - -\def\currentpostamble{\luapostamble}% - -\generate{% - \usedir{tex/luatex/luatexbase}% - \file{regs.lua}{\from{luatexbase-regs.dtx}{luamodule}}% + \file{luatexbase-regs-latex.tex}{\from{luatexbase-regs.dtx}{latexfile}}% } \obeyspaces @@ -82,7 +65,7 @@ and the derived files \Msg{* To finish the installation you have to move the following} \Msg{* files into a directory searched by TeX:} \Msg{*} -\Msg{* luatexbase-regs.sty regs.lua ...} +\Msg{* luatexbase-regs.sty luatexbase-regs-latex.tex ...} \Msg{*} \Msg{* Happy TeXing!} \Msg{*} @@ -160,7 +143,7 @@ and the derived files % macro). See below for file contents. % % \begin{macrocode} - \input luatextra-latex.tex + \input luatexbase-regs-latex.tex \fi % \begin{macrocode} %</texpackage> |