diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-14 18:31:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-14 18:31:05 +0000 |
commit | 6678cfe21d5566c7ddf935ab80e19e89d30c4603 (patch) | |
tree | 9f4e776bfe050454130ea58c199ff98166bff9db /Master/texmf-dist/tex/lualatex/luainputenc | |
parent | f3178743528fed675598b87b938a61115fe90cd6 (diff) |
luainputenc update (13may10)
git-svn-id: svn://tug.org/texlive/trunk@18253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luainputenc')
4 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua index 0d646dda33d..dde3ed0a792 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua +++ b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua @@ -26,24 +26,24 @@ -- and luainputenc.pdf -- -luainputenc = { } +module('luainputenc', package.seeall) luainputenc.module = { name = "luainputenc", - version = 0.96, - date = "2010/02/07", + version = 0.97, + date = "2010/05/10", description = "Lua simple inputenc package.", author = "Elie Roux", copyright = "Elie Roux", license = "CC0", } -luatextra.provides_module(luainputenc.module) +luatexbase.provides_module(luainputenc.module) local format = string.format luainputenc.log = luainputenc.log or function(...) - luatextra.module_log('luainputenc', format(...)) + luatexbase.module_log('luainputenc', format(...)) end @@ -87,8 +87,8 @@ end if tex.luatexversion > 42 then function luainputenc.register_callbacks() - callback.add('process_output_buffer', luainputenc.fake_utf_write, 'luainputenc.fake_utf_write') - callback.add('process_input_buffer', luainputenc.fake_utf_read, 'luainputenc.fake_utf_read') + luatexbase.add_to_callback('process_output_buffer', luainputenc.fake_utf_write, 'luainputenc.fake_utf_write') + luatexbase.add_to_callback('process_input_buffer', luainputenc.fake_utf_read, 'luainputenc.fake_utf_read') end else @@ -117,7 +117,7 @@ else end function luainputenc.start() - callback.add('process_input_buffer', luainputenc.fake_utf_read, + luatexbase.add_to_callback('process_input_buffer', luainputenc.fake_utf_read, 'luainputenc.fake_utf_read') luainputenc.state = started if luainputenc.callback_registered == 0 then @@ -126,7 +126,7 @@ else end function luainputenc.stop() - callback.remove('process_input_buffer', 'luainputenc.fake_utf_read') + luatexbase.remove_from_callback('process_input_buffer', 'luainputenc.fake_utf_read') luainputenc.state = stopped return end @@ -255,9 +255,9 @@ else function luainputenc.register_callback() if luainputenc.callback_registered == 0 then - callback.add('pre_read_file', luainputenc.pre_read_file, + luatexbase.add_to_callback('pre_read_file', luainputenc.pre_read_file, 'luainputenc.pre_read_file') - callback.add('file_close', luainputenc.close, 'luainputenc.close') + luatexbase.add_to_callback('file_close', luainputenc.close, 'luainputenc.close') luainputenc.callback_registered = 1 end end diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty index 0f915dd1372..78b4f12843e 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty +++ b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty @@ -28,7 +28,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luainputenc} - [2010/02/07 v0.96 inputenc package for LuaTeX] + [2010/05/10 v0.97 inputenc package for LuaTeX] %% This file was adapted from inputenc.sty, which copyright is: %% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def index ea5a274a5c1..3cfbebb8bc9 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def +++ b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def @@ -44,7 +44,7 @@ \ProvidesFile{lutf8.def} - [2010/02/07 v0.96 UTF-8 support for luainputenc] + [2010/05/10 v0.97 UTF-8 support for luainputenc] \makeatletter \catcode`\ \saved@space@catcode diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def index 9fa60b48c3f..06ffcad98de 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def +++ b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def @@ -44,7 +44,7 @@ \ProvidesFile{lutf8x.def} - [2010/02/07 v0.96 UTF-8 support for luainputenc] + [2010/05/10 v0.97 UTF-8 support for luainputenc] \makeatletter \catcode`\ \saved@space@catcode |