summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/char-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-04-20 19:01:45 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-04-20 19:01:45 +0200
commit5ca0a10c8ee7333320b58b2ae02e902e51f27449 (patch)
treeb7b14a1ef75922ef370b3743ca291eb85b35fac3 /tex/context/base/mkiv/char-ini.lua
parent4831ec8b98dbd0b637271f601c288960f9259bfc (diff)
downloadcontext-5ca0a10c8ee7333320b58b2ae02e902e51f27449.tar.gz
2021-04-20 18:44:00
Diffstat (limited to 'tex/context/base/mkiv/char-ini.lua')
-rw-r--r--tex/context/base/mkiv/char-ini.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/char-ini.lua b/tex/context/base/mkiv/char-ini.lua
index ac31dbfc6..c6c8c915b 100644
--- a/tex/context/base/mkiv/char-ini.lua
+++ b/tex/context/base/mkiv/char-ini.lua
@@ -769,6 +769,10 @@ local is_punctuation = allocate ( tohash {
"pc", "pd", "ps", "pe", "pi", "pf", "po",
} )
+local is_hyphenator = allocate ( tohash {
+ "pd",
+} )
+
local is_symbol = allocate ( tohash {
"sm", "sc", "sk", "so",
} )
@@ -781,6 +785,7 @@ characters.is_command = is_command
characters.is_spacing = is_spacing
characters.is_mark = is_mark
characters.is_punctuation = is_punctuation
+characters.is_hyphenator = is_hyphenator
characters.is_symbol = is_symbol
local mti = function(t,k)
@@ -797,6 +802,7 @@ setmetatableindex(characters.is_letter, mti)
setmetatableindex(characters.is_command, mti)
setmetatableindex(characters.is_spacing, mti)
setmetatableindex(characters.is_punctuation,mti)
+setmetatableindex(characters.is_hyphenator, mti)
-- todo: also define callers for the above