summaryrefslogtreecommitdiff
path: root/tex/context/base/sort-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-07-17 13:24:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-07-17 13:24:00 +0200
commite80c75029084c0e8a80286f78150b5a2e320e63c (patch)
tree6f58c4451079d5d54e0e5db1772a4ec4c67afcb5 /tex/context/base/sort-ini.lua
parentd091a10cf3c159a68967e4b50795481a223e652b (diff)
downloadcontext-e80c75029084c0e8a80286f78150b5a2e320e63c.tar.gz
beta 2014.07.17 13:24
Diffstat (limited to 'tex/context/base/sort-ini.lua')
-rw-r--r--tex/context/base/sort-ini.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tex/context/base/sort-ini.lua b/tex/context/base/sort-ini.lua
index ab6ad0649..3937c77d5 100644
--- a/tex/context/base/sort-ini.lua
+++ b/tex/context/base/sort-ini.lua
@@ -535,6 +535,7 @@ local function prepare()
pattern = Cs( (
characters.tex.toutfpattern()
+ lpeg.patterns.whitespace / "\000"
+ + (P("\\") / "") * R("AZ")^0 * (P(-1) + #(1-R("AZ")))
+ (P("\\") * P(1) * R("az","AZ")^0) / ""
+ S("[](){}$\"'") / ""
+ R("09")^1 / numify