Problem generating PDF/TeX documentation

Jonas Olsson lexicon at
Sat Nov 29 22:51:18 GMT 2003


After checking out the latest samba-docs from the cvs archive I get errors
when attempting to generate the PDF version of the documentation.

The reason is the reference to
"" in
/cvsroot/samba-docs/docbook/xslt/latex.xsl. That URL no longer seems to
exist which leads to numerous errors when xsltproc tries to generate the
TeX documentation.

"make pdf" works when using the latest DB2LaTeX distribution unpacked
in samba-docs/docbook/xslt/db2latex with the following patch applied
to latex.xsl:

---- snip -----

Index: latex.xsl
RCS file: /cvsroot/samba-docs/docbook/xslt/latex.xsl,v
retrieving revision 1.6
diff -u -r1.6 latex.xsl
--- latex.xsl   18 Nov 2003 18:07:11 -0000      1.6
+++ latex.xsl   29 Nov 2003 22:35:14 -0000
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <xsl:stylesheet xmlns:xsl="" version='1.0'>
-<xsl:import href=""/>
+<xsl:import href="db2latex/xsl/docbook.xsl"/>

 <xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
 <xsl:param name="l10n.gentext.default.language">en</xsl:param>

---- snip -----

DB2LaTeX would need to be included in the samba-docs tree as well but I
hesitate to include that as a patch :-). I haven't been able to find any
reference to an online version of docbook.xsl at the DB2LaTeX site.

  /Jonas Olsson

More information about the samba-technical mailing list