copy logo.eps
[librarian.git] / librarian / pdf / wl2tex.xslt
index 5b58d61..ebd6a6b 100644 (file)
     </cmd>
 </xsl:template>
 
+<xsl:template match="ilustr">
+    <cmd>
+        <xsl:attribute name="name">
+            <xsl:value-of select="wl:texcommand(name())" />
+        </xsl:attribute>
+               <parm><xsl:value-of select="@src" /></parm>
+        <parm><xsl:apply-templates mode="inline" /></parm>
+    </cmd>
+</xsl:template>
+
+<xsl:template match="@*|node()" mode="identity">
+  <xsl:copy>
+    <xsl:apply-templates select="@*|node()" mode="identity"/>
+  </xsl:copy>
+</xsl:template>
+
+
+
+<xsl:template match="dmath">
+  <dmath>
+    <xsl:apply-templates mode="identity"/>
+  </dmath>
+</xsl:template>
+
+<xsl:template match="math" mode="inline">
+  <math>
+    <xsl:apply-templates mode="identity"/>
+  </math>
+</xsl:template>
+
+<xsl:template match="table">
+    <xsl:if test="@caption">
+        <group><cmd name="Large"/><xsl:value-of select="@caption"/></group><cmd name="newline"/>
+    </xsl:if>
+    <env name="tabular">
+        <parm><xsl:value-of select="@spec"/></parm>
+        <xsl:apply-templates />
+    </env>
+</xsl:template>
+
+<xsl:template match="r">
+    <xsl:apply-templates />
+    <spec cat="esc"/>
+    <spec cat="esc"/>
+</xsl:template>
+<xsl:template match="c">
+    <xsl:apply-templates mode="inline"/>
+    <xsl:if test="position() &lt; last()-1">
+    <spec cat="align"/>
+    </xsl:if>
+</xsl:template>
+<xsl:template match="hr">
+  <cmd name="hline"/>
+</xsl:template>
 
 <!-- ================ -->
 <!-- = SPECIAL TAGS = -->