From dc637761adf54caa9ccb4f18226d5a72670180bc Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 6 Jun 2012 10:17:13 +0200 Subject: [interface] fixed plain/latex setup macro --- tex/context/third/enigma/enigma.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tex/context/third') diff --git a/tex/context/third/enigma/enigma.lua b/tex/context/third/enigma/enigma.lua index 521c4b7..a34e669 100644 --- a/tex/context/third/enigma/enigma.lua +++ b/tex/context/third/enigma/enigma.lua @@ -93,6 +93,10 @@ local utf8len = unicode.utf8.len local utf8sub = unicode.utf8.sub local utfcharacters = string.utfcharacters +--- debugging tool (careful, this *will* break context!) +--dofile(kpse.find_file("lualibs-table.lua")) -- archaic version :( +--table.print = function (...) print(table.serialize(...)) end + local tablecopy if format_is_context_p then tablecopy = table.copy @@ -1404,7 +1408,8 @@ on. --ichd]]-- local new_machine = function (_, name) local args = configurations[name] - verbose_level = args.verbose or verbose_level + --table.print(configurations) + verbose_level = args and args.verbose or verbose_level local machine = new(name, args) return machine end -- cgit v1.2.3