1
0
mirror of https://github.com/moparisthebest/xeps synced 2025-01-31 07:20:09 -05:00

Merge branch 'master' of athena.jabber.org:xmpp

This commit is contained in:
Peter Saint-Andre 2013-12-02 18:46:20 -07:00
commit 81f49bd3bf
2 changed files with 21 additions and 2 deletions

View File

@ -1035,6 +1035,10 @@ OR OTHER DEALINGS IN THE SOFTWARE.
</span> </span>
</xsl:template> </xsl:template>
<xsl:template match='sub'>
<sub><xsl:apply-templates/></sub>
</xsl:template>
<xsl:template match='pre'> <xsl:template match='pre'>
<pre><xsl:apply-templates/></pre> <pre><xsl:apply-templates/></pre>
</xsl:template> </xsl:template>

View File

@ -99,8 +99,8 @@
\usepackage{fontspec,xltxtra,xunicode} \usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text} \defaultfontfeatures{Mapping=tex-text}
\setromanfont[Ligatures={Common}]{Gentium} \setromanfont[Ligatures={Common}]{Gentium Basic}
\setsansfont[Scale=MatchLowercase]{Gentium} \setsansfont[Scale=MatchLowercase]{Gentium Basic}
\setmonofont[Scale=MatchLowercase]{Inconsolata} \setmonofont[Scale=MatchLowercase]{Inconsolata}
\setkomafont{descriptionlabel}{\normalfont\bfseries} \setkomafont{descriptionlabel}{\normalfont\bfseries}
@ -306,6 +306,21 @@
<cmd name="footnote"><parm><xsl:apply-templates/></parm></cmd> <cmd name="footnote"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template> </xsl:template>
<!-- em -->
<xsl:template match="em">
<cmd name="emph"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- strong -->
<xsl:template match="strong">
<cmd name="textbf"><parm><xsl:apply-templates/></parm></cmd>
</xsl:template>
<!-- sub -->
<xsl:template match="sub">
<math><cmd name="textsuperscript"><parm><xsl:apply-templates/></parm></cmd></math>
</xsl:template>
<!-- span[@class='super'] --> <!-- span[@class='super'] -->
<xsl:template match="span[@class='super']"> <xsl:template match="span[@class='super']">
<math><spec cat="sup"/><spec cat="bg"/><xsl:apply-templates/><spec cat="eg"/></math> <math><spec cat="sup"/><spec cat="bg"/><xsl:apply-templates/><spec cat="eg"/></math>