summaryrefslogtreecommitdiff
path: root/Master/tlpkg/dviout/SPECIAL/srctex.cfg
blob: 2bebd3e0308741cf266a298beb4a7c559dcd929d (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
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
%		default configulation file of   srctex
%
%<location>  <type>  <key>
%
% <location>
% H:		<key> is searched at the head of a line
% E:		same as H: but the following character should be non-alphabet
% T:		<key> is searched at the tail of a line
%
% <type>
%	ignore:	ignore the line
%	begin:  begin inserting source specials
%	end:	end inserting source specials
%	skip:	skip inserting source specials
%	_skip:	terminate to skip inserting source specials 
%		(should be a pair with the preceeding skip:)
%	set:	insert a source special in the top of
%		the current (resp. next) line in case of H: (resp. T:)

H	skip	%skip{src}
H	_skip	%resume{src}
H	set	%put{src}

H	ignore	%
E	begin	\document
ET	end	\enddocument

E	skip	\verbatim
ET	_skip	\endverbatim
E	skip	\comment
ET	_skip	\endcomment

H	begin	\begin{document}
H	end	\end{document}
H	skip	\begin{verbatim}
HT	_skip	\end{verbatim}
H	skip	\begin{verbatim*}
HT	_skip	\end{verbatim*}
H	skip	\begin{comment}
HT	_skip	\end{comment}

HT	set	$$
H	set	\[
T	set	\]

H	set	\begin{equation}
T	set	\end{equation}
H	set	\begin{equation*}
T	set	\end{equation*}
H	set	\begin{align}
T	set	\end{align}
H	set	\begin{align*}
T	set	\end{align*
H	set	\begin{multline}
T	set	\end{multline}
H	set	\begin{multline*}
T	set	\end{multline*}
H	set	\begin{gather}
T	set	\end{gather}
H	set	\begin{gather*}
T	set	\end{gather*}
H	set	\begin{aligned}
T	set	\end{aligned}
H	set	\begin{alignat}
T	set	\end{alignat}
H	set	\begin{alignat*}
T	set	\end{alignat*}
H	set	\begin{xalignat}
T	set	\end{xalignat}
H	set	\begin{xxalignat}
T	set	\end{xxalignat}
H	set	\begin{verse}
T	set	\end{verse}
H	set	\begin{cases}
T	set	\end{cases}
H	set	\begin{pf}
T	set	\end{pf}

H	set	\align
T	set	\endalign
%H	set	\alignat
T	set	\endalignat
H	set	\xalignat
T	set	\endxalignat
H	set	\xxalignat
T	set	\endxxalignat
H	set	\gather
T	set	\endgather
H	set	\multline
T	set	\endmultline
%H	set	\aligned
T	set	\endaligned
H	set	\topaligned
T	set	\endtopaligned
H	set	\botaligned
T	set	\endbotaligned
H	set	\cases
T	set	\endcases

E	set	\demo
E	set	\item
E	set	\ref
E	set	\bibitem

T	set	\break
T	set	\\
T	set	\par
T	set	\newpage
T	set	\clearpage
T	set	\cleardoublepage