<!-- 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"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'gb2312'" />
<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"/>
<!ELEMENT note (#PCDATA | title | %inlinetags; | %blocktags;)*>
<!ATTLIST note type CDATA #IMPLIED>
-<!ELEMENT table (tr)+>
+<!ELEMENT table (columnspec | tr)+>
<!ATTLIST table summary CDATA #IMPLIED
width CDATA #IMPLIED
bgcolor CDATA #IMPLIED
border CDATA #IMPLIED
style CDATA #IMPLIED>
+<!ELEMENT columnspec (column)+>
+
+<!ELEMENT column EMPTY>
+<!ATTLIST column width CDATA #IMPLIED>
+
<!ELEMENT tr (th | td)+>
<!ATTLIST tr valign CDATA #IMPLIED >
<!-- 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"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding" select="'gb2312'" />
<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>
</xsl:template>
<!-- /helper.uri.fix -->
+
+<!-- ==================================================================== -->
+<!-- Ignore table hints used for latex -->
+<!-- ==================================================================== -->
+<xsl:template match="columnspec">
+</xsl:template>
+
+<xsl:template match="column">
+</xsl:template>
+
</xsl:stylesheet>