summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-cln.mkiv
blob: d247b20d2b6f01a2bfbd5946feec9402c198c735 (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
%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]
%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}{1.001}

\definesystemattribute[cleaner][public]

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

\unexpanded\def\setcharactercleaning[#1]% This name might change!
  {\ctxlua{typesetters.cleaners.set(\number#1)}}

\protect \endinput