Author: manuel
Date: 2007-03-29 12:08:40 -0600 (Thu, 29 Mar 2007)
New Revision: 7987
Modified:
branches/new-xsl/lfs-chunked.xsl
branches/new-xsl/lfs-chunked2.xsl
branches/new-xsl/xhtml/lfs-admon.xsl
Log:
Added more comments to revised files.
Modified: branches/new-xsl/lfs-chunked.xsl
===================================================================
--- branches/new-xsl/lfs-chunked.xsl 2007-03-28 04:28:09 UTC (rev 7986)
+++ branches/new-xsl/lfs-chunked.xsl 2007-03-29 18:08:40 UTC (rev 7987)
@@ -6,6 +6,10 @@
<!-- REVISED -->
+ <!-- Top-level chunked output template.
+ Include customized chunks templates.
+ Replaces {docbook-xsl}/xhtml/profile-chunk.xsl -->
+
<!-- Our master non-chunking presentation templates -->
<xsl:import href="lfs-chunked2.xsl"/>
Modified: branches/new-xsl/lfs-chunked2.xsl
===================================================================
--- branches/new-xsl/lfs-chunked2.xsl 2007-03-28 04:28:09 UTC (rev 7986)
+++ branches/new-xsl/lfs-chunked2.xsl 2007-03-29 18:08:40 UTC (rev 7987)
@@ -6,8 +6,12 @@
<!-- REVISED -->
+ <!-- Second level chunked output template.
+ Sets global params and include customized elements templates-->
+
<!-- Upstream XHTML presentation templates -->
<xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
+
<!-- Use ISO-8859-1 for output instead of default UTF-8 -->
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
@@ -22,8 +26,13 @@
<!-- This file contains our localization strings (for
internationalization) -->
<xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/>
- <!-- The CSS Stylesheet -->
+ <!-- The CSS Stylesheets. 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-->
+ <!-- Master CSS Stylesheet -->
<xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
+ <!-- Print CSS Stylesheet -->
+ <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
<xsl:template name='user.head.content'>
<link rel="stylesheet" href="../stylesheets/lfs-print.css"
type="text/css" media="print"/>
</xsl:template>
Modified: branches/new-xsl/xhtml/lfs-admon.xsl
===================================================================
--- branches/new-xsl/xhtml/lfs-admon.xsl 2007-03-28 04:28:09 UTC (rev
7986)
+++ branches/new-xsl/xhtml/lfs-admon.xsl 2007-03-29 18:08:40 UTC (rev
7987)
@@ -23,6 +23,7 @@
Removed $admon.style support
Hardcoded $admon.textlabel feature
Changed the output format from table to nested divs -->
+ <!-- The original template is in {docbook-xsl}/xhtml/admon.xsl -->
<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