blob: cc182058fa6e758a51ae590983416259837fcbfe (
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
|
\newwrite\verbatim@out
\def\bspname{b}
\def\verbatimwrite#1{%
\@bsphack
\immediate\openout \verbatim@out #1
\let\do\@makeother\dospecials
\catcode`\^^M\active
\verbatim@startline
\verbatim@addtoline
\verbatim@finish
\def\verbatim@processline{%
\immediate\write\verbatim@out
{\the\verbatim@line}}%
\verbatim@start}
\def\endverbatimwrite{%
\immediate\closeout\verbatim@out
\@esphack}
\def\bsp{\verbatimwrite{\bspname}}
\let\endbsp\endverbatimwrite
\def\make{%
\begin{flushleft}
\begin{minipage}[c]{0.48\linewidth}
\verbatiminput{\bspname}
\end{minipage}
\hfill\vrule\hfill
\begin{minipage}[c]{0.48\linewidth}
\input{\bspname}
\end{minipage}
\end{flushleft}}
\endinput
|