From a1a1b9708e24e5fbbf15b71869c9b3e14fb785fc Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 1 Sep 2011 12:32:32 +0200 Subject: single character interpreted text --- mod/tex/context/third/rst/rst_context.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mod/tex/context/third/rst/rst_context.lua') diff --git a/mod/tex/context/third/rst/rst_context.lua b/mod/tex/context/third/rst/rst_context.lua index adc2c64..6a5aa05 100644 --- a/mod/tex/context/third/rst/rst_context.lua +++ b/mod/tex/context/third/rst/rst_context.lua @@ -551,11 +551,12 @@ local inline_parser = P{ * V"double_bareia" / rst_context.literal, + interpreted_single_char = (1 - V"spacing" - V"eol" - V"bareia") * #V"bareia", + interpreted_multi_char = (1 - V"spacing" - V"eol" - V"bareia") * (1 - (1 * V"bareia"))^0 * (1 - V"spacing" - V"eol" - V"bareia"), + interpreted_text = C(V"role_marker"^-1) * (V"bareia" - V"double_bareia") - * C ((1 - V"spacing" - V"eol" - V"bareia") - * ((1 - (1 * V"bareia"))^0 - * (1 - V"spacing" - V"eol" - V"bareia"))^-1) + * C(V"interpreted_single_char" + V"interpreted_multi_char") * V"bareia" * C(V"role_marker"^-1) / rst_context.interpreted_text, -- cgit v1.2.3