\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input as-eg4.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>
)co ecfact.as
n1:=nextPrime 1000000
n2:=nextPrime n1
n:=n1*n2
LenstraEllipticMethod n
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}