%load the fp-package for LaTeX2.09
\chardef\FPcatamp=\the\catcode`\@
\catcode`@=11

\def\NeedsTeXFormat#1{}
\def\ProvidesPackage#1[#2]{}
\def\DeclareOption#1#2{}
\let\ProcessOptions\relax

\edef\FP@loadedfiles{fp.tex}

\def\FP@alreadyloaded#1{}
\def\FP@notyetloaded#1{
  \edef\FP@loadedfiles{\FP@loadedfiles,#1}
  \input #1.sty
}
\def\RequirePackage#1{%
  \let\FP@in@\FP@notyetloaded%
  \edef\@tempb{#1}%
  \@for\@tempa:=\FP@loadedfiles\do{%
    \ifx\@tempa\@tempb%
      \let\FP@in@\FP@alreadyloaded%
    \fi%
  }%
  \FP@in@{#1}%
} 

\def\loop#1\repeat{\def\iterate{#1\relax\expandafter\iterate\fi}%
  \iterate \let\iterate\relax}
\let\repeat=\fi

\RequirePackage{fp}

\catcode`\@=\FPcatamp
