summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-05 19:27:23 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-05 19:27:23 +0100
commitd66e31c92637e97d6c06884eda63f79c21aa337b (patch)
treeffae51abdd35d7880e3b48bcf6615b71cc26f5e4 /tex
parent831cac33e6e1ddcdcf6143b232d5197911dfe4ff (diff)
downloadcontext-d66e31c92637e97d6c06884eda63f79c21aa337b.tar.gz
beta 2011.11.11 22:34
Diffstat (limited to 'tex')
-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
9 files changed, 17 insertions, 7 deletions
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)