summaryrefslogtreecommitdiff
path: root/tex/context/base/cont-old.tex
blob: 360b5f2e6aeb9486c6740b54937bdced8f99aa7c (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
41
42
43
44
45
46
47
48
%D \module
%D   [       file=cont-old,
%D        version=1995.10.10,
%D          title=\CONTEXT\ Miscellaneous Macros,
%D       subtitle=Old Macros,
%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 Old Macros}

\unprotect

\def\middleraggedness {6\bodyfontsize}

\def\dosubstitutecommand#1#2%
  {\writestatus\m!systems{\string#1\normalspace -> \string#2}%
   \gdef#1{#2}%
   #2}

\def\substitutecommand#1#2%
  {\gdef#1{\dosubstitutecommand{#1}{#2}}}

\substitutecommand \volgendehoofdstuk       {\setupheadnumber[hoofdstuk][+1]}
\substitutecommand \volgendeparagraaf       {\setupheadnumber[paragraaf][+1]}
\substitutecommand \volgendesubparagraaf    {\setupheadnumber[subparagraaf][+1]}
\substitutecommand \volgendesubsubparagraaf {\setupheadnumber[subsubparagraaf][+1]}

\substitutecommand \volledigeinhoudsopgave  \volledigeinhoud
\substitutecommand \plaatsinhoudsopgave     \plaatsinhoud
\substitutecommand \stelinhoudsopgavein     \stelinhoudin

\substitutecommand \streep                  \onderstreep
\substitutecommand \strepen                 \onderstrepen

\substitutecommand \pragmakenmerk           \referral

\substitutecommand \definieersynoniem       \definesynonyms

\substitutecommand \setupintermezzos        \setupintermezzi

\let               \Everybodyfont           \EveryBodyFont

\protect \endinput