summaryrefslogtreecommitdiff
path: root/tex/context/base/sort-ini.tex
blob: 75e3f2e73f7bd07184bccba004537b642ff6f51e (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=sort-ini,
%D        version=2005.08.08,
%D          title=\CONTEXT\ Sort Macros,
%D       subtitle=Initialization,
%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.

%D This module replaces existing sort key handling and is meant to be
%D used with the new texutil functionality. This module defines a few
%D auxiliary macros.

\writestatus{loading}{Context Sorting Macros (ini)}

\newevery \everysavesortkeys \relax

\def\savesortkeys
  {\the\everysavesortkeys
   \global\everysavesortkeys\emptytoks}

\prependtoks \savesortkeys \to \everystarttext

\loadmarkfile{sort-ini}

\endinput