- Respect the scale= attribute.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 5 Sep 2004 16:14:06 +0000 (16:14 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 5 Sep 2004 16:14:06 +0000 (16:14 +0000)
- Better conformance to the DocBook specs

Samba-HOWTO-Collection/CUPS-printing.xml
Samba-HOWTO-Collection/NetworkBrowsing.xml
Samba-HOWTO-Collection/Passdb.xml
Samba-HOWTO-Collection/upgrading-to-3.0.xml
xslt/expand-sambadoc.xsl

index 6dd4d0418ddcc5209817c336d13369ae454a785c..695e486d86875979b8e325851cd41440d1e71c7b 100644 (file)
@@ -1717,7 +1717,7 @@ specific model supports. See <link linkend="cups-ppds">PPDs shipped with CUPS</l
        <title>PPDs shipped with CUPS</title>
        <tgroup cols="2" align="left">
                <colspec align="left"/>
-               <colspec align="justify" width="1*"/>
+               <colspec align="justify" colwidth="1*"/>
                <thead><row><entry>PPD file</entry><entry>Printer type</entry></row></thead>
                <tbody>
                <row><entry>deskjet.ppd</entry><entry>older HP inkjet printers and compatible</entry></row>
@@ -2585,9 +2585,9 @@ the Windows NT/2000/XP client.
 
 <para>
        <itemizedlist>
-               <listitem>cups.hlp</listitem>
-               <listitem>cupsdrvr.dll</listitem>
-               <listitem>cupsui.dll</listitem>
+               <listitem><para>cups.hlp</para></listitem>
+               <listitem><para>cupsdrvr.dll</para></listitem>
+               <listitem><para>cupsui.dll</para></listitem>
        </itemizedlist>
 </para>
 
@@ -2601,12 +2601,12 @@ different platforms.
 
 <para>
        <itemizedlist>
-       <listitem>ADFONTS.MFM</listitem>
-       <listitem>ADOBEPS4.DRV</listitem>
-       <listitem>ADOBEPS4.HLP</listitem>
-       <listitem>DEFPRTR2.PPD</listitem>
-       <listitem>ICONLIB.DLL</listitem>
-       <listitem>PSMON.DLL</listitem>
+       <listitem><para>ADFONTS.MFM</para></listitem>
+       <listitem><para>ADOBEPS4.DRV</para></listitem>
+       <listitem><para>ADOBEPS4.HLP</para></listitem>
+       <listitem><para>DEFPRTR2.PPD</para></listitem>
+       <listitem><para>ICONLIB.DLL</para></listitem>
+       <listitem><para>PSMON.DLL</para></listitem>
 </itemizedlist>
 </para>
 
@@ -2614,9 +2614,9 @@ different platforms.
 
 <para>
 <itemizedlist>
-       <listitem>ADOBEPS5.DLL</listitem>
-       <listitem>ADOBEPSU.DLL</listitem>
-       <listitem>ADOBEPSU.HLP</listitem>
+       <listitem><para>ADOBEPS5.DLL</para></listitem>
+       <listitem><para>ADOBEPSU.DLL</para></listitem>
+       <listitem><para>ADOBEPSU.HLP</para></listitem>
 </itemizedlist>
 
 </para>
index 9b93c8a434a9624d9f116ef50a0eff9cd3410831..ceee0becd9b5e1bc9196eb570e6af1bcea778504 100644 (file)
@@ -1559,7 +1559,7 @@ as shown in <link linkend="brsex3">example below</link>.
        <tgroup cols="3" align="left">
                <colspec align="left"/>
                <colspec align="left"/>
-               <colspec align="justify" width="1*"/>
+               <colspec align="justify" colwidth="1*"/>
 
        <thead>
                <row><entry>Subnet</entry><entry>Browse Master</entry><entry>List</entry></row>
index 0b816744890ed14a0159821b24b9beaaef54bb20..62edfb16ff080dbabae7189afb97e1b4fe2b0054 100644 (file)
@@ -1413,8 +1413,8 @@ access to attrs=SambaLMPassword,SambaNTPassword
                <table iframe="all" id="ldappwsync">
                        <title>Possible <emphasis>ldap passwd sync</emphasis> values</title>
                <tgroup cols="2">
-                       <colspec align="left" width="1*"/>
-                       <colspec align="justify" width="4*"/>
+                       <colspec align="left" colwidth="1*"/>
+                       <colspec align="justify" colwidth="4*"/>
                <thead>
                        <row><entry align="left">Value</entry><entry align="center">Description</entry></row>
                </thead>
index 8c8b023981b6d8c61c563509ce1a9273ba72155b..b2380388582ae384f795cfdc99b1694260d41955 100644 (file)
@@ -332,7 +332,7 @@ complete descriptions of new or modified parameters.
         <table frame='all' id="tdbfiledesc"><title>TDB File Descriptions</title>
         <tgroup cols='3'>
                        <colspec align="left"/>
-                       <colspec align="justify" width="1*"/>
+                       <colspec align="justify" colwidth="1*"/>
                        <colspec align="left"/>
                 <thead>
                 <row>
index ca57e7fec80a3b74104c7ebdb79817e9ee9f27e2..2832111fa51b571e1178003de402358c3ec26915 100644 (file)
                                                                        <xsl:value-of select="@scale"/>
                                                                </xsl:when>
 
+                                                               <xsl:when test="imagefile/@scale != ''">
+                                                                       <xsl:value-of select="imagefile/@scale"/>
+                                                               </xsl:when>
+
                                                                <xsl:otherwise>
                                                                        <xsl:text>50</xsl:text>
                                                                </xsl:otherwise>
                                        <xsl:element name="imagedata">
                                                <xsl:attribute name="fileref">
                                                        <xsl:text>images/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
-                                               <xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute>
+                                               <xsl:attribute name="scale">
+                                                       <xsl:choose>
+                                                               <xsl:when test="@scale != ''">
+                                                                       <xsl:value-of select="@scale"/>
+                                                               </xsl:when>
+
+                                                               <xsl:when test="imagefile/@scale != ''">
+                                                                       <xsl:value-of select="imagefile/@scale"/>
+                                                               </xsl:when>
+
+                                                               <xsl:otherwise>
+                                                                       <xsl:text>50</xsl:text>
+                                                               </xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:attribute>
                                                <xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute>
                                        </xsl:element>
                                </xsl:element>
                                        <xsl:element name="imagedata">
                                                <xsl:attribute name="fileref">
                                                        <xsl:text>images/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
-                                               <xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute>
+                                               <xsl:attribute name="scale">
+                                                       <xsl:choose>
+                                                               <xsl:when test="@scale != ''">
+                                                                       <xsl:value-of select="@scale"/>
+                                                               </xsl:when>
+
+                                                               <xsl:when test="imagefile/@scale != ''">
+                                                                       <xsl:value-of select="imagefile/@scale"/>
+                                                               </xsl:when>
+
+                                                               <xsl:otherwise>
+                                                                       <xsl:text>50</xsl:text>
+                                                               </xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:attribute>
                                                <xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute>
                                        </xsl:element>
                                </xsl:element>