blob: 01781123c236d35522bbc985aaa8343f3bbc4948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
\section[lit2latex_for_hs]{Lit2latex-only code for language \tr{hs}}
\begin{code}
sub print_code_blk { # just use the std
local($codetxt) = @_;
if ($Lang_typeset =~ /tgrind/) {
&std_tgrind_code_blk('hs', $codetxt);
} else {
&std_print_code_blk($codetxt);
}
}
sub mk_code_frag {
local($codetxt) = @_;
&std_mk_code_frag($codetxt);
}
# this keeps 'do'ing happy
1;
\end{code}
|