blob: 15db004a3aba98c68811a31bd7ca020a68649f4a (
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
33
34
35
36
37
38
39
40
|
%D \module
%D [ file=syst-str,
%D version=2006.09.18,
%D title=\CONTEXT\ System Macros,
%D subtitle=String Processing,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%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 System Macro's / Strings}
%D These macros were defined elsewhere but for practical reasons
%D we moved them here. This way we can more easily provide Mk IV
%D support.
\unprotect
%D I got tired of making dedicated clean up macros using the
%D same mechanism again and again, so now we have:
%D
%D \starttyping
%D \def\xxxx{abc.d} \replacecharacters\xxxx{a.}{-} \xxxx
%D \stoptyping
\let\replacecharacters\gobblethreearguments % macro characters replacement
%D Hm?
\def\separatestring #1\to#2{}
\def\unspacefilename#1\to#2{}
%D Plugins:
\loadmarkfile{syst-str}
\protect \endinput
|