From 3403d4ae3341385975254363ac172929533b7f7d Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 14 Oct 2009 16:56:13 +0200 Subject: [PATCH] add bacula.sty.in --- docs/manuals/bacula.sty.in | 80 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 docs/manuals/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 +%% -- 2.39.5