[dev-context] allow non-ASCII chars in scite-xml
Pablo Rodriguez
oinos at gmx.es
Sat Jun 4 10:45:16 CEST 2022
Hans,
here is a patch, copied from buff-imp-xml.lua, so that XML elements are
highlighted when they contain non-ASCII chars.
MWE that shows the issue (commenting the first line gives different
results):
\usemodule[scite]
\starttext
\startTEXpage[offset=1ex]
\type[option=xml]{<ans/>}
\type[option=xml]{<aáñs/>}
\stopTEXpage
\stoptext
Many thanks for your help,
Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scite-xml.diff
Type: text/x-patch
Size: 980 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20220604/e3b43c03/attachment.bin>
More information about the dev-context
mailing list