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

Commit

Permalink
make document work with babel
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Sep 21, 2015
1 parent f264569 commit 3db8a0b
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 17 deletions.
3 changes: 3 additions & 0 deletions manuals/en/main/bareos-manual-main-reference.tex
Expand Up @@ -14,6 +14,9 @@
\textheight 10in
\textwidth 6.5in


\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{float}
\usepackage{graphicx}
\DeclareGraphicsExtensions{.png,.jpg}
Expand Down
4 changes: 4 additions & 0 deletions manuals/en/main/bareos.sty
Expand Up @@ -135,6 +135,7 @@
%
% bcommand{command}{parameter}
\newcommand{\bcommand}[2]{\path|#1| \path|#2|}
\newcommand{\bconsoleOutput}[1]{\path|#1|}
\newcommand{\bnfvar}[1]{\lt#1\gt}
\newcommand{\commandPrompt}{root{\at}linux:\~{}\# }
\newcommand{\command}[1]{\path|#1|}
Expand All @@ -152,6 +153,7 @@
\newcommand{\parameter}[1]{\path|#1|}
\newcommand{\registrykey}[1]{\path|#1|}
\newcommand{\variable}[1]{\path|#1|}
\newcommand{\volume}[1]{\path|#1|}
\newcommand{\os}[2]{\ifthenelse{\isempty{#2}}{%
\path|#1|\index[general]{Platform!#1}%
}{%
Expand All @@ -161,6 +163,8 @@
\newcommand{\vmware}{VMware\registered}
\newcommand{\vSphere}{VMware vSphere\registered}

% Bareos quote
\newcommand{\bquote}[1]{``#1''}
%%
\newcommand{\debug}[1]{\marginpar{#1}}
%%
Expand Down
28 changes: 15 additions & 13 deletions manuals/en/main/director-resource-pool-definitions.tex
Expand Up @@ -95,33 +95,35 @@
Volume names during automatic Volume labeling.

The {\bf format} should be specified in double quotes, and consists of
letters, numbers and the special characters hyphen ({\bf -}), underscore
({\bf \_}), colon ({\bf :}), and period ({\bf .}), which are the legal
characters for a Volume name. The {\bf format} should be enclosed in
double quotes (").
letters, numbers and the special characters hyphen (\path|-|), underscore
(\path|_|), colon (\path|:|), and period (\path|.|), which are the legal
characters for a Volume name. The format should be enclosed in
double quotes (\path|"|).

In addition, the format may contain a number of variable expansion
characters which will be expanded by a complex algorithm allowing you to
create Volume names of many different formats. In all cases, the
expansion process must resolve to the set of characters noted above that
are legal Volume names. Generally, these variable expansion characters
begin with a dollar sign ({\bf \$}) or a left bracket ({\bf [}). If you
begin with a dollar sign (\path|$|)
or a left bracket (\path|[|). If you
specify variable expansion characters, you should always enclose the
format with double quote characters ({\bf "}). For more details on
variable expansion, please see the \ilink{Variable
Expansion}{VarsChapter} Chapter of this manual.
format with double quote characters (\path|"|). For more details on
variable expansion, please see the
\ilink{Variable Expansion}{VarsChapter} Chapter of this manual.
If no variable expansion characters are found in the string, the Volume
name will be formed from the {\bf format} string appended with the
a unique number that increases. If you do not remove volumes from the
pool, this number should be the number of volumes plus one, but this
is not guaranteed. The unique number will be edited as four
digits with leading zeros. For example, with a {\bf Label Format =
"File-"}, the first volumes will be named {\bf File-0001}, {\bf
File-0002}, ...
digits with leading zeros. For example, with a
\configdirective{Label Format = "File-"},
the first volumes will be named \volume{File-0001}, \volume{File-0002}, ...
With the exception of Job specific variables, you can test your {\bf
LabelFormat} by using the \ilink{var command}{var} the Console Chapter
With the exception of Job specific variables, you can test your
\configdirective{Label Format}
by using the \ilink{var command}{var} the Console Chapter
of this manual.
In almost all cases, you should enclose the format specification (part
Expand Down
2 changes: 1 addition & 1 deletion manuals/en/main/howto.tex
Expand Up @@ -767,7 +767,7 @@ \subsubsection{Backup of a MySQL Databases by using the Python MySQL plugin}
\begin{itemize}
\item \textit{db}, comma separated list of databases to save, where each database will be stored in a separate file. If ommited, all databases will be saved.
\item \textit{dumpbinary}, command (with or without full path) to create the dumps. Default: mysqldump
\item \textit{dumpoptions}, options for dumpbinary, default: " --events --single-transaction"
\item \textit{dumpoptions}, options for dumpbinary, default: \bquote{ --events --single-transaction}
\item \textit{mysqlhost}, MySQL host to connect to, default: localhost
\item \textit{mysqluser}, MySQL user. Default: unset, the user running the file-daemon will be used (usually root)
\item \textit{mysqlpassword}, MySQL password. Default: unset (better use my.cnf to store passwords)
Expand Down
5 changes: 3 additions & 2 deletions manuals/en/main/restore.tex
Expand Up @@ -263,8 +263,9 @@ \section{The Restore Command}
\end{verbatim}
\normalsize

Depending on the number of {\bf JobFiles} for each JobId, the {\bf Building
directory tree ..."} can take a bit of time. If you notice ath all the
Depending on the number of {\bf JobFiles} for each JobId,
the \bquote{\bconsoleOutput{Building directory tree ...}} can take a bit of time.
If you notice ath all the
JobFiles are zero, your Files have probably been pruned and you will not be
able to select any individual files -- it will be restore everything or
nothing.
Expand Down
3 changes: 2 additions & 1 deletion manuals/en/main/win32.tex
Expand Up @@ -497,7 +497,8 @@ \section{Volume Shadow Copy Service (VSS)}
\end{verbatim}
\normalsize
In the above Job Report listing, you see that the VSS snapshot was generated for drive C (if
other drives are backed up, they will be listed on the {\bf Drive(s)="C"}. You also see the
other drives are backed up, they will be listed on the \bconsoleOutput{Drive(s)="C"} line.
You also see the
reports from each of the writer program. Here they all report VSS\_WS\_STABLE, which means
that you will get a consistent snapshot of the data handled by that writer.

Expand Down

0 comments on commit 3db8a0b

Please sign in to comment.