%%
%%
%%  The following characters must be preceded by a backslash
%%    to be entered as printable characters:
%%
%%   # $ % & ~ _ ^ \ { }
%%

%%%
%%% 26-sept-2012 - Philippe Chauvat
%%% Modifications to integrate a new design
%% All prefixed by PCT
\documentclass[10pt,bsyspaper,english,logo,titlepage]{bsysmanual}

%%% +++ PCT
%% \topmargin -0.5in
%% \oddsidemargin 0.0in
%% \evensidemargin 0.0in
%% \textheight 10in
%% \textwidth 6.5in
\renewcommand{\familydefault}{\sfdefault}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{longtable,graphicx,fancyhdr,lastpage,eurosym,dcolumn,ltxtable,textcomp,varioref,lscape,pdfpages,ifthen,setspace,colortbl,diagbox}
\usepackage{lmodern}
\usepackage{MnSymbol}
\usepackage{bbding,multirow}
\usepackage{babel,xr-hyper}
\usepackage[hyphens]{url}
\usepackage[plainpages=true,bookmarks=false,bookmarksopen=false,filecolor=black,linkcolor=black,urlcolor=bsysredtwo,filebordercolor={0. 0. 0.},menubordercolor={0. 0. 0.},urlbordercolor={0. 0. 0.},linkbordercolor={0. 0. 0.},hyperindex=false,colorlinks=true]{hyperref}
\usepackage[font={sf,bf},textfont=md]{caption}
\usepackage[printonlyused]{acronym}
\setlength\arrayrulewidth{0.4pt}
%\include{bsysincludes}
\include{bsyscommondefs}
\usepackage[left=4cm,right=3cm,bottom=2cm,top=2.5cm]
{geometry}
\usepackage{moreverb,fancyvrb}
\usepackage{listings}
\usepackage{xr}
\input{console.lang}
\input{external-references}
%%% --- PCT
\usepackage{html}
\usepackage{float}
\usepackage{graphicx}
\usepackage{bacula}
\usepackage{longtable}
\usepackage{makeidx}
\usepackage{index}


\makeindex
\newindex{general}{idx}{ind}{General Index}

\sloppy

\begin{document}
\lstset{escapechar=,breaklines=true,basicstyle=\ttfamily\footnotesize,backgroundcolor=\color{lightbsysgrey}}

\sloppy

\newfont{\bighead}{cmr17 at 36pt}
\parskip 10pt
\parindent 0pt

\title{\includegraphics{\idir bacula-logo.eps} \\ \bigskip
  \Huge{Bacula Console and Operators Guide}
  \begin{center}
   \large{The Leading Open Source Backup Solution. }
  \end{center}
}

%%% --- Header and footer
\fancypagestyle{plain}{%
\fancyhf{}%
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0.4pt}
\fancyhead[LE,RO]{\small{\textit{Bacula Console and Operators Guide}}}%
\fancyhead[RE,LO]{\small{\textit{\textcolor{bsysredtwo}{\leftmark}}}}%Bacula Console and Opertors Guide}}}}%
\fancyfoot[RE,LO]{\small{\href{http://www.baculasystems.com}{www.baculasystems.com}
- \textit{Bacula Console and Operators Guide}}}% -- DRAFT}}}
\fancyfoot[LE,RO]{\small{\textit{\thepage/\pageref{LastPage}}}}
}

%%% --- Header and footer
\pagestyle{plain}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markboth{#1}{}}

\date{\vspace{1.0in}\today \\
      This manual documents Bacula version \input{version} \\
      \vspace{0.2in}
      Copyright \copyright 1999-2010, Free Software Foundation Europe
      e.V. \\
      \vspace{0.2in}
  Permission is granted to copy, distribute and/or modify this document under the terms of the
  GNU Free Documentation License, Version 1.2 published by the Free Software Foundation; 
  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  A copy of the license is included in the section entitled "GNU Free Documentation License".
}

\maketitle

%\clearpage
\tableofcontents
%\clearpage

\include{bconsole} 
\include{fdl}


% The following line tells link_resolver.pl to not include these files:
% nolinks developersi baculai-dir baculai-fd baculai-sd baculai-console baculai-main

% pull in the index
\clearpage
\printindex[general]

\end{document}
