diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-30 01:09:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-30 01:09:42 +0000 |
commit | d406d15b92210aa3bc187073d0e2b1ac23c8e7ec (patch) | |
tree | 9d96394702d85d056caab6adc8ee1df1a9cd5421 /Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua | |
parent | 472e6fd0b5ea269f9946989092417642c3f3aeaf (diff) |
luamplib 1.07 (28dec10)
git-svn-id: svn://tug.org/texlive/trunk@20881 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua deleted file mode 100644 index 4066758e9bd..00000000000 --- a/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua +++ /dev/null @@ -1,55 +0,0 @@ --- --- This is file `luamplib-createmem.lua', --- generated with the docstrip utility. --- --- The original source files were: --- --- luamplib.dtx (with options: `gen-lua') --- This is a generated file. --- --- Copyright (C) 2008-2009 by Hans Hagen, Taco Hoekwater and Elie Roux --- <elie.roux@telecom-bretagne.eu>. (Support: <lualatex-dev@tug.org>.) --- --- This work is under the CC0 license. --- --- This Current Maintainer of this work is Elie Roux. --- --- This work consists of the main source file luamplib.dtx --- and the derived files --- luamplib.sty, luamplib.lua, luamplib-createmem.lua and luamplib.pdf. --- - -kpse.set_program_name("kpsewhich") - -function finder (name, mode, ftype) - if mode == "w" then - return name - else - local result = kpse.find_file(name,ftype) - return result - end -end - -local preamble = [[ -input %s ; dump ; -]] - - -makeformat = function (name, mem_name) - local mpx = mplib.new { - ini_version = true, - find_file = finder, - job_name = mem_name, - } - if mpx then - local result - result = mpx:execute(string.format(preamble,name)) - print(string.format("dumping format %s in %s", name, mem_name)) - mpx:finish() - end -end - -makeformat("plain", "mplib-luatex.mem") - --- --- End of File `luamplib-createmem.lua'. |