
hans@901: \documentclass[12pt]{scrartcl}
hans@901: 
hans@901: %----------------------------------------------
hans@901: % Load packages
hans@901: 
hans@901: \usepackage{a4}
hans@901: \usepackage{times}
hans@901: \usepackage[latin1]{inputenc}
hans@901: \usepackage{fancyhdr}
hans@901: %\usepackage{german}
hans@901: %\usepackage[marvosym]{eurofont}
hans@901: %\usepackage[all, light]{draftcopy}
hans@901: %\usepackage{supertabular}
hans@901: %\usepackage{colortbl}
hans@901: %\usepackage{epsf}
hans@901: \usepackage{graphicx}
hans@901: \usepackage{lastpage}
hans@901: %\usepackage{proposal}
hans@901: \usepackage{listings}
hans@921: \usepackage[hyperindex=true, bookmarks=true, breaklinks=true,
hans@921: colorlinks=true, linkcolor=red,bookmarksopen]{hyperref}
hans@901: 
hans@901: %----------------------------------------------
hans@901: % Document DATE and VERSION
hans@901: % set these values when releasing a new version
hans@901: 
hans@901: \newcommand{\documentdate}{April 27th, 2010}
hans@901: \newcommand{\documentversion}{1.0}
hans@901: \newcommand{\documentrevision}{FIXME SVN REV}
hans@901: \newcommand{\documentID}{installation-admin-manual.tex}
hans@901: %----------------------------------------------
hans@901: 
hans@901: %----------------------------------------------
hans@901: % Document TITLE
hans@901: \newcommand{\documenttitle}{Generic Viewer -- Installing and running}
hans@901: 
hans@901: 
hans@901: %----------------------------------------------
hans@901: % Some parameters for layouting
hans@901: 
hans@901: \paperwidth=21cm
hans@901: \hoffset=-0.54cm
hans@901: \textwidth=17cm
hans@901: 
hans@901: \paperheight=29.7cm
hans@901: \voffset=-1.5cm
hans@901: \topmargin=0cm
hans@901: \headheight=1cm
hans@901: \textheight=24cm
hans@901: 
hans@901: \setcounter{secnumdepth}{4}
hans@901: \setcounter{tocdepth}{4}
hans@901: 
hans@901: %----------------------------------------------
hans@901: 
hans@901: \begin{document}
hans@901: 
hans@901: \lstset{ %
hans@901: language=sh,
hans@901: basicstyle=\ttfamily,       % the size of the fonts that are used for the code
hans@901: numbers=left,                   % where to put the line-numbers
hans@901: numberstyle=\footnotesize,      % the size of the fonts that are used for the line-numbers
hans@901: numbersep=5pt,                  % how far the line-numbers are from the code
hans@901: % backgroundcolor=\color{white},  % choose the background color. You must add \usepackage{color}
hans@901: showspaces=false,               % show spaces adding particular underscores
hans@901: showstringspaces=false,         % underline spaces within strings
hans@901: showtabs=false,                 % show tabs within strings adding particular underscores
hans@901: frame=single,                   % adds a frame around the code
hans@901: tabsize=2,                      % sets default tabsize to 2 spaces
hans@901: captionpos=b,                   % sets the caption-position to bottom
hans@901: breaklines=true,                % sets automatic line breaking
hans@901: breakatwhitespace=false,        % sets if automatic breaks should only happen at whitespace
hans@901: title=\lstname,                 % show the filename of files included with \lstinputlisting; also try caption instead of title
hans@901: escapeinside={\%*}{*)}          % if you want to add a comment within your code
hans@901: % morekeywords={*,...}            % if you want to add more keywords to the set
hans@901: }
hans@901: 
hans@901: %-----------------------------------
hans@901: % HEADER/FOOTER DEFINITION
hans@901: 
hans@901: % for some pages latex switches back to pagestyle plain :-(
hans@901: \fancypagestyle{plain}{%
hans@901: 	\fancyhf{} % clear all header and footer fields
hans@901: 	\fancyhead[LO,RE]{\footnotesize \documenttitle\\ \leftmark}
hans@901: 	\fancyfoot[RO,LE]{\footnotesize Intevation GmbH} % Author
hans@901: 	\fancyfoot[CO,CE]{\footnotesize \thepage/\pageref{LastPage}}
hans@901: 	\fancyfoot[LO,RE]{\footnotesize \documentdate
hans@901: 	\\\documentID}
hans@901: 	\renewcommand{\footrulewidth}{0.4pt}
hans@901: }
hans@901: 
hans@901: % and now define pagestyle fancy
hans@901: \fancyhead{} % clear all fields
hans@901: \fancyhead[LO]{\footnotesize \documenttitle\\ \leftmark}
hans@901: 
hans@901: \fancyfoot{}% clear all fields
hans@901: \fancyfoot[RO]{\footnotesize Intevation GmbH} % Author
hans@901: \fancyfoot[CO]{\footnotesize \thepage/\pageref{LastPage}}
hans@901: \fancyfoot[LO]{\footnotesize \documentdate
hans@901: \\\documentID}
hans@901: 
hans@901: \renewcommand{\footrulewidth}{0.4pt}
hans@901: 
hans@901: %
hans@901: % END Header/Footer Definition
hans@901: %-----------------------------------
hans@901: 
hans@901: %----------------------------------------------
hans@901: % MACRO DEFINITION
hans@901: %
hans@901: %   \Fig{figure}{lof text}{caption} :
hans@901: %			places 'figure' and
hans@901: %                       writes 'caption' at the bottom with leading
hans@901: %                       'Abbildung figno:'. 'lof text' is added to the list of
hans@901: %                       figures.
hans@901: %                       Example:
hans@901: %                       \Fig{\epsfxsize30mm \epsffile{x.eps}}{the x}{the x}
hans@901: %
hans@901: %   \FigNoEntry{}{} :
hans@901: %			same as above, no entry in figures list
hans@901: %
hans@901: %   \FigCaption{} :
hans@901: %			line with figure caption, setting figure
hans@901: %                       counter and figures list
hans@901: %
hans@901: %   \Tab{table}{lot text}{caption} :
hans@901: %			places 'table' and writes caption on top of the table
hans@901: %			with leading 'Tabelle tabno:'. 'lot text' is added to
hans@901: %			the list of tables.
hans@901: %****************************************************************************
hans@901: %       Figure makro for graphics continously enumerated.
hans@901: %
hans@901: 
hans@901: \newcounter{FigCnt}
hans@901: \newcounter{TabCnt}
hans@901: 
hans@901: \newcommand{\Fig}[3]%
hans@901: {
hans@901:         \refstepcounter{FigCnt}
hans@901:         \addcontentsline{lof}{figure}%
hans@901:                 {\protect\numberline{\arabic{FigCnt}}{#2}}
hans@901:         \mbox{#1}
hans@901: 
hans@901: \nopagebreak
hans@901:         {Abbildung \arabic{FigCnt}: #3}
hans@901: 
hans@901: }
hans@901: 
hans@901: \newcommand{\FigNoEntry}[2]%
hans@901: {
hans@901:         \refstepcounter{FigCnt}
hans@901:         \mbox{#1}
hans@901: 
hans@901: \nopagebreak
hans@901:         {Abbildung \arabic{FigCnt}: #2}
hans@901: 
hans@901: }
hans@901: 
hans@901: \newcommand{\FigCaption}[1]%
hans@901: {
hans@901:         \refstepcounter{FigCnt}
hans@901:         \addcontentsline{lof}{figure}%
hans@901:                 {\protect\numberline{\arabic{FigCnt}}{#1}}
hans@901: 
hans@901:         %{Figure \thesection.\arabic{FigCnt}: #1}
hans@901: }
hans@901: 
hans@901: \newcommand{\Tab}[3]%
hans@901: {
hans@901:         \refstepcounter{TabCnt}
hans@901:         \addcontentsline{lot}{figure}%
hans@901:                 {\protect\numberline{\arabic{TabCnt}}{#2}}
hans@901:         {Tabelle \arabic{TabCnt}: #3}
hans@901: \nopagebreak
hans@901:         #1
hans@901: 
hans@901: }
hans@901: 
hans@901: \hyphenation{Intevation}
hans@901: % end macro definition
hans@901: 
hans@901: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
hans@901: 
hans@901: \newcounter{schritt}
hans@901: \renewcommand{\theschritt}{\Roman{schritt}}
hans@901: %\makeatletter\renewcommand{\p@schritt}{Abschnitt~\thesubsubsection~}\makeatother
hans@901: 
hans@901: %-----------------------------------
hans@901: % DOCUMENT SETTINGS
hans@901: \pagestyle{fancy}
hans@901: \setlength{\parindent}{0cm}
hans@901: \setlength{\parskip}{5pt plus 2pt minus 1pt}
hans@901: 
hans@901: % Start actual content here
hans@901: \include{title}
hans@901: \newpage
hans@901: \tableofcontents
hans@901: \include{overview}
hans@901: \include{installation-base}
hans@901: \include{installation-artefact-server}
hans@901: \include{installation-webclient}
hans@901: \include{operating-the-system}
hans@901: 
hans@901: \end{document}




