Don't hardcode \immediate flag value and move custom functions into table
This commit is contained in:
parent
d61bb927a3
commit
32c5de7db7
7 changed files with 79 additions and 66 deletions
|
@ -12,7 +12,7 @@ lua.get_functions_table()[restore_func] = function()
|
|||
end
|
||||
end
|
||||
end
|
||||
local restore_toks = {token.primitive_tokens.atendofgroup , token.new(restore_func, token.command_id'lua_call')}
|
||||
local restore_toks = {luametalatex.primitive_tokens.atendofgroup , token.new(restore_func, token.command_id'lua_call')}
|
||||
local put_next = token.put_next
|
||||
local runlocal = tex.runlocal
|
||||
local function put_restore_toks()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue