diff options
| author | Philipp Gesang <phg@phi-gamma.net> | 2013-03-29 18:22:50 +0100 | 
|---|---|---|
| committer | Philipp Gesang <phg@phi-gamma.net> | 2013-03-29 18:22:50 +0100 | 
| commit | 1c70e70ac8c9e1d08dcf78819f3af3c48c2ed323 (patch) | |
| tree | fc15147093d8109e4552f86058d30d3aea3541de /scripts | |
| parent | adf6f06288a4278dcf31b32e0d8683ebcd5a2c62 (diff) | |
| download | enigma-1c70e70ac8c9e1d08dcf78819f3af3c48c2ed323.tar.gz | |
version bump; minor fixes
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/context/lua/third/enigma/mtx-t-enigma.lua | 12 | 
1 files changed, 7 insertions, 5 deletions
| diff --git a/scripts/context/lua/third/enigma/mtx-t-enigma.lua b/scripts/context/lua/third/enigma/mtx-t-enigma.lua index 818138e..1b093af 100644 --- a/scripts/context/lua/third/enigma/mtx-t-enigma.lua +++ b/scripts/context/lua/third/enigma/mtx-t-enigma.lua @@ -5,16 +5,18 @@  --  DESCRIPTION:  context script interface for the Enigma module  -- REQUIREMENTS:  latest ConTeXt MkIV  --       AUTHOR:  Philipp Gesang (Phg), <gesang@stud.uni-heidelberg.de> ---      CREATED:  2012-02-25 10:45:39+0100 +--      CREATED:  2013-03-28 02:14:05+0100  --------------------------------------------------------------------------------  --  environment.loadluafile("enigma") +local iowrite = io.write +  local helpinfo = [[  ===============================================================      The Enigma module, command line interface. -    © 2012 Philipp Gesang. License: 2-clause BSD. +    © 2012--2013 Philipp Gesang. License: 2-clause BSD.      Home: <https://bitbucket.org/phg/enigma/>  =============================================================== @@ -34,7 +36,7 @@ USAGE:  local application = logs.application {      name     = "mtx-t-enigma", -    banner   = "The Enigma for ConTeXt, hg-rev 9+", +    banner   = "The Enigma for ConTeXt, hg-rev 37+",      helpinfo = helpinfo,  } @@ -44,7 +46,7 @@ local setup, text = ea"setup" or ea"s",  ea"text" or ea"t"  local verbose     = ea"verbose" or ea"v"  local out = function (str) -  io.write(str) +  iowrite(str)  end  local machine_id = "external" @@ -52,7 +54,7 @@ if setup and text then    local args    = enigma.parse_args(setup)    if not args then      application.help() -    io.write"\n\n[Error] Could not process enigma setup!\n\n" +    iowrite"\n\n[Error] Could not process enigma setup!\n\n"    end    enigma.save_raw_args(args, machine_id)    --local machine = enigma.new_machine(enigma.parse_args(setup)) | 
