summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/typo-cln.mkxl
blob: 84fc1d2353bbe9eef92076bc25d1db2ef104e3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%D \module
%D   [       file=typo-cln,
%D        version=2011.02.11,
%D          title=\CONTEXT\ Typesetting Macros,
%D       subtitle=Cleaning,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{ConTeXt Typesetting Macros / Cleaning}

\unprotect

\registerctxluafile{typo-cln}{}

\definesystemattribute[cleaner][public]

%D Currently there is no interface.
%D
%D 1: Autocap first character of a line

\permanent\protected\def\setcharactercleaning[#1]{\clf_setcharactercleaning{#1}} % also accepts reset, todo: public implementor

% \appendtoks
%     \c_attr_cleaner\attributeunsetvalue
% \to \everyforgetall

\protect \endinput