mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 11:23:45 +00:00
119 lines
3.4 KiB
XML
119 lines
3.4 KiB
XML
|
<?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="exsl d" version="1.0">
|
||
|
|
||
|
<!-- Support for the DocBook Publishers extension -->
|
||
|
<xsl:template match="d:drama">
|
||
|
|
||
|
<div>
|
||
|
<xsl:call-template name="common.html.attributes"/>
|
||
|
<xsl:call-template name="id.attribute"/>
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
|
||
|
<xsl:call-template name="drama.titlepage"/>
|
||
|
|
||
|
<xsl:apply-templates/>
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="d:stagedir">
|
||
|
|
||
|
<div>
|
||
|
<xsl:call-template name="common.html.attributes"/>
|
||
|
<xsl:call-template name="id.attribute"/>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$make.clean.html = 0">
|
||
|
<xsl:attribute name="style">
|
||
|
<xsl:text>font-style:italic; font-weight:bold;</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
|
||
|
<xsl:apply-templates/>
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="d:inlinestagedir">
|
||
|
|
||
|
<span>
|
||
|
<xsl:call-template name="common.html.attributes"/>
|
||
|
<xsl:call-template name="id.attribute"/>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$make.clean.html = 0">
|
||
|
<xsl:attribute name="style">
|
||
|
<xsl:text>font-style:italic; font-weight:bold;</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
<xsl:text> [</xsl:text>
|
||
|
<xsl:apply-templates/>
|
||
|
<xsl:text>] </xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
<xsl:apply-templates/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</span>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="d:linegroup">
|
||
|
<div>
|
||
|
<xsl:call-template name="common.html.attributes"/>
|
||
|
<xsl:call-template name="id.attribute"/>
|
||
|
<xsl:if test="$make.clean.html = 0">
|
||
|
<xsl:attribute name="style">
|
||
|
<xsl:text>width: 100%; display: table; margin-top: 5px;</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
|
||
|
<div>
|
||
|
<xsl:if test="$make.clean.html = 0">
|
||
|
<xsl:attribute name="style">display: table-row;</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<div>
|
||
|
<xsl:if test="$make.clean.html = 0">
|
||
|
<xsl:attribute name="style">display: table-cell; width: 15%</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:apply-templates select="d:speaker"/>
|
||
|
</div>
|
||
|
|
||
|
<div>
|
||
|
<xsl:if test="$make.clean.html = 0">
|
||
|
<xsl:attribute name="style">display: table-cell; width: 85%</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:apply-templates select="*[not(self::d:speaker)]"/>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="d:speaker">
|
||
|
<div>
|
||
|
<xsl:call-template name="common.html.attributes"/>
|
||
|
<xsl:call-template name="id.attribute"/>
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
<xsl:apply-templates/>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="d:line">
|
||
|
<div>
|
||
|
<xsl:call-template name="common.html.attributes"/>
|
||
|
<xsl:call-template name="id.attribute"/>
|
||
|
<xsl:call-template name="anchor"/>
|
||
|
<xsl:apply-templates/>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template match="d:drama/d:title"/>
|
||
|
<xsl:template match="d:poetry/d:title"/>
|
||
|
<xsl:template match="d:dialogue/d:title"/>
|
||
|
|
||
|
</xsl:stylesheet>
|