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:
commit
81f49bd3bf
4
xep.xsl
4
xep.xsl
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user