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}
47 %%% #1: Text to display
49 %%% #3: manual: main, console, misc, developers
50 %%% #4: text as reference level. will be displayed ``as is''
53 %%% \bsysxrlink{Console Configuration}{ConsoleConfChapter}{main}{chapter}
55 %%% Console Configuration chapter (chapter 30 on page 269)
56 \newcommand*{\bsysxrlink}[4]{%
57 \href{../#3/#3}{#1 #4 (#4 \vref{#3-#2})}
64 \newcommand*{\elink}[2]{%
65 \htmladdnormallink{#1}{#2}%
68 \newcommand*{\ilink}[2]{%
72 \newcommand{\dq}{\verb+"+}
77 %% copied from /usr/share/texmf/tex/latex/base/book.cls, and
78 %% modified to suit. KEC 4-28-05
79 %% KEC: Removed the two-column arrangement, and added \newpage
80 \renewenvironment{theindex}
86 %% KEC: Switch to one column.
89 %% \twocolumn[\@makeschapterhead{\indexname}]%
90 \@mkboth{\MakeUppercase\indexname}%
91 {\MakeUppercase\indexname}%
93 \subsection*{\indexname}
94 \addcontentsline{toc}{subsection}{\indexname}
95 \thispagestyle{plain}\parindent\z@
96 \parskip\z@ \@plus .3\p@\relax
98 {\if@restonecol\onecolumn\else\clearpage\fi} %% Is this needed???