]> granicus.if.org Git - docbook-dsssl/commitdiff
Obsolete files
authorNorman Walsh <ndw@nwalsh.com>
Mon, 9 Apr 2001 11:27:56 +0000 (11:27 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 9 Apr 2001 11:27:56 +0000 (11:27 +0000)
slides/xsl/slidechunk.xsl [deleted file]
slides/xsl/slidenav.xsl [deleted file]
slides/xsl/slidesfo.xsl [deleted file]

diff --git a/slides/xsl/slidechunk.xsl b/slides/xsl/slidechunk.xsl
deleted file mode 100644 (file)
index 4b342d4..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-<xsl:template name="chunk">
-  <xsl:param name="node" select="."/>
-  <xsl:choose>
-    <xsl:when test="$chunk='0'">0</xsl:when>
-    <xsl:when test="name($node)='slides'">1</xsl:when>
-    <xsl:when test="name($node)='foil'">1</xsl:when>
-    <xsl:otherwise>0</xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="*" mode="chunk-filename">
-  <xsl:param name="recursive">0</xsl:param>
-  <!-- returns the filename of a chunk -->
-  <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
-  <xsl:variable name="filename">
-    <xsl:call-template name="dbhtml-filename"/>
-  </xsl:variable>
-  <xsl:variable name="dir">
-    <xsl:call-template name="dbhtml-dir"/>
-  </xsl:variable>
-
-  <xsl:choose>
-    <xsl:when test="$chunk='0'"></xsl:when>
-    <xsl:when test="$ischunk='0'">
-      <!-- if called on something that isn't a chunk, walk up... -->
-      <xsl:choose>
-        <xsl:when test="count(./parent::*)>0">
-          <xsl:apply-templates mode="chunk-filename" select="./parent::*">
-            <xsl:with-param name="recursive" select="$recursive"/>
-          </xsl:apply-templates>
-        </xsl:when>
-        <!-- unless there is no up, in which case return "" -->
-        <xsl:otherwise></xsl:otherwise>
-      </xsl:choose>
-    </xsl:when>
-
-    <xsl:when test="not($recursive) and $filename != ''">
-      <!-- if this chunk has an explicit name, use it -->
-      <xsl:if test="$dir != ''">
-        <xsl:value-of select="$dir"/>
-        <xsl:text>/</xsl:text>
-      </xsl:if>
-      <xsl:value-of select="$filename"/>
-    </xsl:when>
-
-    <xsl:when test="name(.)='foil'">
-      <xsl:variable name="foilnumber">
-       <xsl:number count="foil" level="any"/>
-      </xsl:variable>
-
-      <xsl:text>foil</xsl:text>
-      <xsl:number value="$foilnumber" format="01"/>
-      <xsl:text>.html</xsl:text>
-    </xsl:when>
-
-    <xsl:otherwise>
-      <xsl:text>chunk-filename-error-</xsl:text>
-      <xsl:value-of select="name(.)"/>
-      <xsl:number level="any" format="01" from="set"/>
-      <xsl:if test="not($recursive)">
-        <xsl:value-of select="$html.ext"/>
-      </xsl:if>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/slides/xsl/slidenav.xsl b/slides/xsl/slidenav.xsl
deleted file mode 100644 (file)
index bd20f5d..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-
-<xsl:template name="section-top-nav">
-  <xsl:variable name="nextfoil">
-    <xsl:apply-templates select="foil[1]" mode="filename"/>
-  </xsl:variable>
-
-  <xsl:variable name="prevfoil">
-    <xsl:choose>
-      <xsl:when test="preceding::foil">
-        <xsl:apply-templates select="preceding::foil[1]" mode="filename"/>
-      </xsl:when>
-      <xsl:otherwise>titlefoil.html</xsl:otherwise>
-    </xsl:choose>
-  </xsl:variable>
-
-  <div class="navhead">
-    <table width="100%" border="0" cellpadding="0" cellspacing="0"
-           summary="Navigation">
-      <tr>
-        <td align="left" width="10%">
-          <xsl:choose>
-            <xsl:when test="$prevfoil != ''">
-              <a href="{$prevfoil}">
-                <xsl:if test="$multiframe!=0">
-                  <xsl:attribute name="target">foil</xsl:attribute>
-                </xsl:if>
-                <img alt="Prev" src="{$graphics.dir}/{$left.image}" border="0"/>
-              </a>
-            </xsl:when>
-            <xsl:otherwise>&#160;</xsl:otherwise>
-          </xsl:choose>
-        </td>
-        <td align="center" width="80%">
-          <xsl:variable name="prestitle">
-            <xsl:value-of select="(/slides/slidesinfo/title
-                                  |/slides/title)[1]"/>
-          </xsl:variable>
-
-          <span class="navheader">
-            <xsl:value-of select="$prestitle"/>
-          </span>
-        </td>
-        <td align="right" width="10%">
-          <xsl:choose>
-            <xsl:when test="$nextfoil != ''">
-              <a href="{$nextfoil}">
-                <xsl:if test="$multiframe!=0">
-                  <xsl:attribute name="target">foil</xsl:attribute>
-                </xsl:if>
-                <img alt="Next" src="{$graphics.dir}/{$right.image}" border="0"/>
-              </a>
-            </xsl:when>
-            <xsl:otherwise>&#160;</xsl:otherwise>
-          </xsl:choose>
-        </td>
-      </tr>
-    </table>
-  </div>
-</xsl:template>
-
-<xsl:template name="section-bottom-nav">
-  <div class="navfoot">
-    <table width="100%" border="0" cellpadding="0" cellspacing="0"
-           summary="Navigation">
-      <tr>
-        <td align="left" width="80%" valign="top">
-          <span class="navfooter">
-            <xsl:apply-templates select="/slides/slidesinfo/copyright"
-                                 mode="slide.navigation.mode"/>
-          </span>
-        </td>
-        <td align="right" width="20%" valign="top">
-          <xsl:text>&#160;</xsl:text>
-        </td>
-      </tr>
-    </table>
-  </div>
-</xsl:template>
-
-<xsl:template name="foil-top-nav">
-  <xsl:variable name="section" select="ancestor::section"/>
-
-  <xsl:variable name="nextfoil">
-    <xsl:apply-templates select="(following::foil
-                                 |following::section)[1]"
-                         mode="filename"/>
-  </xsl:variable>
-
-  <xsl:variable name="prevfoil">
-    <xsl:choose>
-      <xsl:when test="preceding-sibling::foil">
-        <xsl:apply-templates select="preceding-sibling::foil[1]"
-                             mode="filename"/>
-      </xsl:when>
-      <xsl:when test="parent::section">
-        <xsl:apply-templates select="parent::section[1]"
-                             mode="filename"/>
-      </xsl:when>
-      <xsl:otherwise>titlefoil.html</xsl:otherwise>
-    </xsl:choose>
-  </xsl:variable>
-
-  <div class="navhead">
-    <table width="100%" border="0" cellpadding="0" cellspacing="0"
-           summary="Navigation">
-      <tr>
-        <td align="left" width="10%">
-          <xsl:choose>
-            <xsl:when test="$prevfoil != ''">
-              <a href="{$prevfoil}">
-                <xsl:if test="$multiframe!=0">
-                  <xsl:attribute name="target">foil</xsl:attribute>
-                </xsl:if>
-                <img alt="Prev" src="{$graphics.dir}/{$left.image}" border="0"/>
-              </a>
-            </xsl:when>
-            <xsl:otherwise>&#160;</xsl:otherwise>
-          </xsl:choose>
-        </td>
-        <td align="center" width="80%">
-          <xsl:variable name="prestitle">
-            <xsl:value-of select="(/slides/slidesinfo/title
-                                  |/slides/title)[1]"/>
-          </xsl:variable>
-          <xsl:variable name="secttitle">
-            <xsl:if test="$section">
-              <xsl:value-of select="$section/title"/>
-            </xsl:if>
-          </xsl:variable>
-
-          <span class="navheader">
-            <xsl:value-of select="$prestitle"/>
-            <xsl:if test="$secttitle != ''">
-              <xsl:text>: </xsl:text>
-              <xsl:value-of select="$secttitle"/>
-            </xsl:if>
-          </span>
-        </td>
-        <td align="right" width="10%">
-          <xsl:choose>
-            <xsl:when test="$nextfoil != ''">
-              <a href="{$nextfoil}">
-                <xsl:if test="$multiframe!=0">
-                  <xsl:attribute name="target">foil</xsl:attribute>
-                </xsl:if>
-                <img alt="Next" src="{$graphics.dir}/{$right.image}" border="0"/>
-              </a>
-            </xsl:when>
-            <xsl:otherwise>&#160;</xsl:otherwise>
-          </xsl:choose>
-        </td>
-      </tr>
-    </table>
-  </div>
-</xsl:template>
-
-<xsl:template name="foil-bottom-nav">
-  <div class="navfoot">
-    <table width="100%" border="0" cellspacing="0" cellpadding="0"
-           summary="Navigation">
-      <tr>
-        <td align="left" width="80%" valign="top">
-          <span class="navfooter">
-            <xsl:apply-templates select="/slides/slidesinfo/copyright"
-                                 mode="slide.navigation.mode"/>
-          </span>
-        </td>
-        <td align="right" width="20%" valign="top">
-          <span class="navfooter">
-            <xsl:number count="foil" level="any"/>
-          </span>
-        </td>
-      </tr>
-    </table>
-  </div>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/slides/xsl/slidesfo.xsl b/slides/xsl/slidesfo.xsl
deleted file mode 100644 (file)
index e53b7e0..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                xmlns:html="http://www.w3.org/TR/REC-html"
-               version="1.0">
-
-<xsl:import href="/share/xsl/docbook/fo/docbook.xsl"/>
-
-<xsl:output method="xml"/>
-
-<xsl:param name="base-font-size">14pt</xsl:param>
-<xsl:param name="base-font-family">Helvetica</xsl:param>
-<xsl:param name="base-font-weight">medium</xsl:param>
-
-<xsl:param name="title-font-size">18pt</xsl:param>
-<xsl:param name="title-font-family">Helvetica</xsl:param>
-<xsl:param name="title-font-weight">bold</xsl:param>
-
-<!-- ============================================================ -->
-
-<xsl:variable name="pageWidth">8.5in</xsl:variable>
-<xsl:variable name="pageHeight">11in</xsl:variable>
-<xsl:variable name="RegionAfterExtent">25pt</xsl:variable>
-<xsl:variable name="RegionBeforeExtent">25pt</xsl:variable>
-<xsl:variable name="BodyMarginBottom">24pt</xsl:variable>
-<xsl:variable name="BodyMarginTop">24pt</xsl:variable>
-<xsl:variable name="PageMarginTop">75pt</xsl:variable>
-<xsl:variable name="PageMarginBottom">100pt</xsl:variable>
-<xsl:variable name="PageMarginLeft">80pt</xsl:variable>
-<xsl:variable name="PageMarginRight">150pt</xsl:variable>
-
-<xsl:template match="/">
-  <fo:root font-family="{$base-font-family}"
-           font-size="{$base-font-size}"
-           text-align="left">
-    <fo:layout-master-set>
-      <fo:simple-page-master
-       page-width="{$pageWidth}"
-       page-height="{$pageHeight}"
-       page-master-name="left"
-       margin-top="{$PageMarginTop}"
-       margin-bottom="{$PageMarginBottom}"
-       margin-left="{$PageMarginLeft}"
-       margin-right="{$PageMarginRight}">
-       <fo:region-body margin-bottom="{$BodyMarginBottom}"
-                       margin-top="{$BodyMarginTop}"/>
-         <fo:region-after extent="{$RegionAfterExtent}"/>
-         <fo:region-before extent="{$RegionBeforeExtent}"/>
-       </fo:simple-page-master>
-      <fo:simple-page-master
-       page-width="{$pageWidth}"
-       page-height="{$pageHeight}"
-       page-master-name="right"
-       margin-top="{$PageMarginTop}"
-       margin-bottom="{$PageMarginBottom}"
-       margin-left="{$PageMarginLeft}"
-       margin-right="{$PageMarginRight}">
-       <fo:region-body margin-bottom="{$BodyMarginBottom}"
-         margin-top="{$BodyMarginTop}"/>
-         <fo:region-after extent="{$RegionAfterExtent}"/>
-         <fo:region-before extent="{$RegionBeforeExtent}"/>
-      </fo:simple-page-master>
-    </fo:layout-master-set>
-    <xsl:apply-templates/>
-  </fo:root>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="inlinegraphic[@format='linespecific']">
-  <html:a xml:link="simple" show="embed" actuate="auto" href="{@fileref}"/>
-</xsl:template>
-
-<xsl:template match="imagedata[@format='linespecific']">
-  <html:a xml:link="simple" show="embed" actuate="auto" href="{@fileref}"/>
-</xsl:template>
-
-<xsl:template match="imagedata">
-  <fo:external-graphic src="{@fileref}"
-                       width="auto"
-                       height="auto"
-                       text-align="center"/>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="slides">
-  <xsl:choose>
-    <xsl:when test="section">
-      <xsl:apply-templates/>
-    </xsl:when>
-    <xsl:otherwise>
-      <fo:page-sequence  initial-page-number="1">
-       <fo:page-sequence-master>
-         <fo:repeatable-page-master-alternatives
-           page-master-odd="right"
-           page-master-even="left"/>
-       </fo:page-sequence-master>
-      
-       <fo:static-content flow-name="xsl-after">
-         <fo:block text-align-last="centered" font-size="10pt">
-           <fo:page-number/>
-         </fo:block>
-       </fo:static-content>
-
-       <fo:flow font-weight="{$base-font-weight}"
-         font-size="{$base-font-size}"
-         font-family="{$base-font-family}">
-         <xsl:apply-templates/>
-       </fo:flow>
-      </fo:page-sequence>
-    </xsl:otherwise>
-  </xsl:choose>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="slidesinfo">
-</xsl:template>
-
-<xsl:template match="slidesinfo/title">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slidesinfo/authorgroup">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slidesinfo/author|slidesinfo/authorgroup/author">
-  <xsl:apply-imports/>
-</xsl:template>
-
-<xsl:template match="slidesinfo/releaseinfo">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slidesinfo/date">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slidesinfo/copyright">
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="section">
-  <fo:page-sequence  initial-page-number="1">
-    <fo:page-sequence-master>
-      <fo:repeatable-page-master-alternatives
-       page-master-odd="right"
-       page-master-even="left"/>
-    </fo:page-sequence-master>
-      
-    <fo:static-content flow-name="xsl-after">
-      <fo:block text-align-last="centered" font-size="10pt">
-       <fo:page-number/>
-      </fo:block>
-    </fo:static-content>
-
-    <fo:flow font-weight="{$base-font-weight}"
-            font-size="{$base-font-size}"
-             font-family="{$base-font-family}">
-      <xsl:apply-templates/>
-    </fo:flow>
-  </fo:page-sequence>
-</xsl:template>
-
-<xsl:template match="section/title">
-</xsl:template>
-
-<xsl:template match="section/title" mode="navheader">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slides/title" mode="navheader">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slides/slidesinfo/title" mode="navheader">
-  <xsl:apply-templates/>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="foil">
-  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
-
-  <fo:block break-before="page">
-    <xsl:apply-templates/>
-  </fo:block>
-</xsl:template>
-
-<xsl:template match="foil/title">
-  <fo:block font-weight="{$title-font-weight}"
-            font-size="{$title-font-size}"
-            font-family="{$title-font-family}"
-            text-align="center">
-    <xsl:apply-templates/>
-  </fo:block>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-</xsl:stylesheet>
-