summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-08-11 11:43:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-08-11 11:43:00 +0200
commit7585ddb948c962d7cb485463b54b52d0925b26b2 (patch)
treee3b691c6b69cd46c4fb7ca8a444e215acf894062 /tex/generic
parentfda5a913473511bc21c6424069fcbd520d12b6f0 (diff)
downloadcontext-7585ddb948c962d7cb485463b54b52d0925b26b2.tar.gz
beta 2012.08.11 11:43
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index fb1bba060..81280b892 100644
--- a/tex/generic/context/luatex/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 08/10/12 19:40:14
+-- merge date : 08/11/12 11:43:49
do -- begin closure to overcome local limits and interference
@@ -2198,6 +2198,11 @@ end
file.isreadable = file.is_readable -- depricated
file.iswritable = file.is_writable -- depricated
+function file.size(name)
+ local a = attributes(name)
+ return a and a.size or 0
+end
+
-- todo: lpeg \\ / .. does not save much
local checkedsplit = string.checkedsplit