summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-09-25 23:00:14 +0300
committerMarius <mariausol@gmail.com>2012-09-25 23:00:14 +0300
commit8ae17f2c95dc1d7a5595f9f2d8ec91e61cd37e28 (patch)
tree72ea78818c4cbc8f573586c304454a62b0e326a4 /tex/generic
parentcef5e3d62b5db1988c912a1166e26e40f2c0d4ae (diff)
downloadcontext-8ae17f2c95dc1d7a5595f9f2d8ec91e61cd37e28.tar.gz
beta 2012.09.25 21:44
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index 36a74ff01..9862853db 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 : 09/23/12 12:40:12
+-- merge date : 09/25/12 21:44:34
do -- begin closure to overcome local limits and interference
@@ -2033,7 +2033,9 @@ function boolean.tonumber(b)
end
function toboolean(str,tolerant)
- if tolerant then
+ if str == true or str == false then
+ return str
+ elseif tolerant then
local tstr = type(str)
if tstr == "string" then
return str == "true" or str == "yes" or str == "on" or str == "1" or str == "t"