From 0287311bafc0bdd253df0c8d6df3ef85f804d263 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 6 Jun 2018 20:52:12 +0000 Subject: lwarp (6jun18) git-svn-id: svn://tug.org/texlive/trunk@47944 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/lwarp/lwarpmk.lua | 349 ++++++++++++++++------------ 1 file changed, 205 insertions(+), 144 deletions(-) (limited to 'Master/texmf-dist/scripts/lwarp') diff --git a/Master/texmf-dist/scripts/lwarp/lwarpmk.lua b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua index 1181ca8230d..81fac010a4f 100755 --- a/Master/texmf-dist/scripts/lwarp/lwarpmk.lua +++ b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua @@ -2,15 +2,16 @@ -- Copyright 2016-2018 Brian Dunn --- Print the usage of the lwarpmk command: - -printversion = "v0.56" +printversion = "v0.57" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; end function printusage () +-- +-- Print the usage of the lwarpmk command: +-- print ( [[ lwarpmk print [project]: Compile the print version if necessary. @@ -38,9 +39,10 @@ lwarpmk --help: Print this help message. printconf () end --- Print the format of the configuration file lwarpmk.conf: - function printconf () +-- +-- Print the format of the configuration file lwarpmk.conf: +-- print ( [[ An example lwarpmk.conf or .lwarpmkconf project file: -- @@ -62,11 +64,12 @@ Values must be in upright "quotes". ]] ) ; end +function splitfile (destfile,sourcefile) +-- -- Split one large sourcefile into a number of files, -- starting with destfile. -- The file is split at each occurance of