summaryrefslogtreecommitdiff
path: root/tex/context/base/mkii/xtag-raw.mkii
blob: aab294c5adb515492c9d6e8425d90b421e0743ba (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
%D \module
%D   [       file=xtag-raw,
%D        version=2002.03.21,
%D          title=\CONTEXT\ XML Macros,
%D       subtitle=Raw Specials,
%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.

\writestatus{loading}{ConTeXt XML Macros / Raw Specials}

%D Some day this module will be obsolete.

\defineXMLentity [tex-hash]       {\letterhash}
\defineXMLentity [tex-dollar]     {\letterdollar}
\defineXMLentity [tex-percent]    {\letterpercent}
\defineXMLentity [tex-backslash]  {\letterbackslash}
\defineXMLentity [tex-hat]        {\letterhat}
\defineXMLentity [tex-underscore] {\letterunderscore}
\defineXMLentity [tex-leftbrace]  {\letterbgroup}
\defineXMLentity [tex-rightbrace] {\letteregroup}
\defineXMLentity [tex-bar]        {\letterbar}
\defineXMLentity [tex-tilde]      {\lettertilde}

\endinput

\defineXMLsingular[test][oeps=,whow=,hm=]
% {\tttf \input \XMLop{oeps} [\XMLop{whow}] [\XMLop{hm}]}
  {\tttf \XMLop{oeps} [\XMLop{whow}] [\XMLop{hm}]}

\startXMLdata
<test oeps="oeps_tst.tmp" whow="#FFEEGG" hm="^{}~"/>
\stopXMLdata