![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/boostbook/xsl/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2007 Joel de Guzman <djowel -at- gmail.com> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/callout.xsl"/> <!-- Already included in the main style sheet --> <!-- <xsl:import href="relative-href.xsl"/> --> <xsl:template name="callout-bug"> <xsl:param name="conum" select='1'/> <xsl:choose> <xsl:when test="$callout.graphics != 0 and $conum <= $callout.graphics.number.limit"> <xsl:variable name="relative_callout_graphics_path"> <xsl:call-template name="href.target.relative"> <xsl:with-param name="target" select="$callout.graphics.path"/> </xsl:call-template> </xsl:variable> <img src="{$relative_callout_graphics_path}{$conum}{$callout.graphics.extension}" alt="{$conum}" border="0"/> </xsl:when> <xsl:when test="$callout.unicode != 0 and $conum <= $callout.unicode.number.limit"> <xsl:choose> <xsl:when test="$callout.unicode.start.character = 10102"> <xsl:choose> <xsl:when test="$conum = 1">❶</xsl:when> <xsl:when test="$conum = 2">❷</xsl:when> <xsl:when test="$conum = 3">❸</xsl:when> <xsl:when test="$conum = 4">❹</xsl:when> <xsl:when test="$conum = 5">❺</xsl:when> <xsl:when test="$conum = 6">❻</xsl:when> <xsl:when test="$conum = 7">❼</xsl:when> <xsl:when test="$conum = 8">❽</xsl:when> <xsl:when test="$conum = 9">❾</xsl:when> <xsl:when test="$conum = 10">❿</xsl:when> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:message> <xsl:text>Don't know how to generate Unicode callouts </xsl:text> <xsl:text>when $callout.unicode.start.character is </xsl:text> <xsl:value-of select="$callout.unicode.start.character"/> </xsl:message> <xsl:text>(</xsl:text> <xsl:value-of select="$conum"/> <xsl:text>)</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:text>(</xsl:text> <xsl:value-of select="$conum"/> <xsl:text>)</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>