<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'windows-1252'" />
<xsl:variable name="is-chm" select="true()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="../xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'windows-1252'" />
<xsl:variable name="is-chm" select="true()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="../xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'SHIFT_JIS'" />
<xsl:variable name="is-chm" select="true()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="../xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'EUC-KR'" />
<xsl:variable name="is-chm" select="true()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="../xsl/common.xsl"/>
--- /dev/null
+@import url(manual-loose-100pc.css);
+
+h1 {
+ margin: 0 0 0.5em 0;
+}
+
+/* the end */
\ No newline at end of file
--- /dev/null
+@import url(manual.css);
+
+h1 {
+ margin: 0 0 0.5em 0;
+}
+
+/* the end */
\ No newline at end of file
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'ISO-8859-1'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'ISO-8859-1'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'iso-2022-jp'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'EUC-KR'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'ISO-8859-1'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'KOI8-R'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'ISO-8859-1'" />
<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="false()" />
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
<!-- Injected variables: -->
<!-- $is-chm - (boolean) target is for CHM generation or not -->
+<!-- $is-zip - (boolean) target is for ZIP generation or not -->
<!-- $messages - (node-set) localized common text snippets -->
<!-- $output-encoding - (string) MIME charset name of the output -->
<!-- encoding -->
<!-- when referencing to a directory, we may need to complete the path -->
<!-- with the index file (for offline applications like *.chm files) -->
<xsl:variable name="index-file">
- <xsl:if test="$is-chm">index.html</xsl:if>
+ <xsl:if test="$is-chm or $is-zip">index.html</xsl:if>
</xsl:variable>
<!-- it may be desired to open external targets in a new window -->
<head>
<!-- the meta element is necessary for offline handling like CHM -->
<xsl:choose>
- <xsl:when test="$is-chm">
+ <xsl:when test="$is-chm or $is-zip">
<meta http-equiv="Content-Type"
content="text/html; charset={$output-encoding}" />
</xsl:when>
<link type="text/css" rel="stylesheet" media="all"
href="{$path}/style/css/manual-chm.css" />
</xsl:when>
+ <!-- zip packages do also -->
+ <xsl:when test="$is-zip">
+ <link title="Main stylesheet" type="text/css" media="all"
+ rel="stylesheet"
+ href="{$path}/style/css/manual-zip.css" />&lf;
+ <link title="No Sidebar - Default font size" type="text/css" media="all"
+ rel="alternate stylesheet"
+ href="{$path}/style/css/manual-zip-100pc.css"/>
+ </xsl:when>
<xsl:otherwise>
<link title="Main stylesheet" type="text/css" media="all"
rel="stylesheet"
href="{$path}/style/css/manual-print.css"/>
<!-- chm files do not need a favicon -->
- <xsl:if test="not($is-chm)">&lf;
+ <xsl:if test="not($is-chm or $is-zip)">&lf;
<link rel="shortcut icon" href="{$path}/images/favicon.ico" />
</xsl:if>
</head>
<xsl:param name="position" select="'top'" />
<xsl:variable name="metafile" select="document(/*/@metafile)/metafile" />
-<xsl:if test="not($is-chm)">
+<xsl:if test="not($is-chm or $is-zip)">
<div class="{$position}lang">&lf;
<p>
<span>
--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output
+ method="xml"
+ encoding="iso-8859-1"
+ indent="no"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ omit-xml-declaration="yes"
+/>
+
+<!-- Read the localized messages from the specified language file -->
+<xsl:variable name="messages" select="document('../lang/en.xml')/messages"/>
+
+<!-- some meta information have to be passed to the transformation -->
+<xsl:variable name="output-encoding" select="'iso-8859-1'" />
+<xsl:variable name="is-chm" select="false()" />
+<xsl:variable name="is-zip" select="true()" />
+
+<!-- Now get the real guts of the stylesheet -->
+<xsl:include href="../xsl/common.xsl"/>
+
+</xsl:stylesheet>