summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/context/lua/mtxrun.lua4
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua4
-rwxr-xr-xscripts/context/stubs/unix/mtxrun4
-rw-r--r--tex/context/base/context-version.pdfbin7476 -> 4110 bytes
-rw-r--r--tex/context/base/context-version.pngbin106288 -> 106298 bytes
-rw-r--r--tex/context/base/context.css4
-rw-r--r--tex/context/base/context.mkiv4
-rw-r--r--tex/context/base/file-job.mkvi2
-rw-r--r--tex/context/base/status-files.pdfbin116466 -> 24082 bytes
-rw-r--r--tex/context/base/status-lua.pdfbin845168 -> 168919 bytes
-rw-r--r--tex/context/base/trac-lmx.lua10
-rw-r--r--tex/context/base/util-sto.lua4
12 files changed, 29 insertions, 7 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 2932f92a6..83589c5bd 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -4322,6 +4322,7 @@ function table.setmetatableindex(t,f)
setmetatable(t,{ __index = f })
end
end
+ return t
end
function table.setmetatablenewindex(t,f)
@@ -4339,6 +4340,7 @@ function table.setmetatablenewindex(t,f)
setmetatable(t,{ __newindex = f })
end
end
+ return t
end
function table.setmetatablecall(t,f)
@@ -4348,6 +4350,7 @@ function table.setmetatablecall(t,f)
else
setmetatable(t,{ __call = f })
end
+ return t
end
function table.setmetatablekey(t,key,value)
@@ -4357,6 +4360,7 @@ function table.setmetatablekey(t,key,value)
setmetatable(t,m)
end
m[key] = value
+ return t
end
function table.getmetatablekey(t,key,value)
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 2932f92a6..83589c5bd 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -4322,6 +4322,7 @@ function table.setmetatableindex(t,f)
setmetatable(t,{ __index = f })
end
end
+ return t
end
function table.setmetatablenewindex(t,f)
@@ -4339,6 +4340,7 @@ function table.setmetatablenewindex(t,f)
setmetatable(t,{ __newindex = f })
end
end
+ return t
end
function table.setmetatablecall(t,f)
@@ -4348,6 +4350,7 @@ function table.setmetatablecall(t,f)
else
setmetatable(t,{ __call = f })
end
+ return t
end
function table.setmetatablekey(t,key,value)
@@ -4357,6 +4360,7 @@ function table.setmetatablekey(t,key,value)
setmetatable(t,m)
end
m[key] = value
+ return t
end
function table.getmetatablekey(t,key,value)
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 2932f92a6..83589c5bd 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -4322,6 +4322,7 @@ function table.setmetatableindex(t,f)
setmetatable(t,{ __index = f })
end
end
+ return t
end
function table.setmetatablenewindex(t,f)
@@ -4339,6 +4340,7 @@ function table.setmetatablenewindex(t,f)
setmetatable(t,{ __newindex = f })
end
end
+ return t
end
function table.setmetatablecall(t,f)
@@ -4348,6 +4350,7 @@ function table.setmetatablecall(t,f)
else
setmetatable(t,{ __call = f })
end
+ return t
end
function table.setmetatablekey(t,key,value)
@@ -4357,6 +4360,7 @@ function table.setmetatablekey(t,key,value)
setmetatable(t,m)
end
m[key] = value
+ return t
end
function table.getmetatablekey(t,key,value)
diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf
index f66c99244..0f5fb9aac 100644
--- a/tex/context/base/context-version.pdf
+++ b/tex/context/base/context-version.pdf
Binary files differ
diff --git a/tex/context/base/context-version.png b/tex/context/base/context-version.png
index 247bab76c..ee811fc26 100644
--- a/tex/context/base/context-version.png
+++ b/tex/context/base/context-version.png
Binary files differ
diff --git a/tex/context/base/context.css b/tex/context/base/context.css
index 1214d2cef..8b27046bf 100644
--- a/tex/context/base/context.css
+++ b/tex/context/base/context.css
@@ -130,7 +130,7 @@ p, li {
font-size: 16px ;
border-style: none ;
border-width: 0 ;
- background-color: <?lua pv('color-background-one')?> ;
+ background-color: <?lua pv('color-background-three')?> ;
_margin-left: -15px ;
}
#bottom {
@@ -163,7 +163,7 @@ p, li {
font-size: 16px ;
border-style: none ;
border-width: 0 ;
- background-color: <?lua pv('color-background-two')?> ;
+ background-color: <?lua pv('color-background-four')?> ;
}
#top-one {
position: absolute ;
diff --git a/tex/context/base/context.mkiv b/tex/context/base/context.mkiv
index f8ebb88ef..052710ebe 100644
--- a/tex/context/base/context.mkiv
+++ b/tex/context/base/context.mkiv
@@ -20,7 +20,7 @@
%D your styles an modules.
\edef\contextformat {\jobname}
-\edef\contextversion{2011.11.09 20:58}
+\edef\contextversion{2011.11.11 22:34}
%D For those who want to use this:
@@ -82,8 +82,6 @@
\loadmarkfile{cldf-ini}
-\nopdfcompression
-
% From here on we have \unexpanded being \normalprotected, as we
% already had \unexpanded long before etex came around.
diff --git a/tex/context/base/file-job.mkvi b/tex/context/base/file-job.mkvi
index 3c5a60c33..143f96cad 100644
--- a/tex/context/base/file-job.mkvi
+++ b/tex/context/base/file-job.mkvi
@@ -233,7 +233,7 @@
{}
\def\stopenvironmentindeed
- {\signalendofinput\v!project}
+ {\signalendofinput\v!environment}
%D Relatively new (might move as it depends on setups):
diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf
index a21e1d7ce..7a047a26d 100644
--- a/tex/context/base/status-files.pdf
+++ b/tex/context/base/status-files.pdf
Binary files differ
diff --git a/tex/context/base/status-lua.pdf b/tex/context/base/status-lua.pdf
index 34ff0d71b..784c4e2d8 100644
--- a/tex/context/base/status-lua.pdf
+++ b/tex/context/base/status-lua.pdf
Binary files differ
diff --git a/tex/context/base/trac-lmx.lua b/tex/context/base/trac-lmx.lua
index 8e7c60a37..452d03002 100644
--- a/tex/context/base/trac-lmx.lua
+++ b/tex/context/base/trac-lmx.lua
@@ -38,6 +38,9 @@ lmxvariables['color-background-main'] = '#3F3F3F'
lmxvariables['color-background-one'] = lmxvariables['color-background-green']
lmxvariables['color-background-two'] = lmxvariables['color-background-blue']
+lmxvariables['color-background-three'] = function() return lmxvariables['color-background-one'] end
+lmxvariables['color-background-four'] = function() return lmxvariables['color-background-two'] end
+
function lmx.set(key, value)
lmxvariables[key] = value
end
@@ -74,7 +77,12 @@ local function do_type(str)
end
local function do_variable(str)
- return variables[str] or lmxvariables[str] -- or format("<!-- unset lmx instance variable: %s -->",str or "?")
+ local value = variables[str] or lmxvariables[str] -- or format("<!-- unset lmx instance variable: %s -->",str or "?")
+ if type(value) == "function" then
+ return value(str)
+ else
+ return value
+ end
end
function lmx.loadedfile(name)
diff --git a/tex/context/base/util-sto.lua b/tex/context/base/util-sto.lua
index 052e472cf..42ee6cf00 100644
--- a/tex/context/base/util-sto.lua
+++ b/tex/context/base/util-sto.lua
@@ -125,6 +125,7 @@ function table.setmetatableindex(t,f)
setmetatable(t,{ __index = f })
end
end
+ return t
end
function table.setmetatablenewindex(t,f)
@@ -142,6 +143,7 @@ function table.setmetatablenewindex(t,f)
setmetatable(t,{ __newindex = f })
end
end
+ return t
end
function table.setmetatablecall(t,f)
@@ -151,6 +153,7 @@ function table.setmetatablecall(t,f)
else
setmetatable(t,{ __call = f })
end
+ return t
end
function table.setmetatablekey(t,key,value)
@@ -160,6 +163,7 @@ function table.setmetatablekey(t,key,value)
setmetatable(t,m)
end
m[key] = value
+ return t
end
function table.getmetatablekey(t,key,value)