\documentclass[12pt,a4paper,origlongtable]{scrartcl}
\usepackage{ifpdf}
\usepackage[latin1]{inputenc}
\usepackage{mathptmx}
\usepackage[scaled=.92]{helvet}
\usepackage{courier}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
% \usepackage[intlimits]{amsmath}
% \usepackage{amsfonts,amssymb,amscd}
% \usepackage{trfsigns}
\usepackage{array}
\usepackage{enumerate}
\usepackage{longtable}
\usepackage{latexsym}
\usepackage{listings}
\lstset{numbers=left, numberstyle=\tiny, numbersep=5pt}
\usepackage{varioref}
\usepackage{makeidx}
\usepackage{color}
\ifpdf
\usepackage[activate=normal]{pdfcprot}
% \usepackage{microtype}
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\pdfcompresslevel=9
\usepackage[
  pdftex,
  a4paper=true,
  pdftitle={PDF-Formulare mit pdflatex, hyperref und insdljs},
  pdfsubject={PDF-Formulare},
  pdfauthor={Dirk Krause},
  colorlinks=true,
  bookmarks,
  bookmarksnumbered,
  linkcolor=black,
  pdfpagemode=UseNone,
  pdfstartview={XYZ 0 835 1.25}
]{hyperref}
\usepackage{attachfile}
\else
\usepackage[dvips]{graphicx}
\DeclareGraphicsRule{.png}{eps}{.bb}{`bmeps #1}
\usepackage[dvips]{hyperref}
\usepackage{attachfile}
\fi
% \definecolor{red}{rgb}{1,0,0}

\def\theyear{2007}

% \parindent0cm
\newcommand{\pdflatex}[0]{pdf\/latex}
\author{Dirk~Krause}
\title{PDF-form creation using \pdflatex{}, hyperref and insdljs}
\include{cover}
\renewcommand*{\sectfont}{\bfseries}
\makeindex
\hyphenation{
Ja-va-Script
}

\begin{document}
\begin{sloppy}
\maketitle\clearpage
\tableofcontents\clearpage
\section{Introduction}\input{fde0001}\clearpage
\section{hyperref and PDF forms}\input{fde0002}\clearpage
\section{Before we start}
\subsection{Document preamble}\input{fde0003}\clearpage
\subsection{Form element attributes}\input{fde0004}\clearpage
\section{The first form}
\subsection{Goal}\input{fde0005}
\subsection{First attempt: ex0001}\input{fde0006}\clearpage
\subsection{Aligning elements in a table: ex0002}\input{fde0007}\clearpage
\subsection{Spaces and element widths: ex0003}\input{fde0008}\clearpage
\subsection{Label text position: ex0004}\input{fde0009}\clearpage
\subsection{Colors: ex0005}\input{fde0010}\clearpage
\subsection{JavaScript: ex0006}\input{fde0011}\clearpage
\subsection{Document events: ex0008 and ex0009}\input{fde0012}\clearpage
\subsection{Form element events: ex0010}\input{fde0013}\clearpage
\subsection{Editable choice list: ex0011}\input{fde0014}\clearpage
\subsection{Adding help}
\subsubsection{Overview}\input{fde0021}
\subsubsection{PDF annotations}\input{fde0022}
\subsubsection{Tooltips}\input{fde0023}
\section{Another form}
\subsection{Goal}\input{fde0015}
\subsection{Initializing a choice list using JavaScript: ex0101}\input{fde0016}\clearpage
\section{Form number three: Interactive application}
\subsection{Goal}\input{fde0017}
\subsection{Processing button click events: ex0201}\input{fde0018}\clearpage
\section{Form number four: using both insdljs and inputenc}\input{fde0020}
\appendix
\section{History}\input{fde0019}\clearpage
\input{fdl.tex}\clearpage
\bibliographystyle{alpha}
\bibliography{bib}
\clearpage
\printindex
\end{sloppy}
\end{document}

