summaryrefslogtreecommitdiff
path: root/tex/context/base/char-utf.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/char-utf.tex')
-rw-r--r--tex/context/base/char-utf.tex26
1 files changed, 4 insertions, 22 deletions
diff --git a/tex/context/base/char-utf.tex b/tex/context/base/char-utf.tex
index 2e7156962..d21cd842c 100644
--- a/tex/context/base/char-utf.tex
+++ b/tex/context/base/char-utf.tex
@@ -1,8 +1,8 @@
%D \module
%D [ file=char-utf,
%D version=2006.12.05,
-%D title=\CONTEXT\ Lua Macros,
-%D subtitle=Unicode Support (UTF),
+%D title=\CONTEXT\ Character Support,
+%D subtitle=Unicode UTF,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright=PRAGMA]
@@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-\writestatus{loading}{Unicode Support (utf)}
+\writestatus{loading}{ConTeXt Character Support / Unicode UTF}
%D After a bit of experimenting we reached a clean state where \UTF\
%D 8, 16 and 32 were supported as well as collapsing (combining
@@ -31,28 +31,10 @@
\appendtoks
\ctxlua {
characters.filters.utf.collapsing = true
- input.filters.utf_translator = characters.filters.utf.collapse
+ resolvers.install_text_filter('utf',characters.filters.utf.collapse)
}%
\to \everyjob
-% %D This is a hack, and only meant for special situations. We don't
-% %D support this in for instance verbatim. The active characters map
-% %D onto the \CONTEXT\ names and font handling etc. is up to the user.
-%
-% %D This feature is obsolete.
-%
-% \registerctxluafile{char-act}{1.001}
-%
-% \def\enableactiveutf {\ctxlua{characters.active.enable()}}
-% \def\disableactiveutf{\ctxlua{characters.active.disable()}}
-% \def\testactiveutf #1{\ctxlua{characters.active.test("#1")}}
-
-%D Usage:
-%D
-%D \starttyping
-%D \enableactiveutf \testactiveutf{eacute}
-%D \stoptyping
-
%D The next one influences input parsing.
%D
%D \starttyping