summaryrefslogtreecommitdiff
path: root/tex/context/base/core-syn.mkii
blob: b3fdb17389010f5a416b2ca566d81364814220b7 (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
%D \module
%D   [       file=core-syn,
%D        version=1997.03.31,
%D          title=\CONTEXT\ Core Macros,
%D       subtitle=Synonyms and Sorts,
%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.

\unprotect

\def\mkdefinesortedlist#1% class
  {\addutilityreset{#1}}

\def\mksavesortedlistentry#1#2#3#4%
  {\immediatewriteutility{s e {#1} {#2} {#3} {#4}}}

\def\mksavesortedlistvariable#1#2#3% class type value
  {\immediatewriteutility{s #2 {#1} {#3}}}

\def\mkloadsortedlist#1% class
  {\doutilities{#1}\jobname{#1}\relax\relax}

\protect \endinput