Remove debugging instruction and reenable language handling
This commit is contained in:
parent
285414dd23
commit
6b1369f962
@ -110,10 +110,7 @@ if initex then
|
|||||||
|
|
||||||
local prepared = lua.prepared_code
|
local prepared = lua.prepared_code
|
||||||
prepared[1] = string.format("fixupluafunctions(%i)", predefined_luafunctions)
|
prepared[1] = string.format("fixupluafunctions(%i)", predefined_luafunctions)
|
||||||
--[[
|
for i=0,status.languagestate.ptr do
|
||||||
for i=0,0 do -- maybeFIXME: In practise only one language is preloaded in LuaTeX anyway
|
|
||||||
-- for i=0,tex.count[19] do -- Sometimes catches reserved language ids which are not used yet
|
|
||||||
-- for i=0,lang.new():id()-1 do -- lang.new():id() is always 0 in luametatex?!?
|
|
||||||
local l = language.new(i)
|
local l = language.new(i)
|
||||||
local str = string.format("do \z
|
local str = string.format("do \z
|
||||||
local l = language.new(%i)\z
|
local l = language.new(%i)\z
|
||||||
@ -141,7 +138,6 @@ if initex then
|
|||||||
end
|
end
|
||||||
prepared[#prepared+1] = str
|
prepared[#prepared+1] = str
|
||||||
end
|
end
|
||||||
]]
|
|
||||||
for i=2,#prepared do
|
for i=2,#prepared do
|
||||||
if type(prepared[i]) ~= 'string' then
|
if type(prepared[i]) ~= 'string' then
|
||||||
prepared[i] = assert(prepared[i]())
|
prepared[i] = assert(prepared[i]())
|
||||||
|
@ -21,7 +21,6 @@ lmlt.luacmd("meaning", function()
|
|||||||
token.skipnext()
|
token.skipnext()
|
||||||
token.skipnext()
|
token.skipnext()
|
||||||
stash = stash .. '\\protected '
|
stash = stash .. '\\protected '
|
||||||
print'protected'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
token.scankeyword'macro:'
|
token.scankeyword'macro:'
|
||||||
|
Loading…
Reference in New Issue
Block a user