$Id$
$Log$
+Revision 1.3 2006/04/04 22:02:14 cvsuser
+Fix two bugs (one } too much and a missing line break)
+
+Revision 1.2 2005/04/09 19:51:50 angantyr
+Added handling of open-ended quotes.
+
Revision 1.1 2005/01/30 01:32:52 jonathan.blake
Initial freepository revision of XML support documents.
{%% One-sided %%
%\fancyhead[C]{\iffloatpage{}{\bfseries{</xsl:text><xsl:value-of select="/gamebook/meta/title[1]" /><xsl:text>:} \normalfont{</xsl:text><xsl:value-of select="/gamebook/meta/creator[@class='short']" /><xsl:text>}}}
%\fancyhead[R]{\iffloatpage{}{\thepage}}}
- \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}
+ \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[LO,RE]{\iffloatpage{}{\thepage}}}
{%% One-sided %%
%\fancyhead[R]{\iffloatpage{}{\large{\bfseries \aonmarks}}}
- %\fancyhead[L]{\iffloatpage{}{\thepage}}}</xsl:text> <xsl:value-of select="$newparagraph" />
+ %\fancyhead[L]{\iffloatpage{}{\thepage}}%
+ }</xsl:text> <xsl:value-of select="$newparagraph" />
</xsl:if>
<xsl:if test="not( self::node()[@id='numbered'] )">
<xsl:template match="quote">
<xsl:text>&lsquot;</xsl:text>
<xsl:apply-templates />
- <xsl:text>&rsquot;</xsl:text>
+ <xsl:if test="not(self::*[@class='open-ended'])"><xsl:text>&rsquot;</xsl:text></xsl:if>
</xsl:template>
<xsl:template match="quote//quote">
<xsl:text>&ldquot;</xsl:text>
<xsl:apply-templates />
- <xsl:text>&rdquot;</xsl:text>
+ <xsl:if test="not(self::*[@class='open-ended'])"><xsl:text>&rdquot;</xsl:text></xsl:if>
</xsl:template>
<xsl:template match="code">