summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/buff-imp-escaped.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/buff-imp-escaped.lua')
-rw-r--r--tex/context/base/mkiv/buff-imp-escaped.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/buff-imp-escaped.lua b/tex/context/base/mkiv/buff-imp-escaped.lua
new file mode 100644
index 000000000..159921e2a
--- /dev/null
+++ b/tex/context/base/mkiv/buff-imp-escaped.lua
@@ -0,0 +1,14 @@
+if not modules then modules = { } end modules ['buff-imp-escaped'] = {
+ version = 1.001,
+ comment = "companion to buff-imp-escaped.mkiv",
+ author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
+ copyright = "PRAGMA ADE / ConTeXt Development Team",
+ license = "see context related readme files"
+}
+
+visualizers.registerescapepattern("/BTEX/ETEX","/BTEX","/ETEX")
+
+visualizers.register("escaped", {
+ parser = visualizers.escapepatterns["/BTEX/ETEX"],
+ handler = visualizers.newhandler(),
+})