2 %% Provides macros and other stuff for the bacula manual
4 %% Original Creation -- K. Cunningham 2005-01-09
8 %% New Commands Currently implemented:
10 %% \elink{target}{text}
11 %% Inserts the text indicated (highlighted) and provides
12 %% an external hyperlink to the target.
15 %% \ilink{target}{text}
16 %% Inserts the text indicated (highlighted) and provides
17 %% an internal hyperlink to the target. Target must be a
18 %% \label somewhere in the same document.
21 %% Inserts a less-than character (<).
24 %% Inserts a greater-than character (>).
27 %% Inserts the path to the images
31 \ProvidesPackage{bacula}[2008/10/03]
34 %% define images directory -- KES 15Aug08
35 \def\idir{@BUILD_DIR@/images/} %% images directory
37 \def\version{@VERSION@}
41 \def\mbacula{Bacula Enterprise}
42 \def\miscman{Misc \mbacula{} Manual}
43 \def\consoleman{Console \mbacula{} Manual}
44 \def\mainman{Main \mbacula{} Manual}
45 \def\devman{Developers \mbacula{} Manual}
46 \definecolor{bsysredtwo}{cmyk}{0., 1., 0.87, 0.06}
47 \definecolor{lightbsysgrey}{cmyk}{0.00, 0.00, 0., 0.10 }
50 \newenvironment{Aenumerate}[0]{%
51 \renewcommand{\theenumi}{\Alph{enumi}}%
52 \renewcommand{\theenumii}{\arabic{enumii}}%
53 \renewcommand{\theenumiii}{\alph{enumiii}}%
54 \renewcommand{\theenumiv}{\roman{enumiv}}%
55 \begin{enumerate}}{\end{enumerate}}
58 %%% #1: Text to display
60 %%% #3: manual: main, console, misc, developers
61 %%% #4: text as reference level. will be displayed ``as is''
64 %%% \bsysxrlink{Console Configuration}{ConsoleConfChapter}{main}{chapter}
66 %%% Console Configuration chapter (chapter 30 on page 269)
67 \newcommand*{\bsysxrlink}[4]{%
68 \href{../#3/#3}{#1 #4 (#4 \vref{#3-#2})}
75 \newcommand*{\elink}[2]{%
76 \htmladdnormallink{#1}{#2}%
79 \newcommand*{\ilink}[2]{%
83 \newcommand{\dq}{\verb+"+}
88 %% copied from /usr/share/texmf/tex/latex/base/book.cls, and
89 %% modified to suit. KEC 4-28-05
90 %% KEC: Removed the two-column arrangement, and added \newpage
91 \renewenvironment{theindex}
97 %% KEC: Switch to one column.
100 %% \twocolumn[\@makeschapterhead{\indexname}]%
101 \@mkboth{\MakeUppercase\indexname}%
102 {\MakeUppercase\indexname}%
104 \subsection*{\indexname}
105 \addcontentsline{toc}{subsection}{\indexname}
106 \thispagestyle{plain}\parindent\z@
107 \parskip\z@ \@plus .3\p@\relax
109 {\if@restonecol\onecolumn\else\clearpage\fi} %% Is this needed???