common.xsl revision 58842e03db54033d15cc224d997f467abc88a97a
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- Constants used for case translation -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- Process a documentation section -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:text>}</xsl:text><xsl:call-template name="label"/>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:text>}</xsl:text><xsl:call-template name="label"/>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:text>}</xsl:text><xsl:call-template name="label"/>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:variable name="metafile" select="document(/*/@metafile)/metafile" />
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- <example> -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:if test="not(pre)"><xsl:text>\fbox{</xsl:text></xsl:if>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:text>\begin{minipage}{.8\textwidth}\begin{flushleft}</xsl:text>
01979b991e320f79fe2c1ae2afc298e8651bd69aslive<xsl:if test="not(pre)"><xsl:text>{\ttfamily\small </xsl:text></xsl:if>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:if test="not(pre)"><xsl:text>}</xsl:text></xsl:if>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:if test="not(pre)"><xsl:text>}</xsl:text></xsl:if>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- indentations -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
5e9423b4ca454c6416a2dc465dea1b1d34cec7a9slive<xsl:text>\begin{list}{}{\topsep 0pt\rightmargin 0pt\leftmargin 2em}
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- <note> -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive{\Huge $\Longrightarrow$}\begin{minipage}[t]{.8\textwidth}
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- <directive> -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- Inserts link to another directive, which might be in another module. -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- References are converted into lower case. -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
01979b991e320f79fe2c1ae2afc298e8651bd69aslive <xsl:if test="@type='section'"><xsl:text>\textless{}</xsl:text></xsl:if>
01979b991e320f79fe2c1ae2afc298e8651bd69aslive <xsl:value-of select="translate(.,$uppercase,$lowercase)"/>
01979b991e320f79fe2c1ae2afc298e8651bd69aslive <xsl:if test="@type='section'"><xsl:text>\textgreater{}</xsl:text></xsl:if>
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- /directive -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- <module> -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- Inserts a link to refereed module -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- /module -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- <related> -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<!-- ==================================================================== -->
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive\fbox{\begin{tabular}{rr}
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive\begin{minipage}[t]{.4\linewidth}
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:value-of select="$messages/message[@name='relatedmodules']" />
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive\end{minipage} &
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive\begin{minipage}[t]{.4\linewidth}
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive<xsl:value-of select="$messages/message[@name='relateddirectives']" />
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive\end{minipage}
3fa58e00171aebf3b2cfa90035ed530f5b1f651dslive\end{tabular}}