diff options
author | Hans Hagen <pragma@wxs.nl> | 2016-11-22 20:44:35 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-11-22 20:44:35 +0100 |
commit | f4ff686750ca9405662c7615e9c4b04685b5be5c (patch) | |
tree | a9999aa6a9bdfdf5fa707b20e95e6ca6a405a4a1 /tex/context/base/mkiv/strc-tag.mkiv | |
parent | ad79afc01bebd1a16f30f8c08b873ff52224bd19 (diff) | |
download | context-f4ff686750ca9405662c7615e9c4b04685b5be5c.tar.gz |
2016-11-22 20:10:00
Diffstat (limited to 'tex/context/base/mkiv/strc-tag.mkiv')
-rw-r--r-- | tex/context/base/mkiv/strc-tag.mkiv | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/strc-tag.mkiv b/tex/context/base/mkiv/strc-tag.mkiv index c9132bf04..7fdfd7afa 100644 --- a/tex/context/base/mkiv/strc-tag.mkiv +++ b/tex/context/base/mkiv/strc-tag.mkiv @@ -215,8 +215,23 @@ \unexpanded\def\strc_tags_element_stop_nop {} +\def\strc_tags_report_hyphen#1% + {\writestatus\m!languages{setting #1 to U+00AD}} + +\unexpanded\def\strc_tags_patch_hyphen + {% for the moment here + \ifnum\languageparameter\s!lefthyphenchar>\zerocount + \setuplanguage[\s!default][\s!lefthyphenchar="AD]% + \strc_tags_report_hyphen\s!lefthyphenchar + \fi + \ifnum\languageparameter\s!righthyphenchar>\zerocount + \setuplanguage[\s!default][\s!righthyphenchar="AD]% + \strc_tags_report_hyphen\s!righthyphenchar + \fi + \let\strc_tags_report_hyphen\gobbleoneargument} + \unexpanded\def\strc_tags_enable_elements - {\setuplanguage[\s!default][\s!righthyphenchar="AD]% for the moment here + {\strc_tags_patch_hyphen \let\startelement\strc_tags_element_start_yes \let\stopelement \strc_tags_element_stop_yes \let\dosettagproperty\strc_tags_set_aspect_yes} |