summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-10-16 23:38:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-10-16 23:38:00 +0200
commit892a3a9f89250dd726c784b26ae8565b26f45c5f (patch)
tree9eabb4b50588a75d24c25023a3e82674b565a65d
parent7cc7e9b40ea094da39ca7a7be92a02fac4071f35 (diff)
downloadcontext-892a3a9f89250dd726c784b26ae8565b26f45c5f.tar.gz
beta 2012.10.16 23:38
-rw-r--r--tex/context/base/chem-str.lua12
-rw-r--r--tex/context/base/cont-new.mkii2
-rw-r--r--tex/context/base/cont-new.mkiv2
-rw-r--r--tex/context/base/context-version.pdfbin4140 -> 4148 bytes
-rw-r--r--tex/context/base/context-version.pngbin106190 -> 106744 bytes
-rw-r--r--tex/context/base/context.mkii2
-rw-r--r--tex/context/base/context.mkiv2
-rw-r--r--tex/context/base/status-files.pdfbin24584 -> 24582 bytes
-rw-r--r--tex/context/base/status-lua.pdfbin195390 -> 195394 bytes
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua2
10 files changed, 15 insertions, 7 deletions
diff --git a/tex/context/base/chem-str.lua b/tex/context/base/chem-str.lua
index 34b5ba7af..844284b79 100644
--- a/tex/context/base/chem-str.lua
+++ b/tex/context/base/chem-str.lua
@@ -230,15 +230,23 @@ local function process(spec,text,n,rulethickness,rulecolor,offset)
local txt = #stack
local m = #metacode
for i=1,#spec do
- local s = spec[i]
+ local step = spec[i]
+ local s = lower(step)
local d = definitions[s]
if d then
+ if trace_structure then
+ report_chemistry("%s => definition: %s",step,s)
+ end
for i=1,#d do
local di = d[i]
process(di.spec,di.text,1,rulethickness,rulecolor)
end
else
- local rep, operation, special, index, upto, set, text = lpegmatch(pattern,s)
+ local rep, operation, special, index, upto, set, text = lpegmatch(pattern,step)
+ if trace_structure then
+ report_chemistry("%s => rep: %s, operation: %s, special: %s, index: %s, upto: %s, set: %s, text: %s",
+ step,rep or "?",operation or "?",special or "?",index or "?",upto or "?",set or "?",text or "?")
+ end
if operation == "pb" then
insert(pstack,variant)
m = m + 1 ; metacode[m] = syntax.pb.direct
diff --git a/tex/context/base/cont-new.mkii b/tex/context/base/cont-new.mkii
index 017508a6f..e894ad522 100644
--- a/tex/context/base/cont-new.mkii
+++ b/tex/context/base/cont-new.mkii
@@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-\newcontextversion{2012.10.16 22:12}
+\newcontextversion{2012.10.16 23:38}
%D This file is loaded at runtime, thereby providing an
%D excellent place for hacks, patches, extensions and new
diff --git a/tex/context/base/cont-new.mkiv b/tex/context/base/cont-new.mkiv
index b0c938c35..d039d5aec 100644
--- a/tex/context/base/cont-new.mkiv
+++ b/tex/context/base/cont-new.mkiv
@@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-\newcontextversion{2012.10.16 22:12}
+\newcontextversion{2012.10.16 23:38}
%D This file is loaded at runtime, thereby providing an excellent place for
%D hacks, patches, extensions and new features.
diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf
index 1fb36e726..322ff3a27 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 34013308e..4c22e68e1 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.mkii b/tex/context/base/context.mkii
index 04ca4b0b4..c7442f646 100644
--- a/tex/context/base/context.mkii
+++ b/tex/context/base/context.mkii
@@ -20,7 +20,7 @@
%D your styles an modules.
\edef\contextformat {\jobname}
-\edef\contextversion{2012.10.16 22:12}
+\edef\contextversion{2012.10.16 23:38}
%D For those who want to use this:
diff --git a/tex/context/base/context.mkiv b/tex/context/base/context.mkiv
index 36c86b936..6b25f4ddb 100644
--- a/tex/context/base/context.mkiv
+++ b/tex/context/base/context.mkiv
@@ -25,7 +25,7 @@
%D up and the dependencies are more consistent.
\edef\contextformat {\jobname}
-\edef\contextversion{2012.10.16 22:12}
+\edef\contextversion{2012.10.16 23:38}
%D For those who want to use this:
diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf
index 85d08b2dc..cfa720a48 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 3486f2ff0..54202c732 100644
--- a/tex/context/base/status-lua.pdf
+++ b/tex/context/base/status-lua.pdf
Binary files differ
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index 04af40c84..891238ff9 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 : 10/16/12 22:12:54
+-- merge date : 10/16/12 23:38:52
do -- begin closure to overcome local limits and interference