Copied scsh-paper.t2p from tex2page 4q6b

This commit is contained in:
mainzelm 2003-01-12 17:25:07 +00:00
parent d3bc19346f
commit 5f7974ba1e
1 changed files with 31 additions and 13 deletions

View File

@ -16,6 +16,9 @@
\let\PRIMsection\section \let\PRIMsection\section
\let\subsectionORIG\subsection
\let\subsubsectionORIG\subsubsection
%\let\PRIMtableofcontents\tableofcontents %\let\PRIMtableofcontents\tableofcontents
%\def\tableofcontents{\section*{Contents}\PRIMtableofcontents} %\def\tableofcontents{\section*{Contents}\PRIMtableofcontents}
@ -50,28 +53,43 @@
\let\PRIMdocument\document \let\PRIMdocument\document
\def\document{\PRIMdocument \def\document{\PRIMdocument
\def\headingquote#1#2{\eject \def\headingquote##1##2{
\eject
\TIIPendgraf
\rawhtml<div align=right><table ><tr><td><em> \rawhtml<div align=right><table ><tr><td><em>
\endrawhtml \endrawhtml
#1 ##1
\rawhtml</em><br>\endrawhtml \rawhtml</em><br>\endrawhtml
~~~~~~---#2 ~~~~~~---##2
\TIIPendgraf
\rawhtml</td></tr></table></div>\endrawhtml} \rawhtml</td></tr></table></div>\endrawhtml}
\def\section{\def\section{\vfill\eject\PRIMsection}% \def\section{\def\section{\vfill\eject\PRIMsection}%
\PRIMsection} \PRIMsection}
\let\ttchars\relax %headings.tex redefines \[sub]*section, which
\let\ttt\tt %emit unwanted output, pointed out by Martin
\def\cd#1{{\tt\def\\{\char`\\}\defcsactive\${\char`\$}\defcsactive\&{\char`\&}#1}} %Gasbichler. Let's therefore restore original
\def\cddollar{\undefcsactive\$} %definitions for these commands.
\def\ex#1{{\tt #1}}
\def\l#1{lambda (#1)}
\def\lx#1{lambda {#1}}
\def\var#1{{\it #1\/}}
\def\vari#1#2{\mbox{{\it #1\/}\undefcsactive\$$_{#2}$}}
\renewcommand{\proto}[3]{{\tt(#1 {\it #2})} \qquad (#3)} \let\subsection\subsectionORIG
\let\subsubsection\subsubsectionORIG
%\let\ttchars\relax
\let\ttt\tt
\def\cd##1{{\tt\def\\{\char`\\}\defcsactive\${\char`\$}%
\defcsactive\&{\char`\&}##1}}
\def\cddollar{\undefcsactive\$}
%\def\ex#1{{\tt #1}}
\def\l##1{lambda (##1)}
\def\lx##1{lambda {##1}}
%\def\var#1{{\it #1\/}}
\def\vari##1##2{\mbox{\undefcsactive\$${\it
##1}_{##2}$}}
%\def\vari#1#2{\mbox{{\it #1\/}\undefcsactive\$$_{#2}$}}
%\renewcommand{\proto}[3]{{\tt(#1 {\it #2})} \qquad (#3)}
\def\proto##1##2##3{{\tt(##1 {\it ##2})} \qquad (##3)}
\def\setupcode{\tt% \def\setupcode{\tt%
\def\\{\char`\\}% \def\\{\char`\\}%