OSDN Git Service

ltjsclasses: localize tex.getdimen
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Tue, 29 Mar 2016 04:23:25 +0000 (13:23 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Tue, 29 Mar 2016 04:23:25 +0000 (13:23 +0900)
doc/ltjsclasses.pdf
src/ltjsarticle.cls
src/ltjsbook.cls
src/ltjsclasses.dtx
src/ltjskiyou.cls
src/ltjspf.cls

index dc51374..f49d217 100644 (file)
Binary files a/doc/ltjsclasses.pdf and b/doc/ltjsclasses.pdf differ
index 4d01438..1cf6151 100644 (file)
     local getdimen, mpt=tex.getdimen, tex.getdimen('ltjs@mpt')/65536
     local t = lua.get_functions_table()
     t[\the\ltjs@@magnify@font@calc] = function()
-      tex.sprint(math.floor(0.5+mpt*tex.getdimen('dimen@')))
+      tex.sprint(math.floor(0.5+mpt*getdimen('dimen@')))
     end
     function luatexja.ltjs_unmagnify_fsize(a)
       local s = luatexja.print_scaled(math.floor(0.5+a/mpt*65536))
index ee4f857..f34198b 100644 (file)
     local getdimen, mpt=tex.getdimen, tex.getdimen('ltjs@mpt')/65536
     local t = lua.get_functions_table()
     t[\the\ltjs@@magnify@font@calc] = function()
-      tex.sprint(math.floor(0.5+mpt*tex.getdimen('dimen@')))
+      tex.sprint(math.floor(0.5+mpt*getdimen('dimen@')))
     end
     function luatexja.ltjs_unmagnify_fsize(a)
       local s = luatexja.print_scaled(math.floor(0.5+a/mpt*65536))
index dd9dfa6..7ff69d5 100644 (file)
     local getdimen, mpt=tex.getdimen, tex.getdimen('ltjs@mpt')/65536
     local t = lua.get_functions_table()
     t[\the\ltjs@@magnify@font@calc] = function()
-      tex.sprint(math.floor(0.5+mpt*tex.getdimen('dimen@')))
+      tex.sprint(math.floor(0.5+mpt*getdimen('dimen@')))
     end
     function luatexja.ltjs_unmagnify_fsize(a)
       local s = luatexja.print_scaled(math.floor(0.5+a/mpt*65536))
index 0c05517..70be62e 100644 (file)
     local getdimen, mpt=tex.getdimen, tex.getdimen('ltjs@mpt')/65536
     local t = lua.get_functions_table()
     t[\the\ltjs@@magnify@font@calc] = function()
-      tex.sprint(math.floor(0.5+mpt*tex.getdimen('dimen@')))
+      tex.sprint(math.floor(0.5+mpt*getdimen('dimen@')))
     end
     function luatexja.ltjs_unmagnify_fsize(a)
       local s = luatexja.print_scaled(math.floor(0.5+a/mpt*65536))
index cf5e8b7..5cccb5b 100644 (file)
     local getdimen, mpt=tex.getdimen, tex.getdimen('ltjs@mpt')/65536
     local t = lua.get_functions_table()
     t[\the\ltjs@@magnify@font@calc] = function()
-      tex.sprint(math.floor(0.5+mpt*tex.getdimen('dimen@')))
+      tex.sprint(math.floor(0.5+mpt*getdimen('dimen@')))
     end
     function luatexja.ltjs_unmagnify_fsize(a)
       local s = luatexja.print_scaled(math.floor(0.5+a/mpt*65536))