summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2011-08-29 09:40:11 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2011-08-29 09:40:11 +0200
commitf7c796518ed2128fe334576b4fb1f5509dd36007 (patch)
tree291de0046eba0f8c53d570bcfd4b262bf8fea4a0
parent49f65ea2ee7f6939c9220a32641af202cccb0835 (diff)
downloadcontext-rst-f7c796518ed2128fe334576b4fb1f5509dd36007.tar.gz
directive attribute colon syntax fix
-rw-r--r--mod/tex/context/third/rst/rst_helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/tex/context/third/rst/rst_helpers.lua b/mod/tex/context/third/rst/rst_helpers.lua
index bbf1d1f..d2fc21d 100644
--- a/mod/tex/context/third/rst/rst_helpers.lua
+++ b/mod/tex/context/third/rst/rst_helpers.lua
@@ -100,7 +100,7 @@ do
local escaped_colon = P"\\:"
local nocolon = (escaped_colon + (1 - colon))^1
p.colon_right = nocolon * colon
- p.colon_keyval = C(nocolon) * colon * p.space^1 * C((1 - (p.space^0 * P(-1)))^1)
+ p.colon_keyval = colon^-1 * C(nocolon) * colon * p.space^1 * C((1 - (p.space^0 * P(-1)))^1)
-- color expression matching for text roles
local digit = R"09"