summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/x-set-11.mkii
blob: 434b186479382948e5fed1a602baecbe158b512b (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
\unprotect

\def\mkloadsetups#1%
  {\doifnotmode{no-setup-all}
     {\startXMLmapping[zero]
      \expanded{\processXMLfilegrouped{#1}}%
      \stopXMLmapping}}

\bgroup \catcode`\<=\active

\gdef\mkshowsetup#1%
  {\bgroup
   \def<<##1>>{##1}%
   \edef\ascii{#1}%
   \enableXML
   \doifelseXMLelement{stp:\ascii}
     {\expanded{\flushXMLelement{stp:\ascii}}}
     {\doifelseXMLelement{stp:\ascii:1}
        {\expanded{\flushXMLelement{stp:\ascii:1}}}
        {\defconvertedargument\ascii{#1}%
         \em unknown setup \quote{\ascii}}}
   \egroup}

\egroup

\def\mkshowusedsetups
  {\getvalue{\e!place\e!listof texcommands}}

\def\mkshowallsetups
  {\getvalue{\e!place\e!listof alltexcommands}}

\defineXMLenvironmentsave [cd:define] [name=]
  {}
  {\setxvalue{cd:def:\XMLop{name}}{\XMLflush{cd:define}}}

\defineXMLsingular [cd:resolve] [name=]
  {\getvalue{cd:def:\XMLop{name}}}

\protect \endinput