Add some updates necessary to build the 3.0 docs (forgot them last night).
authorJelmer Vernooij <jelmer@samba.org>
Thu, 25 Sep 2003 19:25:13 +0000 (19:25 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 25 Sep 2003 19:25:13 +0000 (19:25 +0000)
(This used to be commit 72434db17a86a8c277ca989ac858cb54cbc815dc)

docs/docbook/Makefile.in
docs/docbook/projdoc/AccessControls.xml
docs/docbook/projdoc/Bugs.xml
docs/docbook/projdoc/CUPS-printing.xml
docs/docbook/xslt/expand-sambadoc.xsl
docs/docbook/xslt/html-common.xsl
docs/docbook/xslt/html.xsl

index 7169cc90c47dea7a08209fb86aeaa8815e1dc023..030729cec49f77771ffa78fb7029ab7742bdecf5 100644 (file)
@@ -126,18 +126,18 @@ $(TXTDIR)/%.txt: %.xml
        
 # Adobe PDF files
 $(PDFDIR)/%.pdf: %.tex
-       $(PDFLATEX) $<
-       $(PDFLATEX) $<
-       $(PDFLATEX) $<
+       -$(PDFLATEX) $<
+       -$(PDFLATEX) $<
+       -$(PDFLATEX) $<
        mv $(patsubst %.tex,%.pdf,$<) $@
 
 epsimages: $(PROJDOC_IMAGES_EPS)
 
 # DVI files
 $(DVIDIR)/%.dvi: %.tex epsimages
-       $(LATEX) $<
-       $(LATEX) $< 
-       $(LATEX) $< 
+       -$(LATEX) $<
+       -$(LATEX) $< 
+       -$(LATEX) $< 
        mv $(patsubst %.tex,%.dvi,$<) $@
 
 %.eps: %.png
index 72348d44cd020764e865841dabf53e341b576c3a..6d3e4942267ad1e468725a444bc06c9c414b90ab 100644 (file)
@@ -346,7 +346,7 @@ drwsrwsrwx    2 maryo   gnomes       48 2003-05-12 22:29 muchado08
        </para>
 
        <para>
-       An overview of the permissions field can be found in <link linkend="access1"/>.
+               An overview of the permissions field can be found in <link linkend="access1">the image below</link>.
        </para>
 
        <image id="access1" scale="40"><imagedescription>Overview of UNIX permissions field.</imagedescription><imagefile>access1</imagefile></image>
@@ -429,7 +429,7 @@ Before using any of the following options, please refer to the man page for &smb
        </para>
 
        <para>
-       <link linkend="ugbc"/> enumerates these controls.
+               <link linkend="ugbc">The table below</link> enumerates these controls.
        </para>
 
        <table frame='all' pgwide='0' id="ugbc"><title>User and Group Based Controls</title>
@@ -527,7 +527,7 @@ Before using any of the following options, please refer to the man page for &smb
        </para>
 
        <para>
-       Refer to <link linkend="fdpbc"/> for information regarding the parameters that may be used to affect file and
+               Refer to <link linkend="fdpbc">the table below</link> for information regarding the parameters that may be used to affect file and
        directory permission-based access controls.
        </para>
 
@@ -619,7 +619,7 @@ Before using any of the following options, please refer to the man page for &smb
 
        <para>
        The following are documented because of the prevalence of administrators creating inadvertent barriers to file
-       access by not understanding the full implications of &smb.conf; file settings. See <link linkend="mcoc"/>.
+       access by not understanding the full implications of &smb.conf; file settings. See <link linkend="mcoc">the table below</link>.
        </para>
 
        <table frame='all' id="mcoc"><title>Other Controls</title>
index 15bd14ac1a4931f67e9c50ebf6053cd738b63c3b..a5149342a04b332573bc6800a9a10a0b2480be30 100644 (file)
@@ -55,7 +55,7 @@ file for correct syntax.
 </para>
 
 <para>
-Have you looked through <link linkend="diagnosis"/>? This is extremely important.
+       Have you looked through <link linkend="diagnosis">diagnosis</link>? This is extremely important.
 </para>
 
 <para>
index 5a8e9f5846556d1179746aa923fe5224e4062eb2..ece3b2acd1538cf1e8f4882e34d71a833d9076d4 100644 (file)
@@ -151,7 +151,7 @@ libcups.so.2 =&gt; /usr/lib/libcups.so.2 (0x40123000)
                <title>Simple &smb.conf; Settings for CUPS</title>
 
                <para>
-               To summarize, <link linkend="cups-exam-simple"/> shows simplest printing-related setup for &smb.conf; to enable basic CUPS support:
+                       To summarize, <link linkend="cups-exam-simple">the example below</link> shows simplest printing-related setup for &smb.conf; to enable basic CUPS support:
                </para>
 
                <para><smbconfexample id="cups-exam-simple">
@@ -195,7 +195,7 @@ libcups.so.2 =&gt; /usr/lib/libcups.so.2 (0x40123000)
        <title>More Complex CUPS &smb.conf; Settings</title>
 
        <para>
-       <link linkend="overridesettings"/> is a slightly more complex printing-related setup
+               <link linkend="overridesettings">The example below</link> is a slightly more complex printing-related setup
        for &smb.conf;. It enables general CUPS printing
        support for all printers, but defines one printer share, which is set
        up differently. 
@@ -1232,7 +1232,7 @@ that generates PostScript from image formats. The <parameter>imagetoraster</para
 filter is used to convert directly from image to raster, without the
 intermediate PostScript stage. It is used more often than the above
 mentioned pre-filters. A summarizing flowchart of image file
-filtering is shown in <link linkend="small8"/>.
+filtering is shown in <link linkend="small8">the figure below</link>.
 </para>
 
 <para>
@@ -1656,7 +1656,7 @@ output device.
 CUPS by default ships only a few generic PPDs, but they are good for
 several hundred printer models. You may not be able to control
 different paper trays, or you may get larger margins than your
-specific model supports. See <link linkend="cups-ppds"/> for summary information.
+specific model supports. See <link linkend="cups-ppds">the figure below</link> for summary information.
 </para>
 
 <table frame="all" id="cups-ppds">
@@ -1773,7 +1773,7 @@ installation. Therefore the printfile bypasses the <parameter>pstoraster</parame
 (and also bypasses the CUPS-raster-drivers
 <parameter>rastertosomething</parameter>). After Ghostscript finished its rasterization,
 <parameter>cupsomatic</parameter> hands the rendered file directly to the CUPS backend. The
-flowchart in <link linkend="cupsomatic-dia"/> illustrates the difference between native CUPS
+flowchart in <link linkend="cupsomatic-dia">the image below</link> illustrates the difference between native CUPS
 rendering and the <parameter>Foomatic/cupsomatic</parameter> method.
 </para>
 </sect2>
@@ -1817,7 +1817,7 @@ backend, which transfers the job to the printers.</para></listitem>
 </itemizedlist>
 
 <para>
-       The resulting filter chain, therefore, is as drawn in <link linkend="pdftosocket"/>.
+       The resulting filter chain, therefore, is as drawn in <link linkend="pdftosocket">the figure below</link>.
 </para>
 
 <image id="pdftosocket"><imagefile>pdftosocket</imagefile><imagedescription>PDF to socket chain.</imagedescription></image>
@@ -1866,7 +1866,7 @@ which transfers the job to the printers.</para></listitem>
 </itemizedlist>
 
 <para>
-The resulting filter chain therefore is as drawn in <link linkend="pdftoepsonusb"/>.
+       The resulting filter chain therefore is as drawn in <link linkend="pdftoepsonusb">the figure below</link>.
 </para>
 
 <image id="pdftoepsonusb"><imagefile>pdftoepsonusb</imagefile><imagedescription>PDF to USB chain.</imagedescription></image>
@@ -1994,7 +1994,7 @@ output.</para></listitem>
 </itemizedlist>
 
 <para>
-Both print paths are shown in the flowcharts in <link linkend="small11"/> and <link linkend="small12"/>.
+       Both print paths are shown in the flowcharts in the figures below.
 </para>
 </sect2>
 
index 2749fdf3e99c7b269b24d946f68fc78c600a2c73..098512ce1d9e9e6a3191060996fc2efd6d4b093e 100644 (file)
 </xsl:template>
 
 
+<xsl:template match="filterline">
+       <xsl:element name="programlisting">
+               <xsl:apply-templates/>
+       </xsl:element>
+</xsl:template>
+
+
 </xsl:stylesheet>
index dce900ef678d73328f55c33b20a5e196420016c4..eeb7d5d6b4cc60001aa234b61034e3c301af9d93 100644 (file)
@@ -3,6 +3,40 @@
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
+       <xsl:template match="ulink">
+       <xsl:element name="ulink">
+               <xsl:attribute name="url">
+                       <xsl:value-of select="@url"/>
+               </xsl:attribute>
+               <xsl:choose>
+                       <xsl:when test=". != ''">
+                               <xsl:value-of select="."/>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="@url"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:element>
+</xsl:template>
+
+
+
+<xsl:template match="link">
+       <xsl:element name="link">
+               <xsl:attribute name="linkend">
+                       <xsl:value-of select="@linkend"/>
+               </xsl:attribute>
+               <xsl:choose>
+                       <xsl:when test=". != ''">
+                               <xsl:value-of select="."/>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="@linkend"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:element>
+</xsl:template>
+
 <xsl:param name="base.dir" select="'../htmldocs/'"/>
 <xsl:param name="bridgehead.in.toc" select="1"/>
 <xsl:param name="citerefentry.link" select="'1'"/>
index 8481a86d248fc81e17366f4d7a4f6de1df00b245..1a5fe1bc650238da15bcf746ee824888369119f2 100644 (file)
@@ -6,4 +6,5 @@
 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
 <xsl:import href="html-common.xsl"/>
 
+
 </xsl:stylesheet>