]> git.sur5r.net Git - bacula/docs/blob - docs/manuals/bacula.sty.in
Tweak bacula.org html meta data
[bacula/docs] / docs / manuals / bacula.sty.in
1 %% bacula.sty
2 %% Provides macros and other stuff for the bacula manual
3 %% 
4 %% Original Creation -- K. Cunningham 2005-01-09
5 %% 
6 %% 
7 %% 
8 %% New Commands Currently implemented:
9 %% 
10 %% \elink{target}{text}
11 %%    Inserts the text indicated (highlighted) and provides
12 %%    an external hyperlink to the target.
13 %% 
14 %% 
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.
19 %% 
20 %% \lt
21 %%    Inserts a less-than character (<).
22 %%
23 %% \gt
24 %%    Inserts a greater-than character (>).
25 %%
26 %% \idir
27 %%    Inserts the path to the images
28 %%
29 %% 
30 %% 
31 \ProvidesPackage{bacula}[2008/10/03]
32 %%
33 %%
34 %% define images directory -- KES 15Aug08
35 \def\idir{@BUILD_DIR@/images/}  %% images directory
36
37 \def\version{@VERSION@}
38
39
40 %%
41 \newcommand*{\elink}[2]{%
42   \htmladdnormallink{#1}{#2}%
43 }
44 %%
45 \newcommand*{\ilink}[2]{%
46   \htmlref{#1}{#2}%
47 }
48 %%
49 \newcommand{\dq}{\verb+"+}
50 \newcommand{\vb}{$|$}
51 \newcommand{\lt}{$<$}
52 \newcommand{\gt}{$>$}
53
54 %% copied from /usr/share/texmf/tex/latex/base/book.cls, and
55 %%  modified to suit.  KEC 4-28-05
56 %% KEC: Removed the two-column arrangement, and added \newpage
57 \renewenvironment{theindex}
58                {\if@twocolumn
59                   \@restonecolfalse
60                 \else
61                   \@restonecoltrue
62                 \fi
63 %% KEC:  Switch to one column.
64 %%              \columnseprule \z@
65 %%              \columnsep 35\p@
66 %%              \twocolumn[\@makeschapterhead{\indexname}]%
67                 \@mkboth{\MakeUppercase\indexname}%
68                         {\MakeUppercase\indexname}%
69                                 \clearpage
70                                 \subsection*{\indexname}
71                                 \addcontentsline{toc}{subsection}{\indexname}
72                 \thispagestyle{plain}\parindent\z@
73                 \parskip\z@ \@plus .3\p@\relax
74                 \let\item\@idxitem}
75                                 {\if@restonecol\onecolumn\else\clearpage\fi}   %% Is this needed???
76
77 %% 
78 \endinput
79 %%