summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/buff-imp-mp.mkiv
blob: d535dad54beaeb2812faa96b493d394632765030 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
%D \module
%D   [       file=buff-imp-mp,
%D        version=2010.10.19,
%D          title=\CONTEXT\ Visualizer Macros,
%D       subtitle=\METAPOST,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\registerctxluafile{buff-imp-mp}{}

\unprotect

\definestartstop
    [MetapostSnippet]
    [DefaultSnippet]

\definestartstop
    [MetapostSnippetName]
    [\c!color=darkgreen,
     \c!style=boldface]

\definestartstop
    [MetapostSnippetNamePrimitive]
    [\c!color=darkgreen,
     \c!style=swapface]

\definestartstop
    [MetapostSnippetNamePlain]
    [\c!color=darkblue,
     \c!color=darkgreen,
     \c!style=swapface]

\definestartstop
    [MetapostSnippetNameMetafun]
    [\c!color=darkred,
     \c!color=darkgreen,
     \c!style=swapface]

\definestartstop
    [MetapostSnippetConstructor]
    [\c!color=darkred,
     \c!style=boldface]

\definestartstop
    [MetapostSnippetBoundary]
    [\c!color=darkblue,
     \c!style=boldface]

\definestartstop
    [MetapostSnippetQuote]
    [MetapostSnippetBoundary]

\definestartstop
    [MetapostSnippetSpecial]
    [\c!color=darkyellow,
     \c!style=boldface]

\definestartstop
    [MetapostSnippetString]
    [MetapostSnippet]

\definestartstop
    [MetapostSnippetComment]
    [\c!color=darkyellow,
     \c!style=boldface]

\definestartstop
    [MetapostSnippetCommentText]
    [\c!color=darkyellow]

\definetyping
    [MP]
    [\c!option=mp]

\protect \endinput