forked from ds26gte/tyscheme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docmacro.tex
139 lines (109 loc) · 2.33 KB
/
docmacro.tex
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
%\input slatex.sty
%\slatexdisable{enableslatex}
\ifx\shipout\UnDeFiNeD\else
\input tex2page
\input plainsection
\input tgtermes
\input btxmac
\input miniltx
\input color.sty
\resetatcatcode
\ifx\epsfbox\undefineD
\def\epsfbox#1{\convertMPtoPDF{#1}{1}{1}}%
\fi
%\inputepsf
%\enableslatex
\plaintextweaks
\fi
\let\tag\xrtag
% www.w3.org/StyleSheets/Core/{Chocolate, Midnight,
% Modernist, Oldstyle, Steely, Swiss, Traditional,
% Ultramarine}
%\inputcss http://www.w3.org/StyleSheets/Core/Oldstyle
\overfullrule 0pt
\let\c\centerline
\let\o\item
\let\f\numberedfootnote
\let\n\noindent
\let\p\verb
%\let\pp\p
\let\q\scm
\let\scmfilename\verbwritefile
\let\scmwrite\verbwrite
%\let\qq\q
\def\{{{\tt\char`\{}}
\def\}{{\tt\char`\}}}
\texonly
%\input 2col
%\input ptm
\sidemargin 1.75 true in
%\nocapdot
\def\evalsto{$\Rightarrow$ }
\def\causeserror{$\rightarrow${\em ERROR!!!}}
\def\eqv{\leavevmode\hbox{$\equiv$}}
%\let\byline\centerline
\def\robust#1{\global\let\robustcmd#1%
\begingroup
\def\do##1{\catcode`##1=9 }\dospecials
\catcode`\{1 \catcode`\}2
\robustI}
\def\robustI#1{\endgroup
\robustcmd}
\ifx\slatexversion\UNDEFINED\else
%\defschemetoken{q}
\setspecialsymbol{|evalsto}{$\Longrightarrow$}
\setspecialsymbol{|causeserror}{$\rightarrow${\em ERROR!!!}}
\fi
\endtexonly
%\def\em{*\aftergroup\endem}
%\let\endem*
\ifx\shipout\UNDEFINED
\htmlonly
\cssblock
body {
max-width: 450pt;
}
\endcssblock
\imgpreamble
\magnification\magstep2
\endimgpreamble
\dontuseimgforhtmlmathintext
%\imgdef\pi{$\pi$}
%\imgdef\int{$\int$}
%\def\{{\rawhtml{\endrawhtml}
%\def\}{\rawhtml}\endrawhtml}
%\def\it{\color{blue}}
%\def\em{\color{blue}}
\def\evalsto{{\color[named]{teal}\tt\bf=>} }
\def\causeserror{{\color[named]{red}\tt\bf\it-->ERROR!!!}}
\def\eqv{==}
\let\byline\leftline
\def\robust#1#2#3{#1{#2}}
\def\hfnt#1#2#3{\rawhtml<font color=#1
size=+#2>
\endrawhtml #3 \rawhtml
</font>\endrawhtml}
\evalh{
(if 'nil
(for-each
make-reusable-math-image-as-needed
'(
"\\infty"
"\\int"
"\\Gamma"
"\\pi"
"\\phi"
))
(mapc
(function make-reusable-math-image-as-needed)
'(
"\\infty"
"\\int"
"\\Gamma"
"\\pi"
"\\phi"
)))
}
\endhtmlonly
\fi
\scmkeyword{amb bag-of coroutine stk%define-macro}