From acb0746997f69f126835d13e821fab3f40d27347 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Tue, 29 Mar 2016 13:23:25 +0900 Subject: [PATCH] ltjsclasses: localize tex.getdimen --- doc/ltjsclasses.pdf | Bin 825972 -> 825974 bytes src/ltjsarticle.cls | 2 +- src/ltjsbook.cls | 2 +- src/ltjsclasses.dtx | 2 +- src/ltjskiyou.cls | 2 +- src/ltjspf.cls | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/ltjsclasses.pdf b/doc/ltjsclasses.pdf index dc5137443de822a2126810bfa119ee0a53889b3e..f49d217b3a708529a6d6e03f55d7384b86bbae07 100644 GIT binary patch delta 3239 zcmajfS2!Dt!v%0VsS&NJz1~)>G=zxSic)*lsNL485_?4}wzq0j)t*Jfu9=t(HA_kH zqKL$-me{R5{;s~;@8WlHp66Vi=lp4sIcSopD|Vxn&3uZd7Hu4IGo(Q!pAu_Dt0t%S z+<+*f_-;M->AmVp{Ud7jZ8wF1r*XXYa+Mk9ch^7c0zIzDh#Qe!# zfmh+w<>?{)Zp|+JEvS$D$+z_9HyIspJiK2B%9c`?oCJ9`5p6_gu0l<4)L%Oo*%^13 z=gp>;BN~>jH4*zr8;^TyDx7o^WcPOEiOZ0xojIOIt%;+^6L)Bh{$cV`4U0*nd4LPc zsaJB)oF^5ZFuu|e;Z+YoD`tOrXTSot`WDyD2FU-nCn3T+6_u;B?x)0jY7zZfSdeIa zpHQr_IpXlP!z2BlT@fj6C1c*i9mycM0Lv$fn=&~WNLHoyNzw~q8Qy%=QZpoZNT}>Y zS#E~l^rZd`=gcRg62eo>Wu&0m4wcmDTDkh9mGFE0)@xcm_D!l)ro|jKtrO`mb$_lb4+2$Gz0iC{hkGk;!{&(ub+;CrZG=64FdQ6C?KJ8Lb z7^Qjs*)a6zxc^b~t1=?@SBA#S_a)?PczqX9jxK{j+BTn9-P4-o>y;aE7_8LD1%Ou;%{+88s zL9LZ3BG3lD*)H`NU#u?uer;O2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H8p3^Cn#B-*aq=Q75 N<$%|(>)q7{{tr=QGm!uQ diff --git a/src/ltjsarticle.cls b/src/ltjsarticle.cls index 4d01438..1cf6151 100644 --- a/src/ltjsarticle.cls +++ b/src/ltjsarticle.cls @@ -239,7 +239,7 @@ 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)) diff --git a/src/ltjsbook.cls b/src/ltjsbook.cls index ee4f857..f34198b 100644 --- a/src/ltjsbook.cls +++ b/src/ltjsbook.cls @@ -246,7 +246,7 @@ 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)) diff --git a/src/ltjsclasses.dtx b/src/ltjsclasses.dtx index dd9dfa6..7ff69d5 100644 --- a/src/ltjsclasses.dtx +++ b/src/ltjsclasses.dtx @@ -690,7 +690,7 @@ 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)) diff --git a/src/ltjskiyou.cls b/src/ltjskiyou.cls index 0c05517..70be62e 100644 --- a/src/ltjskiyou.cls +++ b/src/ltjskiyou.cls @@ -240,7 +240,7 @@ 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)) diff --git a/src/ltjspf.cls b/src/ltjspf.cls index cf5e8b7..5cccb5b 100644 --- a/src/ltjspf.cls +++ b/src/ltjspf.cls @@ -239,7 +239,7 @@ 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)) -- 2.11.0