Author: manuel
Date: 2007-03-26 12:28:45 -0600 (Mon, 26 Mar 2007)
New Revision: 7983
Modified:
branches/new-xsl/xhtml/lfs-admon.xsl
Log:
Revised xhtml/lfs-admon.xsl
Modified: branches/new-xsl/xhtml/lfs-admon.xsl
===================================================================
--- branches/new-xsl/xhtml/lfs-admon.xsl 2007-03-26 17:54:28 UTC (rev
7982)
+++ branches/new-xsl/xhtml/lfs-admon.xsl 2007-03-26 18:28:45 UTC (rev
7983)
@@ -4,12 +4,25 @@
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
- <!-- Use graphics in admonitions -->
+ <!-- REVISED -->
+
+ <!-- This stylesheet controls how admonitions are displayed -->
+
+ <!-- Use graphics in admonitions? 1 = yes, 0 = no -->
<xsl:param name="admon.graphics" select="1"/>
+
+ <!-- Relative path to images directory. We set here relative path
+ from sub-dirs HTML files. The path from top-level HTML files (index.html,
+ partX.html, etc) MUST be fixed via a sed in the Makefile. -->
<xsl:param name="admon.graphics.path">../images/</xsl:param>
+
+ <!-- The images files extension -->
<xsl:param name="admon.graphics.extension" select="'.png'"/>
- <!-- Changing the output tagging -->
+ <!-- Changing the output tagging:
+ Removed $admon.style support
+ Hardcoded $admon.textlabel feature
+ Changed the output format from table to nested divs -->
<xsl:template name="graphical.admonition">
<xsl:variable name="admon.type">
<xsl:choose>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page