Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
tabular format,
automatic index when using linkDirective,
bold index for directive description,
platform specific note also in description,
store resource definitions in separate file,
unifies some label naming and use nameref.
  • Loading branch information
joergsteffens committed Oct 17, 2014
1 parent b120c62 commit bddedff
Show file tree
Hide file tree
Showing 11 changed files with 364 additions and 337 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -2,6 +2,8 @@
*.aux
*.backup
*.dvi
*.htidx
*.htind
*.idx
*.ilg
*.ind
Expand All @@ -14,6 +16,7 @@
*.sty
*.4ct
*.4tc
*.4ix
*.idv
*.lg
*.tmp
Expand Down
21 changes: 18 additions & 3 deletions manuals/en/main/bareos.sty
Expand Up @@ -80,7 +80,7 @@
%\htmlref{#1}{#2}%
\hyperref[#2]{#1}%
}
% or use \autoref{label} (or \nameref{label}
% or use \nameref{label} or \autoref{label}

% for links directly to a text (not just only to the section) use
% \hyppertarget{label}{text}
Expand Down Expand Up @@ -199,8 +199,8 @@ Version $>=$ #3%
\ifthenelse{\isempty{#6}}{}{(default: #6)}%
\ifthenelse{\isempty{#5}}{}{(#5)}%
\hfill \\%
\index[\daemon]{#3}%
\index[\daemon]{Directive!#3}%
\index[\daemon]{#3|textbf}%
\index[\daemon]{Directive!#3|textbf}%
\ifthenelse{\equal{#7}{deprecated}}{%
\warning{This directive is deprecated.\\}
}{}%
Expand Down Expand Up @@ -281,6 +281,21 @@ Version $>=$ #3%
% 2: Resource
% 3: Directive Name
%
\ifthenelse{\equal{#1}{Dir}}{
\def\daemon{dir}
}{
\ifthenelse{\equal{#1}{Sd}}{
\def\daemon{sd}
}{
\ifthenelse{\equal{#1}{Fd}}{
\def\daemon{fd}
}{
% hopefully, no translatation needed. Take original parameter
\def\daemon{#1}
}
}
}
\index[\daemon]{Directive!#3}%
\hyperlink{directive#1#2#3}{#3}%
}

Expand Down
2 changes: 1 addition & 1 deletion manuals/en/main/catmaintenance.tex
Expand Up @@ -16,7 +16,7 @@ \section{Catalog Database}
\item Sqlite (only for testing)
\end{itemize}

What database will be used, can be configured in \file{/etc/bareos/bareos-dir.conf}, see the \ilink{Catalog ressource}{CatalogResource}.
What database will be used, can be configured in \file{/etc/bareos/bareos-dir.conf}, see the \nameref{DirectorResourceCatalog}.
The database often runs on the same server as the Bareos Director.
However, it is also possible to run it on a different system.
This might require some more manual configuration.
Expand Down
1 change: 1 addition & 0 deletions manuals/en/main/dirdconf-fileset.tex
@@ -1,5 +1,6 @@

\section{FileSet Resource}
\label{DirectorResourceFileSet}
\label{FileSetResource}
\index[general]{Resource!FileSet}
\index[general]{FileSet!Resource}
Expand Down

0 comments on commit bddedff

Please sign in to comment.