From 38253f7ca20cb59c97039f0db6794d369e86376c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 10 May 2010 11:18:50 +0200 Subject: Fix use of non-existent var in error msg. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Bugfix backport from Élie.) --- luatexbase-modutils.dtx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx index f623183..bd84dc7 100644 --- a/luatexbase-modutils.dtx +++ b/luatexbase-modutils.dtx @@ -403,7 +403,7 @@ function luatextra.use_module(name) end require(name) if not luatextra.modules[name] then - luatextra.internal_warning(format("You have requested module `%s',\n%s but the file %s does not provide it.", name, luatextra.internal_warning_spaces, filename)) + luatextra.internal_warning(format("You have requested module `%s',\n%s but the file %s does not provide it.", name, luatextra.internal_warning_spaces)) end if not package.loaded[name] then luatextra.module(name, package.seeall) -- cgit v1.2.3 From 58fa4e387ae987c25fc74334f37a0d4678060436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 10 May 2010 14:08:04 +0200 Subject: Add a check for the loader. Check for a bug --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f2e9a8d..143f48a 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,9 @@ UNPACKED_ATTR = luatexbase-attr.sty luatexbase.attr.lua \ test-attr-plain.tex test-attr-latex.tex UNPACKED_CCTB = luatexbase-cctb.sty luatexbase.cctb.lua \ test-cctb-plain.tex test-cctb-latex.tex +TMP_LOADER = test-loader # temporary file for testing UNPACKED_LOADER = $(LOADER_RUN) \ - test-loader-plain.tex test-loader-latex.tex + $(TMP_LOADER).lua test-loader.sub.lua UNPACKED_MODUTILS = $(MOD_RUN) \ test-modutils-plain.tex test-modutils-latex.tex test-modutils.lua UNPACKED = $(UNPACKED_MCB) $(UNPACKED_REGS) $(UNPACKED_ATTR) $(UNPACKED_CCTB) \ @@ -95,6 +96,7 @@ check-cctb: $(UNPACKED_CCTB) $(LOADER_RUN) lualatex --interaction=batchmode test-cctb-latex.tex >/dev/null check-loader: $(UNPACKED_LOADER) + echo "this is no lua code" > $(TMP_LOADER).tex luatex --interaction=batchmode test-loader-plain.tex >/dev/null lualatex --interaction=batchmode test-loader-latex.tex >/dev/null @@ -141,5 +143,5 @@ clean: @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out test-*.pdf mrproper: clean - @$(RM) -- $(GENERATED) $(ZIPS) + @$(RM) -- $(GENERATED) $(ZIPS) $(TMP_LOADER).tex -- cgit v1.2.3