- i ran this test case on master. markup and mathml do not appear in any
case. which include, but are not limited to the TOC, page headers, chapter
intro's. it appears the current platform does not support markup or mathml
in a chapter title. if this isn't the case, can you point me to a
collection where I can exact the collection data for testing.


On Thu, May 2, 2013 at 9:53 AM, Philip Schatz <notifications@github.com>wrote:

> In xsl/dbk2xhtml-core.xsl:
>
> > +   1- So it is chunked as a separate file (hence the db:colophon)
> > +   2- Has a title that shows up in the EPUB spine/TOC (hence the db:title)
> > +   3- Gets matched (hence the ext:special-element-name)
> > +-->
> > +
> > +<xsl:template match="ext:end-of-book-references-placeholder">
> > +    <xsl:param name="book" select="/db:book"/>
> > +  	
> > +	<xsl:for-each select="$book/*[self::db:preface | self::db:chapter | self::db:appendix]|$book/db:part/*[self::db:preface | self::db:chapter | self::db:appendix]">
> > +		<xsl:variable name="title" select="db:title"/>
> > +			
> > +		<xsl:for-each select=".//db:section[@class = 'references']">
> > +			<div class="chapter-area">
> > +		    	<!-- Print the chapter title -->
> > +        		<div class="title">
> > +          			<xsl:value-of select="$title"/>
>
> The chapter title may contain markup (subscripts/math) so I'd recommend <xsl:apply-templates
> select="$title"/>. You may also need to remove the <div class="title">
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Connexions/oer.exports/pull/75/files#r4055975>
> .
>