%% bacula.sty %% Provides macros and other stuff for the bacula manual %% %% Original Creation -- K. Cunningham 2005-01-09 %% %% %% %% New Commands Currently implemented: %% %% \elink{target}{text} %% Inserts the text indicated (highlighted) and provides %% an external hyperlink to the target. %% %% %% \ilink{target}{text} %% Inserts the text indicated (highlighted) and provides %% an internal hyperlink to the target. Target must be a %% \label somewhere in the same document. %% %% \lt %% Inserts a less-than character (<). %% %% \gt %% Inserts a greater-than character (>). %% %% \idir %% Inserts the path to the images %% %% %% \ProvidesPackage{bacula}[2008/10/03] %% %% %% define images directory -- KES 15Aug08 \def\idir{@BUILD_DIR@/images/} %% images directory \def\version{@VERSION@} %%% %%% Philippe Chauvat %%% 01-Oct-2012 \def\mbacula{Bacula Enterprise} \def\miscman{Misc \mbacula{} Manual} \def\consoleman{Console \mbacula{} Manual} \def\mainman{Main \mbacula{} Manual} \def\devman{Developers \mbacula{} Manual} \definecolor{bsysredtwo}{cmyk}{0., 1., 0.87, 0.06} \definecolor{lightbsysgrey}{cmyk}{0.00, 0.00, 0., 0.10 } %% %% A.1.b.ii enumerate \newenvironment{Aenumerate}[0]{% \renewcommand{\theenumi}{\Alph{enumi}}% \renewcommand{\theenumii}{\arabic{enumii}}% \renewcommand{\theenumiii}{\alph{enumiii}}% \renewcommand{\theenumiv}{\roman{enumiv}}% \begin{enumerate}}{\end{enumerate}} %% %%% %%% #1: Text to display %%% #2: Label defined %%% #3: manual: main, console, misc, developers %%% #4: text as reference level. will be displayed ``as is'' %%% %%% Example: %%% \bsysxrlink{Console Configuration}{ConsoleConfChapter}{main}{chapter} %%% will display %%% Console Configuration chapter (chapter 30 on page 269) \newcommand*{\bsysxrlink}[4]{% \href{../#3/#3}{#1 #4 (#4 \vref{#3-#2})} } %%% %%% --- PCT %% \newcommand*{\elink}[2]{% \htmladdnormallink{#1}{#2}% } %% \newcommand*{\ilink}[2]{% \htmlref{#1}{#2}% } %% \newcommand{\dq}{\verb+"+} \newcommand{\vb}{$|$} \newcommand{\lt}{$<$} \newcommand{\gt}{$>$} %% copied from /usr/share/texmf/tex/latex/base/book.cls, and %% modified to suit. KEC 4-28-05 %% KEC: Removed the two-column arrangement, and added \newpage \renewenvironment{theindex} {\if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi %% KEC: Switch to one column. %% \columnseprule \z@ %% \columnsep 35\p@ %% \twocolumn[\@makeschapterhead{\indexname}]% \@mkboth{\MakeUppercase\indexname}% {\MakeUppercase\indexname}% \clearpage \subsection*{\indexname} \addcontentsline{toc}{subsection}{\indexname} \thispagestyle{plain}\parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\@idxitem} {\if@restonecol\onecolumn\else\clearpage\fi} %% Is this needed??? %% \endinput %%