From: Kern Sibbald Date: Wed, 14 Oct 2009 14:56:13 +0000 (+0200) Subject: add bacula.sty.in X-Git-Tag: Release-3.0.3~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3403d4ae3341385975254363ac172929533b7f7d;p=bacula%2Fdocs add bacula.sty.in --- diff --git a/docs/manuals/bacula.sty.in b/docs/manuals/bacula.sty.in new file mode 100644 index 00000000..5bcc06eb --- /dev/null +++ b/docs/manuals/bacula.sty.in @@ -0,0 +1,80 @@ +%% 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@} + +\def\fullversion{@VERSION@ (@DATE@)} + +%% +\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 +%%