Ignore:
Timestamp:
Oct 7, 2011, 10:55:20 AM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #1590: Documentation cleanup

  • New icons for tip, note, warning, etc.
  • Use rounder corners for notes, etc.
  • Create HTML files with DOCTYPE
  • Fixed white background around numbered lables in some screenshots
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.chunked.xsl

    r5676 r5791  
    4949<xsl:param name="admon.graphics" select="1"/>
    5050<xsl:param name="admon.graphics.path">gfx/admonitions/</xsl:param>
    51 <xsl:param name="admon.graphics.extension">.gif</xsl:param>
     51<xsl:param name="admon.graphics.extension">.png</xsl:param>
    5252<xsl:param name="admon.style"></xsl:param>
    5353<xsl:param name="admonition.title.properties">text-align: left</xsl:param>
     54<xsl:param name="menuchoice.menu.separator">&#9658;</xsl:param>
    5455
    5556<xsl:param name="keep.relative.image.uris" select="false"/>
     
    6061
    6162<xsl:param name="chunker.output.encoding">utf-8</xsl:param>
     63<xsl:param name="chunker.output.doctype-public">-//W3C//DTD HTML 4.01 Transitional//EN</xsl:param>
     64<xsl:param name="chunker.output.doctype-system">http://www.w3.org/TR/html4/loose.dtd</xsl:param>
    6265<xsl:param name="chunker.output.indent">yes</xsl:param>
    6366<xsl:param name="chunker.message.nofilename">1</xsl:param>
     
    275278  </xsl:template>
    276279 
     280  <xsl:template match="*" mode="admon.graphic.width">
     281    <xsl:param name="node" select="."/>
     282    <xsl:text>32</xsl:text>
     283  </xsl:template>
     284 
     285  <xsl:template match="note|warning|tip|important|caution" mode="class.attribute">
     286    <xsl:param name="class" select="local-name(.)"/>
     287    <!-- permit customization of class attributes -->
     288    <!-- Use element name by default -->
     289    <xsl:attribute name="class">
     290      <xsl:value-of select="concat('admonition ', $class)"/>
     291    </xsl:attribute>
     292  </xsl:template>
     293 
    277294  <xsl:template match="classname">
    278295    <xsl:call-template name="inline.monoseq"/>
Note: See TracChangeset for help on using the changeset viewer.