diff options
author | Marius <mariausol@gmail.com> | 2014-01-30 23:40:15 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2014-01-30 23:40:15 +0200 |
commit | b8b8e1819a1a3e327c26b3c758bdf0dd4a5f88e0 (patch) | |
tree | 5ed13e7888a7e383d68ca08d94f385574a3dd02f /tex/context/base/publ-ini.lua | |
parent | bed521c2be2cfc35e739e13d03ba171417a04453 (diff) | |
download | context-b8b8e1819a1a3e327c26b3c758bdf0dd4a5f88e0.tar.gz |
beta 2014.01.30 22:19
Diffstat (limited to 'tex/context/base/publ-ini.lua')
-rw-r--r-- | tex/context/base/publ-ini.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/publ-ini.lua b/tex/context/base/publ-ini.lua index 534bca72e..7c3670208 100644 --- a/tex/context/base/publ-ini.lua +++ b/tex/context/base/publ-ini.lua @@ -56,7 +56,6 @@ local basiccompare = sorters.basicsorter -- (a,b) local compare = sorters.comparers.basic -- (a,b) local strip = sorters.strip local splitter = sorters.splitters.utf -local sort = sorters.sort local context = context @@ -803,7 +802,7 @@ lists.sorters = { -- nothing to sort else -- if needed we can wrap compare and use the list directly but this is cleaner - sort(valid,compare) + sorters.sort(valid,compare) for i=1,#valid do local v = valid[i] valid[i] = list[v.index] @@ -1049,7 +1048,7 @@ local function sortedtags(dataset,list,sorttype) if #valid == 0 or #valid ~= #list then return list else - sort(valid,basiccompare) + sorters.sort(valid,basiccompare) for i=1,#valid do valid[i] = valid[i].tag end |