Changeset 4f61f8f


Ignore:
Timestamp:
01/04/2005 02:27:44 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
07c7a8d
Parents:
392ab6d
Message:

Updated the multi-arch XSL files to current testing version,

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4487 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • INSTALL

    r392ab6d r4f61f8f  
    2121  - http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
    2222
    23 * DocBook XSL Stylesheets (1.67.2)
    24   install -d /usr/share/xml/docbook/xsl-stylesheets-1.67.2
    25   chown -R root:root .
    26   cp -af INSTALL VERSION common eclipse extensions fo html htmlhelp images \
    27     javahelp lib manpages params profiling template xhtml \
    28     /usr/share/xml/docbook/xsl-stylesheets-1.67.2
    29   install -d /usr/share/doc/xml
    30   cp -af doc/* /usr/share/doc/xml
    31   cd /usr/share/xml/docbook/xsl-stylesheets-1.67.2 && \
    32     sed -i -e 's@current/@1.67.2/@' INSTALL && \
    33     sh INSTALL
    34   xmlcatalog --noout --add "delegateURI" \
    35   "http://docbook.sourceforge.net/release/xsl/1.67.2/" \
    36   "file:///usr/share/xml/docbook/xsl-stylesheets-1.67.2/catalog.xml" \
    37   /etc/xml/catalog
    38   ln -sf xsl-stylesheets-$(VERSION) \
    39     /usr/share/xml/docbook/xsl-stylesheets-current
     23* DocBook XSL Stylesheets
     24  - http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
    4025
    4126* HTMLTidy
  • stylesheets/lfs-chunked.xsl

    r392ab6d r4f61f8f  
    66
    77  <xsl:import href="lfs-chunked2.xsl"/>
    8   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk-common.xsl"/>
    9   <xsl:include href="http://docbook.sourceforge.net/release/xsl/current/xhtml/manifest.xsl"/>
     8  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/chunk-common.xsl"/>
     9  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/manifest.xsl"/>
    1010
    1111    <!--  From the original chunk.xsl file:
     
    2424
    2525    Voila! (Man I hope we can do this better in XSLT 2.0)  -->
    26 
    27   <xsl:include href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk-code.xsl"/>
     26   
     27  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/chunk-code.xsl"/>
    2828
    2929    <!-- Including our others customized chunks templates -->
  • stylesheets/lfs-chunked2.xsl

    r392ab6d r4f61f8f  
    66
    77    <!-- We use XHTML -->
    8   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
     8  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
    99  <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
    1010
  • stylesheets/lfs-nochunks.xsl

    r392ab6d r4f61f8f  
    66
    77    <!-- We use XHTML -->
    8   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
     8  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
    99
    1010  <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
  • stylesheets/lfs-pdf.xsl

    r392ab6d r4f61f8f  
    55                version="1.0">
    66    <!-- We use FO and FOP as the processor -->
    7   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
     7  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/fo/docbook.xsl"/>
    88  <xsl:param name="fop.extensions" select="1"/>
    99  <xsl:param name="draft.mode" select="'no'"/>
  • stylesheets/lfs-profile.xsl

    r392ab6d r4f61f8f  
    55                version="1.0">
    66
    7   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl"/>
     7  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/profiling/profile.xsl"/>
    88
    99</xsl:stylesheet>
  • stylesheets/pdf/lfs-admon.xsl

    r392ab6d r4f61f8f  
    5353    </xsl:variable>
    5454    <xsl:variable name="graphic.width">
    55       <xsl:call-template name="admon.graphic.width"/>
     55     <xsl:apply-templates select="." mode="admon.graphic.width"/>
    5656    </xsl:variable>
    5757    <fo:block id="{$id}">
  • stylesheets/xhtml/lfs-mixed.xsl

    r392ab6d r4f61f8f  
    9494    </a>
    9595  </xsl:template>
     96 
     97    <!-- The <code> xhtml tag have look issues in some browsers, like Konqueror and.
     98      isn't semantically correct (a filename isn't a code fragment) We will use <tt> for now. -->
     99  <xsl:template name="inline.monoseq">
     100    <xsl:param name="content">
     101      <xsl:call-template name="anchor"/>
     102      <xsl:call-template name="simple.xlink">
     103        <xsl:with-param name="content">
     104          <xsl:apply-templates/>
     105        </xsl:with-param>
     106      </xsl:call-template>
     107    </xsl:param>
     108    <tt class="{local-name(.)}">
     109      <xsl:if test="@dir">
     110        <xsl:attribute name="dir">
     111          <xsl:value-of select="@dir"/>
     112        </xsl:attribute>
     113      </xsl:if>
     114      <xsl:copy-of select="$content"/>
     115    </tt>
     116  </xsl:template>
     117 
     118  <xsl:template name="inline.boldmonoseq">
     119    <xsl:param name="content">
     120      <xsl:call-template name="anchor"/>
     121      <xsl:call-template name="simple.xlink">
     122        <xsl:with-param name="content">
     123          <xsl:apply-templates/>
     124        </xsl:with-param>
     125      </xsl:call-template>
     126    </xsl:param>
     127    <!-- don't put <strong> inside figure, example, or table titles -->
     128    <!-- or other titles that may already be represented with <strong>'s. -->
     129    <xsl:choose>
     130      <xsl:when test="local-name(..) = 'title' and (local-name(../..) = 'figure'
     131              or local-name(../..) = 'example' or local-name(../..) = 'table' or local-name(../..) = 'formalpara')">
     132        <tt class="{local-name(.)}">
     133          <xsl:if test="@dir">
     134            <xsl:attribute name="dir">
     135              <xsl:value-of select="@dir"/>
     136            </xsl:attribute>
     137          </xsl:if>
     138          <xsl:copy-of select="$content"/>
     139        </tt>
     140      </xsl:when>
     141      <xsl:otherwise>
     142        <strong class="{local-name(.)}">
     143          <tt>
     144            <xsl:if test="@dir">
     145              <xsl:attribute name="dir">
     146                <xsl:value-of select="@dir"/>
     147              </xsl:attribute>
     148            </xsl:if>
     149            <xsl:copy-of select="$content"/>
     150          </tt>
     151        </strong>
     152      </xsl:otherwise>
     153    </xsl:choose>
     154  </xsl:template>
     155 
     156  <xsl:template name="inline.italicmonoseq">
     157    <xsl:param name="content">
     158      <xsl:call-template name="anchor"/>
     159      <xsl:call-template name="simple.xlink">
     160        <xsl:with-param name="content">
     161          <xsl:apply-templates/>
     162        </xsl:with-param>
     163      </xsl:call-template>
     164    </xsl:param>
     165    <em class="{local-name(.)}">
     166      <tt>
     167        <xsl:if test="@dir">
     168          <xsl:attribute name="dir">
     169            <xsl:value-of select="@dir"/>
     170          </xsl:attribute>
     171        </xsl:if>
     172        <xsl:copy-of select="$content"/>
     173      </tt>
     174    </em>
     175  </xsl:template>
    96176
    97177
Note: See TracChangeset for help on using the changeset viewer.