mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 23:10:10 -05:00
Merge branch 'master' of athena.jabber.org:xmpp
This commit is contained in:
commit
81f49bd3bf
4
xep.xsl
4
xep.xsl
@ -1035,6 +1035,10 @@ OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match='sub'>
|
||||
<sub><xsl:apply-templates/></sub>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match='pre'>
|
||||
<pre><xsl:apply-templates/></pre>
|
||||
</xsl:template>
|
||||
|
@ -99,8 +99,8 @@
|
||||
|
||||
\usepackage{fontspec,xltxtra,xunicode}
|
||||
\defaultfontfeatures{Mapping=tex-text}
|
||||
\setromanfont[Ligatures={Common}]{Gentium}
|
||||
\setsansfont[Scale=MatchLowercase]{Gentium}
|
||||
\setromanfont[Ligatures={Common}]{Gentium Basic}
|
||||
\setsansfont[Scale=MatchLowercase]{Gentium Basic}
|
||||
\setmonofont[Scale=MatchLowercase]{Inconsolata}
|
||||
|
||||
\setkomafont{descriptionlabel}{\normalfont\bfseries}
|
||||
@ -306,6 +306,21 @@
|
||||
<cmd name="footnote"><parm><xsl:apply-templates/></parm></cmd>
|
||||
</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'] -->
|
||||
<xsl:template match="span[@class='super']">
|
||||
<math><spec cat="sup"/><spec cat="bg"/><xsl:apply-templates/><spec cat="eg"/></math>
|
||||
|
Loading…
Reference in New Issue
Block a user