]> git.sur5r.net Git - bacula/docs/commitdiff
console manual corrections
authorPhilippe Chauvat <philippe.chauvat@baculasystems.com>
Wed, 10 Oct 2012 15:44:08 +0000 (17:44 +0200)
committerEric Bollengier <eric@baculasystems.com>
Wed, 10 Oct 2012 15:47:08 +0000 (17:47 +0200)
docs/bsysmanual/bsysmanual.cls
docs/manuals/en/console/Makefile.in
docs/manuals/en/console/bconsole.tex

index 2ef6a8e38d9f721f720cd5bf1ce9cace5af7feac..7cec2c3b958160f96e3d1a8ee64136104ab9fdac 100644 (file)
@@ -50,7 +50,7 @@
 \ProvidesClass{bsysmanual}
               [2010/10/19 v1.2
  Standard Bsys Book LaTeX document class]
-\usepackage{eso-pic,atxy,color,lastpage,calc,ifthen}
+\usepackage{eso-pic,atxy,color,calc,ifthen}
 \AtBeginDocument{\setlength\parindent{0pt}}
 \newcommand\@ptsize{}
 \newif\if@restonecol
   \newcommand\maketitle{
        \begin{titlepage}%
 \thispagestyle{empty}
+  \if@bsyslogo
+  \atxy(0mm,0mm){\bsyscoverpage{}}
+  \fi
+  ~\clearpage
   \let\footnotesize\small
   \let\footnoterule\relax
   \let \footnote \thanks
-%
-  \null
+  \null\vfil
 %  \vskip 60\p@
-%  \begin{center}%
-  \if@bsyslogo
-  \atxy(0mm,0mm){\bsyscoverpage{}}
-  \fi
-  %%%%
-  %%%% Where TITLE and SUBTITLE goes
-%%   \atxy(70mm,115.6mm){%
-%%     \begin{minipage}{121.2mm}%
-%%          {{\fontfamily{bh0}\fontsize{32pt}{5pt}\fontseries{b}\fontshape{n}\selectfont\@title}}
-%% %         {{\myTitleFont\@title}}
-%%          \\[1em]
-%%          {{\fontfamily{bh0}\fontsize{15pt}{5pt}\fontseries{n}\fontshape{n}\selectfont\mySubTitle}}
-%% %         {{\mySubTitleFont \mySubTitle{}}}
-%%     \end{minipage}%
-%%   }
-  %%%
-  %%% Where AUTHORS goes (BACULA SYSTEMS WHITE PAPER) LOWER-LEFT CORNER
-%%   \atxy(4mm,245mm){%
-%%     \begin{minipage}{50mm}%
-%%       \raggedleft
-%%            {{\fontfamily{bh0}\fontsize{26pt}{1mm}\fontseries{b}\fontshape{n}\selectfont\textcolor{grisbsys}{\myAuthor}}}
-%% %          {\myNameFont \textcolor{grisbsys}{\myAuthor}}
-%%     \end{minipage}%
-%%   }
-%%   %%%
-%%   %%% where DESCRIPTION OF CONTENTS goes.
-%%   \atxy(70mm,180mm){
-%%     \begin{minipage}{121.3mm}
-%%       {{%
-%% %%%\fontfamily{bh0}
-%% \fontsize{13pt}{1mm}\fontseries{n}\fontshape{n}\selectfont\textcolor{black}{\myabstract}}}
-%% %%%      {{\myAbstractFont \textcolor{black}{\myabstract{}}}}
-%%     \end{minipage}
-%% }
-%%   %%%
-%%   %%% Where DATA and VERSION goes
-%%   \atxy(70mm,248mm){
-%%     \begin{minipage}{100mm}
-%%       {{\fontfamily{bh0}\fontsize{8pt}{1mm}\fontseries{l}\fontshape{n}\selectfont\textcolor{white}{\ifthenelse{\equal{\myVersion}{generated}}{Generated
-%%       \myDate}{Version \myVersion{}, \myDate{}}}}}
-%% %%      {{\myAbstractFont \textcolor{white}{Version \myVersion{}, \myDate{}}}}
-%%       \end{minipage}
-%%     }
-\@thanks
+  \begin{center}%
+    {\LARGE \@title \par}%
+    \vskip 2em%
+    {\large
+     \lineskip .5em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+      \vskip 0.5em%
+    {\large \@date \par}%       % Set date in \large size.
+  \end{center}\par
+  \@thanks
   \vfil\null
-    \end{titlepage}%
-%  \if@bsyslogo
-%  \AddToShipoutPicture{\BackgroundPic}
-%  \fi
-    \setcounter{footnote}{0}%
+  \end{titlepage}%
+  \setcounter{footnote}{0}%
   \global\let\thanks\relax
   \global\let\maketitle\relax
   \global\let\@thanks\@empty
index 1d313329832d26c98671d992c2e7e0edb9c0a3a1..4befbda5d7488057190f9cb6cfa461884a649641 100644 (file)
@@ -40,6 +40,10 @@ DOC=console
 MAINDOC=Bacula_Console_Operators_Gu.html
 BSYSMANUALDIR=../../../bsysmanual
 COVERSDIR=../../../covers/pdf
+LICENSESDIR=../../licences
+COVERNAME=console-coverpage
+BSYSMANNAME=bsysmanual-coverpagebackground
+LICENCES=$(wildcard $(LICENSESDIR)/*.tex)
 
 first_rule: all
 
@@ -49,22 +53,44 @@ all: tex web dvipdf mini-clean
 .PHONY:
 .DONTCARE:
 
-
 pdfcovers:
        @echo -n "Linking coverpage and background PDF format..."
-       @ln -sf `pwd`/${COVERSDIR}/coverpage-book.v2.pdf `pwd`/${BSYSMANUALDIR}/bsysmanual-coverpagebackground.pdf
-       @ln -sf `pwd`/${COVERSDIR}/book-background.pdf `pwd`/${BSYSMANUALDIR}/bsysmanual-oddpagebackground.pdf
-       @ln -sf `pwd`/${COVERSDIR}/book-background.pdf `pwd`/${BSYSMANUALDIR}/bsysmanual-evenpagebackground.pdf
+       @ln -sf `pwd`/${COVERSDIR}/${COVERNAME}.pdf `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf
        @echo "Done."
 
-epscovers:
-       @echo -n "Linking coverpage and background EPS format..."
-       @ln -sf `pwd`/${COVERSDIR}/coverpage-book.v2.eps `pwd`/${BSYSMANUALDIR}/bsysmanual-coverpagebackground.eps
-       @ln -sf `pwd`/${COVERSDIR}/book-background.eps `pwd`/${BSYSMANUALDIR}/bsysmanual-oddpagebackground.eps
-       @ln -sf `pwd`/${COVERSDIR}/book-background.eps `pwd`/${BSYSMANUALDIR}/bsysmanual-evenpagebackground.eps
+pdfimages: 
+       @echo "Generating PDF images..."
+       @(cd ${IMAGES}/svg ; make pdf)
+       @echo "Done."
+
+pngimages:
+       @echo "Generating PNG images..."
+       @(cd ${IMAGES}/svg ; make png)
        @echo "Done."
 
-tex:   epscovers
+epsimages:
+       @echo "Generating EPS images..."
+       @(cd ${IMAGES}/svg ; make eps)
+       @echo "Done."
+
+epscovers:
+       echo -n "Linking coverpage and background EPS format..."
+       (if [ ! -e ${COVERSDIR}/${COVERNAME}.eps ]; then \
+               cd ${COVERSDIR} ; \
+               pdf2ps ${COVERNAME}.pdf; \
+               ps2eps ${COVERNAME}.ps; \
+               rm ${COVERNAME}.ps; \
+       fi)
+       ln -sf `pwd`/${COVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps
+       rm `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf
+       echo "Done."
+
+commonfiles:
+       @echo -n "Linking shared files..."
+       @(for L in $(LICENCES); do ln -sf $$L .; done)
+       @echo "Done"
+
+tex:   pdfcovers epscovers epsimages commonfiles
        @../../update_version
        @echo "Making version `cat version.tex`"
        @cp -fp ${IMAGES}/hires/*.eps .
@@ -79,9 +105,8 @@ pdf:
        @cp -fp ${IMAGES}/hires/*.eps .
        dvipdfm -p a4 ${DOC}.dvi
 
-pdflatex: pdfcovers
+pdflatex: pdfcovers pdfimages commonfiles
        @echo "Making pdflatex"
-       @cp -fp ${IMAGES}/hires/*.eps .
        pdflatex -interaction=batchmode ${DOC}.tex
        makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null
        pdflatex -interaction=batchmode ${DOC}.tex
index 511bbde6f4fb1b263a74f907b41066392cfa20b5..d0cecf17f856cf6676778742c2aef4fd0a800a04 100644 (file)
@@ -1,10 +1,10 @@
 %%
 %%
 
-\chapter{\mbacula{} Console}
+\chapter{Bacula Enterprise Console}
 \label{_ConsoleChapter}
-\index[general]{Console!\mbacula{}}
-\index[general]{\mbacula{} Console}
+\index[general]{Console!Bacula}
+\index[general]{Bacula Console}
 
 The {\bf \mbacula{} Console} (sometimes called the User Agent) is a program
 that allows the user or the System Administrator, to interact with the