Hello Simone,

Apparently there are a number of places to get the atxy.sty file, but the easiest, I think is that I have now put a copy in the latex subdirectory of the docs, and I have now committed it to the git repo. 

So, hopefully, here are two alternatives for fixing the problem:

1. Pull the latest docs git repo Branch-7.0.0, and the file should be in <docs>/latex

2. I have attached the file here, and if you put it in the latex subdirectory, it should be automatically picked up by LaTeX.

Best regards,
Kern

On 04/01/2014 01:39 PM, Simone Caronni wrote:
Just for the record, I've also added "export TEXMFLOCAL=~/texmf" to the build, but this did not make the trick anyway.

Thanks,
--Simone


On 1 April 2014 13:16, Simone Caronni <negativ...@gmail.com> wrote:
Thanks for the super fast debugging.

On 1 April 2014 12:27, Kern Sibbald <k...@sibbald.com> wrote:
I think I found your problem.  You probably don't have a ~/texmf directory.  I have just pushed a change to the git docs repo that automatically creates it for you (I really don't like creating things like ~/texmf, but that is what needed).

You can also manually run the command:

mktexlsr ~/texmf

I found it quite confusing, the "how to build" commit shows this in the instructions, so "atxy.sty" seems to be included:

+What do you need to produce the documentation?
+==============================================
+- a complete latex distribution
+- a working inkscape
+- a working latex2html
+- the atxy.sty package (currently provided into the docs/bsysmanual/ directory)
+
+On Debian stable version, the following are sufficient to produce the manuals:
+aptitude install make
+aptitude install inkscape
+aptitude install texlive-full
+aptitude install latex2html
+aptitude install gawk
+
+It could be necessary to define an "EXPORT TEXMFLOCAL=~/texmf".

But at the beginning of the file there's a statement that says that the directory containing "atxy.sty" is only used in the enterprise version:

+Note: this document is used for the Bacula Enterprise version and some
+things are different in the community version, for example, the directory
+bsysmanual is only used in the Bacula Enterprise version. That said,
+this document might be useful.

While the fix is to create the "~/texmf" folder? Anyway, I tried the latest git tree but this does not work. I think you need to add the /bsysmanual/ folder in the docs git repository.

Here is the error I have with or without the "mktexlsr ~/texmf" command:

==>Entering directory /builddir/build/BUILD/bacula-docs-7.0.1/manuals/en/main
make[1]: Entering directory `/builddir/build/BUILD/bacula-docs-7.0.1/manuals/en/main'
Making output directories...
echo "Output directories done"
Output directories done
 
Building external references for main
This is pdfTeX, Version 3.1415926-2.6-1.40.14 (TeX Live 2014/dev)
 restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 62 languages loaded.
(../../../latex/borgmanual.cls
Document Class: borgmanual 2014/03/02 v1.0 Standard bacula.org Book LaTeX docum
ent class
(/usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def)))

! LaTeX Error: File `atxy.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
        
l.54 \definecolor
                 {bluebat}{cmyk}{0.0, 1.0, 1.0, 0.55}%{0.38, 0.17, 0.0, 0.27...
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on ../pdf-and-html/main/main.log.
make[1]: *** [external-references] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/bacula-docs-7.0.1/manuals/en/main'

Thanks,
--Simone


--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/



--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/


------------------------------------------------------------------------------


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


%%%%%% atxy.sty  V1.1
% at.sty     Colin Hogben (c...@jet.uk)
% 12-Aug-91  First version
% 20-Mar-92  Fixed to allow for \headheight
% 06-Jul-93  \@useat only used in case of any \at material (B.gaulle)
% 07-Jul-93  at -> atxy, reset of \par added to \output (Y. Delmas)
% 08-Jul-93  \global setting of \atxytrue. 
%            Reset @ original \catcode (letter or other).
%            \kerning of \voffset & \hoffset required.   (B.Gaulle) 
% 25-Jan-94  \atxy printed nothing at all (pointed by Ph. Louarn)
%            when one \atxy was specified between \begingroup and \endgroup.
%            The \setbox nedded to be \global.  This will be V1.1 (B. Gaulle) 
%
% \atxy(HPOS,VPOS){TEXT}         % Y
% Positions TEXT at an absolute distance of HPOS from the left edge
% and VPOS from the top edge of the current page.
%
% Example:
%   \atxy(2cm,5cm){\parbox[t]{10cm}{
%       Name\\          % Recipient's name and address positioned
%       Address\\etc.}} % suitably for a windowed envelope
% -----------------------------------------------------------------
%%
%%      checksum        = "19479 77 357 2869"
%%
% -----------------------------------------------------------------
%
% First create a box in which to store absolute positioned material.
%
\ifcat/@ \makeatletter\let\resetat\makeatother% save @ \catcode
                      \else\let\resetat\relax\fi% (letter or other only)
\newbox\@atxybox%
\newif\if@atxy\@atxyfalse% --bg
%
% atxy(HPOS,VPOS){TEXT}
% Add the TEXT to the box with suitable offsets applied.
%
\long\def\atxy(#1,#2)#3{\global\setbox\@atxybox=\hbox% --bg
 {\unhbox\@atxybox
  \vtop to 0pt{\kern #2\hbox to 0pt{\kern #1\relax #3\hss}\vss}}%
 \global\@atxytrue}% --bg
%
% Unload the saved absolute-positioned material.
% Teleport to the actual top corner of the page by undoing the header
% separation, the top and side margins, and the mysterious 1 inch
% offset applied to each. Then make it look like a singularity (zero
% height, depth and width).
%
\def\@useatxy{\if@atxy% --bg
  \vtop to 0pt{\kern-\headsep \kern-\topmargin \kern-\headheight 
               \kern-1in \kern-\voffset
    \hbox to 0pt{\kern-\@themargin \kern-1in \kern-\hoffset
\unhbox\@atxybox \hss}\vss}%
            \fi\global\@atxyfalse}% --bg
%
% The following is a copy of the latex.tex \output routine except for
% line 1: this prepends the shifted absolute material to the current
% page. A little unsafe to copy code like this, but I couldn't work
% out where else to insert the box.
%
\output{\setbox255=\vbox{\@useatxy \unvbox255}\let\par\@@par%
  \ifnum\outputpenalty <-\@M\@specialoutput\else%
  \@makecol\@opcol\@floatplacement\@startcolumn%
  \@whilesw\if@fcolmade \fi{\@opcol\@startcolumn}\fi%
  \global\vsize\ifnum\outputpenalty >-\@Miv \@colroom%
                  \else \maxdimen\fi}%
%
\resetat% reset @ original \catcode
\endinput% --bg

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to