diff options
author | Alexander Bokovoy <ab@samba.org> | 2008-04-14 15:39:30 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:47:46 -0500 |
commit | 7ece10fa2346261c52f54f643fdc7fc77bf57a73 (patch) | |
tree | f1bce5a7bbb04bcf02502e0844bc51ec8a0fdcbe /docs/db2latex-xslt-strict.diff | |
parent | 338aa2568bcae115389e38ec5b25971e7c2503e6 (diff) | |
download | samba-7ece10fa2346261c52f54f643fdc7fc77bf57a73.tar.gz samba-7ece10fa2346261c52f54f643fdc7fc77bf57a73.tar.bz2 samba-7ece10fa2346261c52f54f643fdc7fc77bf57a73.zip |
Switch to SVG and Inkscape to generate pictures instead of Dia.
This was discussed months ago and with Inkscape getting better and more clear in SVG processing
it is now a preffered tool to create and process vector images.
(This used to be commit 2575ceec2a817156832ce84e80a97923f10ecbe9)
Diffstat (limited to 'docs/db2latex-xslt-strict.diff')
-rw-r--r-- | docs/db2latex-xslt-strict.diff | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/docs/db2latex-xslt-strict.diff b/docs/db2latex-xslt-strict.diff deleted file mode 100644 index 093ebd9d3e..0000000000 --- a/docs/db2latex-xslt-strict.diff +++ /dev/null @@ -1,98 +0,0 @@ -This patch removes a duplicate template from db2latex that was being -included (violates strict XSLT, something newer versions of xsltproc don't like) - -Looks like upstream is inactive for over a year, so I'm putting this quick fix -here for now. - ---- db2latex-xsl-0.8pre1+20050310/xsl/common/common.xsl 2005-03-10 23:09:55.639189152 +0100 -+++ db2latex-xsl-0.8pre1+20050310/xsl/common/common.xsl 2005-03-10 23:10:50.762690340 +0100 -@@ -356,89 +356,6 @@ - <xsl:value-of select="count($anc.divs) + number($section.level)"/> - </xsl:template> - --<xsl:template name="question.answer.label"> -- <xsl:variable name="deflabel"> -- <xsl:choose> -- <xsl:when test="ancestor-or-self::*[@defaultlabel]"> -- <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] -- /@defaultlabel"/> -- </xsl:when> -- <xsl:otherwise> -- <xsl:value-of select="$qanda.defaultlabel"/> -- </xsl:otherwise> -- </xsl:choose> -- </xsl:variable> -- -- <xsl:variable name="label" select="@label"/> -- --<!-- -- (hnr (hierarchical-number-recursive (normalize "qandadiv") node)) -- -- (parsect (ancestor-member node (section-element-list))) -- -- (defnum (if (and %qanda-inherit-numeration% -- %section-autolabel%) -- (if (node-list-empty? parsect) -- (section-autolabel-prefix node) -- (section-autolabel parsect)) -- "")) -- -- (hnumber (let loop ((numlist hnr) (number defnum) -- (sep (if (equal? defnum "") "" "."))) -- (if (null? numlist) -- number -- (loop (cdr numlist) -- (string-append number -- sep -- (number->string (car numlist))) -- ".")))) -- (cnumber (child-number (parent node))) -- (number (string-append hnumber -- (if (equal? hnumber "") -- "" -- ".") -- (number->string cnumber)))) ----> -- -- <xsl:choose> -- <xsl:when test="$deflabel = 'qanda'"> -- <xsl:call-template name="gentext"> -- <xsl:with-param name="key"> -- <xsl:choose> -- <xsl:when test="local-name(.) = 'question'">question</xsl:when> -- <xsl:when test="local-name(.) = 'answer'">answer</xsl:when> -- <xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when> -- <xsl:otherwise>qandaset</xsl:otherwise> -- </xsl:choose> -- </xsl:with-param> -- </xsl:call-template> -- </xsl:when> -- <xsl:when test="$deflabel = 'label'"> -- <xsl:value-of select="$label"/> -- </xsl:when> -- <xsl:when test="$deflabel = 'number' -- and local-name(.) = 'question'"> -- <xsl:apply-templates select="ancestor::qandaset[1]" -- mode="number"/> -- <xsl:choose> -- <xsl:when test="ancestor::qandadiv"> -- <xsl:apply-templates select="ancestor::qandadiv[1]" -- mode="number"/> -- <xsl:apply-templates select="ancestor::qandaentry" -- mode="number"/> -- </xsl:when> -- <xsl:otherwise> -- <xsl:apply-templates select="ancestor::qandaentry" -- mode="number"/> -- </xsl:otherwise> -- </xsl:choose> -- </xsl:when> -- <xsl:otherwise> -- <!-- nothing --> -- </xsl:otherwise> -- </xsl:choose> --</xsl:template> -- - <xsl:template match="qandaset" mode="number"> - <!-- FIXME: --> - </xsl:template> |