summaryrefslogtreecommitdiff
path: root/tex/context/base/lxml-sor.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-10-16 16:13:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-10-16 16:13:00 +0200
commit7f9b179ad5be5000f67192f283d20e7120402bd9 (patch)
tree18f83a8cbfe7fed1c2a6939fb4b2cf10473abbbe /tex/context/base/lxml-sor.lua
parentc878054f6360d50885dbdab96643a8f3ac61c46c (diff)
downloadcontext-7f9b179ad5be5000f67192f283d20e7120402bd9.tar.gz
beta 2009.10.16 16:13
Diffstat (limited to 'tex/context/base/lxml-sor.lua')
-rw-r--r--tex/context/base/lxml-sor.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/tex/context/base/lxml-sor.lua b/tex/context/base/lxml-sor.lua
index 5ef94cbf2..f2bb756f2 100644
--- a/tex/context/base/lxml-sor.lua
+++ b/tex/context/base/lxml-sor.lua
@@ -122,18 +122,16 @@ function lxml.sorters.flush(name,setup)
if results and next(results) then
for key, result in next, results do
local tag, data = result.tag, result.data
---~ tex.sprint(ctxcatcodes,format("key=%s\\quad tag=%s\\blank",key,tag))
for d=1,#data do
local dr = data[d]
- texsprint(ctxcatcodes,format("\\xmls{%s}{%s}",dr.entry,setup))
+ texsprint(ctxcatcodes,"\\xmlw{",setup,"}{",dr.entry,"}")
end
---~ tex.sprint(ctxcatcodes,format("\\blank"))
end
else
local entries = list and list.entries
if entries then
for i=1,#entries do
- texsprint(ctxcatcodes,format("\\xmls{%s}{%s}",entries[i][1],setup))
+ texsprint(ctxcatcodes,"\\xmlw{",setup,"}{",entries[i][1],"}")
end
end
end