summaryrefslogtreecommitdiff
path: root/web/glasgow/lit2x-0.16/literate/lit-2latex-none.lprl
blob: 582265632ceb75cd327c2ae49865423e3d11f13f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\section[lit2latex_for_none]{Lit2latex-only code for language \tr{none}}

\begin{code}
sub print_code_blk { # just use the std
    local($codetxt) = @_;

    if ($Lang_typeset =~ /tgrind/) {
	# 'src' is the generic tgrind thing
	&std_tgrind_code_blk('src', $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}