summaryrefslogtreecommitdiff
path: root/tex/context/base/buff-imp-tex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/buff-imp-tex.lua')
-rw-r--r--tex/context/base/buff-imp-tex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/buff-imp-tex.lua b/tex/context/base/buff-imp-tex.lua
index 9e61de016..097dff212 100644
--- a/tex/context/base/buff-imp-tex.lua
+++ b/tex/context/base/buff-imp-tex.lua
@@ -41,7 +41,7 @@ local handler = visualizers.newhandler {
-- todo: unicode letters in control sequences (slow as we need to test the nature)
local comment = S("%")
-local name = P("\\") * (patterns.letter + S("@!?"))^1
+local name = P("\\") * (patterns.letter + S("@!?_"))^1
local escape = P("\\") * (patterns.anything - patterns.newline)^-1 -- else we get \n
local group = S("${}")
local boundary = S('[]()<>#="')