/branches/LFS_7.5_Systemd/stylesheets/lfs-nochunks.xsl |
1,8 → 1,8 |
<?xml version='1.0' encoding='ISO-8859-1'?> |
|
<!-- |
$LastChangedBy: manuel $ |
$Date: 2007-06-12 20:18:51 +0200 (mar, 12 jun 2007) $ |
$LastChangedBy: krejzi $ |
$Date: 2013-12-11 00:37:38 +0100 (mer. 11 déc. 2013) $ |
--> |
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: stylesheets/lfs-pdf.xsl |
=================================================================== |
--- stylesheets/lfs-pdf.xsl (revision 5897) |
+++ stylesheets/lfs-pdf.xsl (revision 5898) |
@@ -1,8 +1,8 @@ |
<?xml version='1.0' encoding='ISO-8859-1'?> |
<!-- |
-$LastChangedBy: manuel $ |
-$Date: 2007-05-19 20:43:37 +0200 (sáb, 19 may 2007) $ |
+$LastChangedBy: krejzi $ |
+$Date: 2013-12-11 00:37:38 +0100 (mer. 11 déc. 2013) $ |
--> |
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
/branches/LFS_7.5_Systemd/stylesheets/lfs-chunked.xsl |
1,8 → 1,8 |
<?xml version='1.0' encoding='ISO-8859-1'?> |
|
<!-- |
$LastChangedBy: manuel $ |
$Date: 2007-05-19 20:43:37 +0200 (sáb, 19 may 2007) $ |
$LastChangedBy: krejzi $ |
$Date: 2013-12-11 00:37:38 +0100 (mer. 11 déc. 2013) $ |
--> |
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
/branches/LFS_7.5_Systemd/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pdf2index |
File deleted |
|
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/formal.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/formal.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/formal.xsl (nonexistent) |
@@ -1,534 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:fo="http://www.w3.org/1999/XSL/Format" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: formal.xsl,v 1.2 2008-07-14 18:28:28 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- formal.object creates a basic block containing the |
- result of processing the object, including its title |
- and any keep-together properties. |
- The template calling formal.object may wrap these results in a |
- float or pgwide block. --> |
- |
-<xsl:template name="formal.object"> |
- <xsl:param name="placement" select="'before'"/> |
- |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"/> |
- </xsl:variable> |
- |
- <xsl:variable name="content"> |
- <xsl:if test="$placement = 'before'"> |
- <xsl:call-template name="formal.object.heading"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </xsl:if> |
- <xsl:apply-templates/> |
- <xsl:if test="$placement != 'before'"> |
- <xsl:call-template name="formal.object.heading"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="keep.together"> |
- <xsl:call-template name="pi.dbfo_keep-together"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <!-- tables have their own templates and |
- are not handled by formal.object --> |
- <xsl:when test="self::figure"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="figure.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:copy-of select="$content"/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="self::example"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="example.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:copy-of select="$content"/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="self::equation"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="equation.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:copy-of select="$content"/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="self::procedure"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="procedure.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:copy-of select="$content"/> |
- </fo:block> |
- </xsl:when> |
- <xsl:otherwise> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="formal.object.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:copy-of select="$content"/> |
- </fo:block> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="formal.object.heading"> |
- <xsl:param name="object" select="."/> |
- <xsl:param name="placement" select="'before'"/> |
- |
- <fo:block xsl:use-attribute-sets="formal.title.properties"> |
- <xsl:choose> |
- <xsl:when test="$placement = 'before'"> |
- <xsl:attribute |
- name="keep-with-next.within-column">always</xsl:attribute> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:attribute |
- name="keep-with-previous.within-column">always</xsl:attribute> |
- </xsl:otherwise> |
- </xsl:choose> |
- <xsl:apply-templates select="$object" mode="object.title.markup"> |
- <xsl:with-param name="allow-anchors" select="1"/> |
- </xsl:apply-templates> |
- </fo:block> |
-</xsl:template> |
- |
-<xsl:template name="informal.object"> |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"/> |
- </xsl:variable> |
- |
- <xsl:variable name="keep.together"> |
- <xsl:call-template name="pi.dbfo_keep-together"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <!-- informaltables have their own templates and |
- are not handled by formal.object --> |
- <xsl:when test="local-name(.) = 'equation'"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="equation.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:apply-templates/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="local-name(.) = 'procedure'"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="procedure.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:apply-templates/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="local-name(.) = 'informalfigure'"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="informalfigure.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:apply-templates/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="local-name(.) = 'informalexample'"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="informalexample.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:apply-templates/> |
- </fo:block> |
- </xsl:when> |
- <xsl:when test="local-name(.) = 'informalequation'"> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="informalequation.properties"> |
- <xsl:apply-templates/> |
- </fo:block> |
- </xsl:when> |
- <xsl:otherwise> |
- <fo:block id="{$id}" |
- xsl:use-attribute-sets="informal.object.properties"> |
- <xsl:if test="$keep.together != ''"> |
- <xsl:attribute name="keep-together.within-column"><xsl:value-of |
- select="$keep.together"/></xsl:attribute> |
- </xsl:if> |
- <xsl:apply-templates/> |
- </fo:block> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="semiformal.object"> |
- <xsl:param name="placement" select="'before'"/> |
- <xsl:choose> |
- <xsl:when test="./title"> |
- <xsl:call-template name="formal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="informal.object"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="figure"> |
- <xsl:variable name="param.placement" |
- select="substring-after(normalize-space($formal.title.placement), |
- concat(local-name(.), ' '))"/> |
- |
- <xsl:variable name="placement"> |
- <xsl:choose> |
- <xsl:when test="contains($param.placement, ' ')"> |
- <xsl:value-of select="substring-before($param.placement, ' ')"/> |
- </xsl:when> |
- <xsl:when test="$param.placement = ''">before</xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$param.placement"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="figure"> |
- <xsl:choose> |
- <xsl:when test="@pgwide = '1'"> |
- <fo:block xsl:use-attribute-sets="pgwide.properties"> |
- <xsl:call-template name="formal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </fo:block> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="formal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="floatstyle"> |
- <xsl:call-template name="floatstyle"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$floatstyle != ''"> |
- <xsl:call-template name="floater"> |
- <xsl:with-param name="position" select="$floatstyle"/> |
- <xsl:with-param name="content" select="$figure"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:copy-of select="$figure"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="example"> |
- <xsl:variable name="param.placement" |
- select="substring-after(normalize-space($formal.title.placement), |
- concat(local-name(.), ' '))"/> |
- |
- <xsl:variable name="placement"> |
- <xsl:choose> |
- <xsl:when test="contains($param.placement, ' ')"> |
- <xsl:value-of select="substring-before($param.placement, ' ')"/> |
- </xsl:when> |
- <xsl:when test="$param.placement = ''">before</xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$param.placement"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <!-- Example doesn't have a pgwide attribute, so may use a PI --> |
- <xsl:variable name="pgwide.pi"> |
- <xsl:call-template name="pi.dbfo_pgwide"/> |
- </xsl:variable> |
- |
- <xsl:variable name="pgwide"> |
- <xsl:choose> |
- <xsl:when test="$pgwide.pi"> |
- <xsl:value-of select="$pgwide.pi"/> |
- </xsl:when> |
- <!-- child element may set pgwide --> |
- <xsl:when test="*[@pgwide]"> |
- <xsl:value-of select="*[@pgwide][1]/@pgwide"/> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <!-- Get align value from internal mediaobject --> |
- <xsl:variable name="align"> |
- <xsl:if test="mediaobject|mediaobjectco"> |
- <xsl:variable name="olist" select="mediaobject/imageobject |
- |mediaobjectco/imageobjectco |
- |mediaobject/videoobject |
- |mediaobject/audioobject |
- |mediaobject/textobject"/> |
- |
- <xsl:variable name="object.index"> |
- <xsl:call-template name="select.mediaobject.index"> |
- <xsl:with-param name="olist" select="$olist"/> |
- <xsl:with-param name="count" select="1"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="object" select="$olist[position() = $object.index]"/> |
- |
- <xsl:value-of select="$object/descendant::imagedata[@align][1]/@align"/> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="example"> |
- <xsl:choose> |
- <xsl:when test="$pgwide = '1'"> |
- <fo:block xsl:use-attribute-sets="pgwide.properties"> |
- <xsl:if test="$align != ''"> |
- <xsl:attribute name="text-align"> |
- <xsl:value-of select="$align"/> |
- </xsl:attribute> |
- </xsl:if> |
- <xsl:call-template name="formal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </fo:block> |
- </xsl:when> |
- <xsl:otherwise> |
- <fo:block> |
- <xsl:if test="$align != ''"> |
- <xsl:attribute name="text-align"> |
- <xsl:value-of select="$align"/> |
- </xsl:attribute> |
- </xsl:if> |
- <xsl:call-template name="formal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </fo:block> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="floatstyle"> |
- <xsl:call-template name="floatstyle"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$floatstyle != ''"> |
- <xsl:call-template name="floater"> |
- <xsl:with-param name="position" select="$floatstyle"/> |
- <xsl:with-param name="content" select="$example"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:copy-of select="$example"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- |
-</xsl:template> |
- |
-<!-- Unified handling of CALS and HTML tables, formal and not --> |
-<!-- Creates a hierarchy of nested containers: |
- - Outer container does a float. |
- - Nested container does block-container for rotation |
- - Nested block contains title, layout table and footnotes |
- - Nested layout table placeholder template supports extensions. |
- - fo:table is innermost. |
- Created from the innermost and working out. |
- Not all layers apply to every table. |
---> |
-<xsl:template match="table|informaltable"> |
- <xsl:if test="tgroup/tbody/tr |
- |tgroup/thead/tr |
- |tgroup/tfoot/tr"> |
- <xsl:message terminate="yes"> |
- <xsl:text>Broken table: tr descendent of CALS Table.</xsl:text> |
- <xsl:text>The text in the first tr is: </xsl:text> |
- <xsl:value-of |
- select="(tgroup//tr)[1]"/> |
- </xsl:message> |
- </xsl:if> |
- <xsl:if test="not(tgroup) and .//row"> |
- <xsl:message terminate="yes"> |
- <xsl:text>Broken table: row descendent of HTML table.</xsl:text> |
- <xsl:text>The text in the first row is: </xsl:text> |
- <xsl:value-of |
- select=".//row[1]"/> |
- </xsl:message> |
- </xsl:if> |
- |
- <!-- Contains fo:table, not title or footnotes --> |
- <xsl:variable name="table.content"> |
- <xsl:call-template name="make.table.content"/> |
- </xsl:variable> |
- |
- <!-- Optional layout table template for extensions --> |
- <xsl:variable name="table.layout"> |
- <xsl:call-template name="table.layout"> |
- <xsl:with-param name="table.content" select="$table.content"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <!-- fo:block contains title, layout table, and footnotes --> |
- <xsl:variable name="table.block"> |
- <xsl:call-template name="table.block"> |
- <xsl:with-param name="table.layout" select="$table.layout"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <!-- pgwide or orient container --> |
- <xsl:variable name="table.container"> |
- <xsl:call-template name="table.container"> |
- <xsl:with-param name="table.block" select="$table.block"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <!-- float or not --> |
- <xsl:variable name="floatstyle"> |
- <xsl:call-template name="floatstyle"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$floatstyle != ''"> |
- <xsl:call-template name="floater"> |
- <xsl:with-param name="position" select="$floatstyle"/> |
- <xsl:with-param name="content" select="$table.container"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:copy-of select="$table.container"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
- |
-<xsl:template match="equation"> |
- <xsl:variable name="param.placement" |
- select="substring-after(normalize-space($formal.title.placement), |
- concat(local-name(.), ' '))"/> |
- |
- <xsl:variable name="placement"> |
- <xsl:choose> |
- <xsl:when test="contains($param.placement, ' ')"> |
- <xsl:value-of select="substring-before($param.placement, ' ')"/> |
- </xsl:when> |
- <xsl:when test="$param.placement = ''">before</xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$param.placement"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <!-- Equation doesn't have a pgwide attribute, so may use a PI --> |
- <xsl:variable name="pgwide"> |
- <xsl:call-template name="pi.dbfo_pgwide"/> |
- </xsl:variable> |
- |
- <xsl:variable name="equation"> |
- <xsl:choose> |
- <xsl:when test="$pgwide = '1'"> |
- <fo:block xsl:use-attribute-sets="pgwide.properties"> |
- <xsl:call-template name="semiformal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </fo:block> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="semiformal.object"> |
- <xsl:with-param name="placement" select="$placement"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="floatstyle"> |
- <xsl:call-template name="floatstyle"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$floatstyle != ''"> |
- <xsl:call-template name="floater"> |
- <xsl:with-param name="position" select="$floatstyle"/> |
- <xsl:with-param name="content" select="$equation"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:copy-of select="$equation"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="figure/title"></xsl:template> |
-<xsl:template match="figure/titleabbrev"></xsl:template> |
-<xsl:template match="table/title"></xsl:template> |
-<xsl:template match="table/titleabbrev"></xsl:template> |
-<xsl:template match="table/textobject"></xsl:template> |
-<xsl:template match="example/title"></xsl:template> |
-<xsl:template match="example/titleabbrev"></xsl:template> |
-<xsl:template match="equation/title"></xsl:template> |
-<xsl:template match="equation/titleabbrev"></xsl:template> |
- |
-<xsl:template match="informalfigure"> |
- <xsl:call-template name="informal.object"/> |
-</xsl:template> |
- |
-<xsl:template match="informalexample"> |
- <xsl:call-template name="informal.object"/> |
-</xsl:template> |
- |
-<xsl:template match="informaltable/textobject"></xsl:template> |
- |
-<xsl:template match="informalequation"> |
- <xsl:call-template name="informal.object"/> |
-</xsl:template> |
- |
-<xsl:template name="floatstyle"> |
- <xsl:if test="(@float and @float != '0') or @floatstyle != ''"> |
- <xsl:choose> |
- <xsl:when test="@floatstyle != ''"> |
- <xsl:value-of select="@floatstyle"/> |
- </xsl:when> |
- <xsl:when test="@float = '1'"> |
- <xsl:value-of select="$default.float.class"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="@float"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:if> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/division.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/division.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/division.xsl (nonexistent) |
@@ -1,611 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:fo="http://www.w3.org/1999/XSL/Format" |
- xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: division.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template name="division.title"> |
- <xsl:param name="node" select="."/> |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"> |
- <xsl:with-param name="object" select="$node"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:variable name="title"> |
- <xsl:apply-templates select="$node" mode="object.title.markup"/> |
- </xsl:variable> |
- |
- <xsl:if test="$passivetex.extensions != 0"> |
- <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" |
- fotex-bookmark-level="1" |
- fotex-bookmark-label="{$id}"> |
- <xsl:value-of select="$title"/> |
- </fotex:bookmark> |
- </xsl:if> |
- |
- <fo:block keep-with-next.within-column="always" |
- hyphenate="false"> |
- <xsl:if test="$axf.extensions != 0"> |
- <xsl:attribute name="axf:outline-level"> |
- <xsl:choose> |
- <xsl:when test="count($node/ancestor::*) > 0"> |
- <xsl:value-of select="count($node/ancestor::*)"/> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
- </xsl:attribute> |
- <xsl:attribute name="axf:outline-expand">false</xsl:attribute> |
- <xsl:attribute name="axf:outline-title"> |
- <xsl:value-of select="normalize-space($title)"/> |
- </xsl:attribute> |
- </xsl:if> |
- <xsl:copy-of select="$title"/> |
- </fo:block> |
-</xsl:template> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template match="set"> |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"/> |
- </xsl:variable> |
- |
- <xsl:variable name="preamble" |
- select="*[not(self::book or self::setindex)]"/> |
- |
- <xsl:variable name="content" select="book|setindex"/> |
- |
- <xsl:variable name="titlepage-master-reference"> |
- <xsl:call-template name="select.pagemaster"> |
- <xsl:with-param name="pageclass" select="'titlepage'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="lot-master-reference"> |
- <xsl:call-template name="select.pagemaster"> |
- <xsl:with-param name="pageclass" select="'lot'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:if test="$preamble"> |
- <fo:page-sequence hyphenate="{$hyphenate}" |
- master-reference="{$titlepage-master-reference}"> |
- <xsl:attribute name="language"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:attribute> |
- <xsl:attribute name="format"> |
- <xsl:call-template name="page.number.format"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="initial-page-number"> |
- <xsl:call-template name="initial.page.number"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="force-page-count"> |
- <xsl:call-template name="force.page.count"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="hyphenation-character"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-character'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-push-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-remain-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:apply-templates select="." mode="running.head.mode"> |
- <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> |
- </xsl:apply-templates> |
- |
- <xsl:apply-templates select="." mode="running.foot.mode"> |
- <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> |
- </xsl:apply-templates> |
- |
- <fo:flow flow-name="xsl-region-body"> |
- <xsl:call-template name="set.flow.properties"> |
- <xsl:with-param name="element" select="local-name(.)"/> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- |
- <fo:block id="{$id}"> |
- <xsl:call-template name="set.titlepage"/> |
- </fo:block> |
- </fo:flow> |
- </fo:page-sequence> |
- </xsl:if> |
- |
- <xsl:variable name="toc.params"> |
- <xsl:call-template name="find.path.params"> |
- <xsl:with-param name="table" select="normalize-space($generate.toc)"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:if test="contains($toc.params, 'toc')"> |
- <fo:page-sequence hyphenate="{$hyphenate}" |
- master-reference="{$lot-master-reference}"> |
- <xsl:attribute name="language"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:attribute> |
- <xsl:attribute name="format"> |
- <xsl:call-template name="page.number.format"> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="initial-page-number"> |
- <xsl:call-template name="initial.page.number"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="force-page-count"> |
- <xsl:call-template name="force.page.count"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="hyphenation-character"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-character'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-push-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-remain-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:apply-templates select="." mode="running.head.mode"> |
- <xsl:with-param name="master-reference" select="$lot-master-reference"/> |
- </xsl:apply-templates> |
- |
- <xsl:apply-templates select="." mode="running.foot.mode"> |
- <xsl:with-param name="master-reference" select="$lot-master-reference"/> |
- </xsl:apply-templates> |
- |
- <fo:flow flow-name="xsl-region-body"> |
- <xsl:call-template name="set.flow.properties"> |
- <xsl:with-param name="element" select="local-name(.)"/> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- |
- <xsl:call-template name="set.toc"/> |
- </fo:flow> |
- </fo:page-sequence> |
- </xsl:if> |
- |
- <xsl:apply-templates select="$content"/> |
-</xsl:template> |
- |
-<xsl:template match="set/setinfo"></xsl:template> |
-<xsl:template match="set/title"></xsl:template> |
-<xsl:template match="set/subtitle"></xsl:template> |
-<xsl:template match="set/titleabbrev"></xsl:template> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template match="book"> |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"/> |
- </xsl:variable> |
- |
- <xsl:variable name="preamble" |
- select="title|subtitle|titleabbrev|bookinfo|info"/> |
- |
- <xsl:variable name="content" |
- select="node()[not(self::title or self::subtitle |
- or self::titleabbrev |
- or self::info |
- or self::bookinfo)]"/> |
- |
- <xsl:variable name="titlepage-master-reference"> |
- <xsl:call-template name="select.pagemaster"> |
- <xsl:with-param name="pageclass" select="'titlepage'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:call-template name="front.cover"/> |
- |
- <xsl:if test="$preamble"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- <xsl:with-param name="content"> |
- <fo:block id="{$id}"> |
- <xsl:call-template name="book.titlepage"/> |
- </fo:block> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
- |
- <xsl:apply-templates select="dedication" mode="dedication"/> |
- |
- <xsl:call-template name="make.book.tocs"/> |
- |
- <xsl:apply-templates select="$content"/> |
- |
- <xsl:call-template name="back.cover"/> |
- |
-</xsl:template> |
- |
-<xsl:template match="book/bookinfo"></xsl:template> |
-<xsl:template match="book/info"></xsl:template> |
-<xsl:template match="book/title"></xsl:template> |
-<xsl:template match="book/subtitle"></xsl:template> |
-<xsl:template match="book/titleabbrev"></xsl:template> |
- |
-<!-- Placeholder templates --> |
-<xsl:template name="front.cover"/> |
-<xsl:template name="back.cover"/> |
- |
-<!-- ================================================================= --> |
-<xsl:template name="make.book.tocs"> |
- |
- <xsl:variable name="lot-master-reference"> |
- <xsl:call-template name="select.pagemaster"> |
- <xsl:with-param name="pageclass" select="'lot'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="toc.params"> |
- <xsl:call-template name="find.path.params"> |
- <xsl:with-param name="table" select="normalize-space($generate.toc)"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:if test="contains($toc.params, 'toc')"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="gentext-key" select="'TableofContents'"/> |
- <xsl:with-param name="content"> |
- <xsl:call-template name="division.toc"> |
- <xsl:with-param name="toc.title.p" |
- select="contains($toc.params, 'title')"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
- |
- <xsl:if test="contains($toc.params,'figure') and .//figure"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="gentext-key" select="'ListofFigures'"/> |
- <xsl:with-param name="content"> |
- <xsl:call-template name="list.of.titles"> |
- <xsl:with-param name="titles" select="'figure'"/> |
- <xsl:with-param name="nodes" select=".//figure"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
- |
- <xsl:if test="contains($toc.params,'table') and .//table"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="gentext-key" select="'ListofTables'"/> |
- <xsl:with-param name="content"> |
- <xsl:call-template name="list.of.titles"> |
- <xsl:with-param name="titles" select="'table'"/> |
- <xsl:with-param name="nodes" select=".//table"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
- |
- <xsl:if test="contains($toc.params,'example') and .//example"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="gentext-key" select="'ListofExample'"/> |
- <xsl:with-param name="content"> |
- <xsl:call-template name="list.of.titles"> |
- <xsl:with-param name="titles" select="'example'"/> |
- <xsl:with-param name="nodes" select=".//example"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
- |
- <xsl:if test="contains($toc.params,'equation') and |
- .//equation[title or info/title]"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="gentext-key" select="'ListofEquations'"/> |
- <xsl:with-param name="content"> |
- <xsl:call-template name="list.of.titles"> |
- <xsl:with-param name="titles" select="'equation'"/> |
- <xsl:with-param name="nodes" |
- select=".//equation[title or info/title]"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
- |
- <xsl:if test="contains($toc.params,'procedure') and |
- .//procedure[title or info/title]"> |
- <xsl:call-template name="page.sequence"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="gentext-key" select="'ListofProcedures'"/> |
- <xsl:with-param name="content"> |
- <xsl:call-template name="list.of.titles"> |
- <xsl:with-param name="titles" select="'procedure'"/> |
- <xsl:with-param name="nodes" |
- select=".//procedure[title or info/title]"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
-<!-- ==================================================================== --> |
- |
-<xsl:template match="part"> |
- <xsl:if test="not(partintro)"> |
- <xsl:apply-templates select="." mode="part.titlepage.mode"/> |
- <xsl:call-template name="generate.part.toc"/> |
- </xsl:if> |
- <xsl:apply-templates/> |
-</xsl:template> |
- |
-<xsl:template match="part" mode="part.titlepage.mode"> |
- <!-- done this way to force the context node to be the part --> |
- <xsl:param name="additional.content"/> |
- |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"/> |
- </xsl:variable> |
- |
- <xsl:variable name="titlepage-master-reference"> |
- <xsl:call-template name="select.pagemaster"> |
- <xsl:with-param name="pageclass" select="'titlepage'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <fo:page-sequence hyphenate="{$hyphenate}" |
- master-reference="{$titlepage-master-reference}"> |
- <xsl:attribute name="language"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:attribute> |
- <xsl:attribute name="format"> |
- <xsl:call-template name="page.number.format"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="initial-page-number"> |
- <xsl:call-template name="initial.page.number"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="force-page-count"> |
- <xsl:call-template name="force.page.count"> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="hyphenation-character"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-character'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-push-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-remain-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:apply-templates select="." mode="running.head.mode"> |
- <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> |
- </xsl:apply-templates> |
- |
- <xsl:apply-templates select="." mode="running.foot.mode"> |
- <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> |
- </xsl:apply-templates> |
- |
- <fo:flow flow-name="xsl-region-body"> |
- <xsl:call-template name="set.flow.properties"> |
- <xsl:with-param name="element" select="local-name(.)"/> |
- <xsl:with-param name="master-reference" |
- select="$titlepage-master-reference"/> |
- </xsl:call-template> |
- |
- <fo:block id="{$id}"> |
- <xsl:call-template name="part.titlepage"/> |
- </fo:block> |
- <xsl:copy-of select="$additional.content"/> |
- </fo:flow> |
- </fo:page-sequence> |
-</xsl:template> |
- |
-<xsl:template match="part/docinfo|partinfo"></xsl:template> |
-<xsl:template match="part/info"></xsl:template> |
-<xsl:template match="part/title"></xsl:template> |
-<xsl:template match="part/subtitle"></xsl:template> |
-<xsl:template match="part/titleabbrev"></xsl:template> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template name="generate.part.toc"> |
- <xsl:param name="part" select="."/> |
- |
- <xsl:variable name="lot-master-reference"> |
- <xsl:call-template name="select.pagemaster"> |
- <xsl:with-param name="pageclass" select="'lot'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="toc.params"> |
- <xsl:call-template name="find.path.params"> |
- <xsl:with-param name="node" select="$part"/> |
- <xsl:with-param name="table" select="normalize-space($generate.toc)"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="nodes" select="reference| |
- preface| |
- chapter| |
- appendix| |
- article| |
- bibliography| |
- glossary| |
- index"/> |
- |
- <xsl:if test="count($nodes) > 0 and contains($toc.params, 'toc')"> |
- <fo:page-sequence hyphenate="{$hyphenate}" |
- master-reference="{$lot-master-reference}"> |
- <xsl:attribute name="language"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:attribute> |
- <xsl:attribute name="format"> |
- <xsl:call-template name="page.number.format"> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="initial-page-number"> |
- <xsl:call-template name="initial.page.number"> |
- <xsl:with-param name="element" select="'toc'"/> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="force-page-count"> |
- <xsl:call-template name="force.page.count"> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:attribute name="hyphenation-character"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-character'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-push-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- <xsl:attribute name="hyphenation-remain-character-count"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:apply-templates select="$part" mode="running.head.mode"> |
- <xsl:with-param name="master-reference" select="$lot-master-reference"/> |
- </xsl:apply-templates> |
- |
- <xsl:apply-templates select="$part" mode="running.foot.mode"> |
- <xsl:with-param name="master-reference" select="$lot-master-reference"/> |
- </xsl:apply-templates> |
- |
- <fo:flow flow-name="xsl-region-body"> |
- <xsl:call-template name="set.flow.properties"> |
- <xsl:with-param name="element" select="local-name(.)"/> |
- <xsl:with-param name="master-reference" |
- select="$lot-master-reference"/> |
- </xsl:call-template> |
- |
- <xsl:call-template name="division.toc"> |
- <xsl:with-param name="toc-context" select="$part"/> |
- <xsl:with-param name="toc.title.p" |
- select="contains($toc.params, 'title')"/> |
- </xsl:call-template> |
- |
- </fo:flow> |
- </fo:page-sequence> |
- </xsl:if> |
-</xsl:template> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template match="part/partintro"> |
- <xsl:apply-templates select=".." mode="part.titlepage.mode"> |
- <xsl:with-param name="additional.content"> |
- <xsl:if test="title"> |
- <xsl:call-template name="partintro.titlepage"/> |
- </xsl:if> |
- <xsl:apply-templates/> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- |
- <xsl:call-template name="generate.part.toc"> |
- <xsl:with-param name="part" select=".."/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template match="partintro/title"></xsl:template> |
-<xsl:template match="partintro/subtitle"></xsl:template> |
-<xsl:template match="partintro/titleabbrev"></xsl:template> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template match="book" mode="division.number"> |
- <xsl:number from="set" count="book" format="1."/> |
-</xsl:template> |
- |
-<xsl:template match="part" mode="division.number"> |
- <xsl:number from="book" count="part" format="I."/> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
- |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/ptc.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/ptc.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/ptc.xsl (nonexistent) |
@@ -1,76 +0,0 @@ |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:fo="http://www.w3.org/1999/XSL/Format" |
- version="1.0"> |
- |
-<!-- ================================================================ --> |
-<!-- --> |
-<!-- PTC/Arbortext Code for XSL 1.1 bookmark support --> |
-<!-- --> |
-<!-- ================================================================ --> |
- |
-<xsl:param name="ati.xsl11.bookmarks" select="1"/> |
- |
-<xsl:variable name="ati-a-dia" select= |
-"'āăąćĉċčďđēĕėęěœĝğġģĥħĩīĭįıĵķĺļľŀłńņňŋōŏőŕŗřśŝşšţťŧũūŭůűųŵŷźżžĀĂĄĆĈĊČĎĐĒĔĖĘĚŒĜĞĠĢĤĦĨĪĬĮİĴĶĹĻĽĿŁŃŅŇŊŌŎŐŔŖŘŚŜŞŠŢŤŦŨŪŬŮŰŲŴŶŸŹŻŽ'"/> |
- |
-<xsl:variable name="ati-a-asc" select= |
-"'aaaccccddeeeeeegggghhiiiiijklllllnnnnooorrrsssstttuuuuuuwyzzzAAACCCCDDEEEEEEGGGGHHIIIIIJKLLLLLNNNNOOORRRSSSSTTTUUUUUUWYYZZZ'"/> |
- |
-<xsl:template match="*" mode="ati.xsl11.bookmarks"> |
- <xsl:apply-templates select="*" mode="ati.xsl11.bookmarks"/> |
-</xsl:template> |
- |
-<xsl:template match="set|book|part|reference|preface|chapter|appendix|article |
- |glossary|bibliography|index|setindex |
- |refentry |
- |sect1|sect2|sect3|sect4|sect5|section" |
- mode="ati.xsl11.bookmarks"> |
- <xsl:variable name="id"> |
- <xsl:call-template name="object.id"/> |
- </xsl:variable> |
- <xsl:variable name="bookmark-label"> |
- <xsl:apply-templates select="." mode="object.title.markup"/> |
- </xsl:variable> |
- |
- <!-- Put the root element bookmark at the same level as its children --> |
- <!-- If the object is a set or book, generate a bookmark for the toc --> |
- |
- <xsl:choose> |
- <xsl:when test="parent::*"> |
- <fo:bookmark internal-destination="{$id}"> |
- <fo:bookmark-title> |
- <xsl:value-of select="translate($bookmark-label, $ati-a-dia, $ati-a-asc)"/> |
- </fo:bookmark-title> |
- <xsl:apply-templates select="*" mode="ati.xsl11.bookmarks"/> |
- </fo:bookmark> |
- </xsl:when> |
- <xsl:otherwise> |
- <fo:bookmark internal-destination="{$id}"> |
- <fo:bookmark-title> |
- <xsl:value-of select="translate($bookmark-label, $ati-a-dia, $ati-a-asc)"/> |
- </fo:bookmark-title> |
- </fo:bookmark> |
- |
- <xsl:variable name="toc.params"> |
- <xsl:call-template name="find.path.params"> |
- <xsl:with-param name="table" select="normalize-space($generate.toc)"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:if test="contains($toc.params, 'toc') |
- and section|sect1|refentry |
- |article|bibliography|glossary |
- |appendix"> |
- <fo:bookmark internal-destination="toc...{$id}"> |
- <fo:bookmark-title> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'TableofContents'"/> |
- </xsl:call-template> |
- </fo:bookmark-title> |
- </fo:bookmark> |
- </xsl:if> |
- <xsl:apply-templates select="*" mode="ati.xsl11.bookmarks"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/html/chunker.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/html/chunker.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/html/chunker.xsl (nonexistent) |
@@ -1,439 +0,0 @@ |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:saxon="http://icl.com/saxon" |
- xmlns:lxslt="http://xml.apache.org/xslt" |
- xmlns:redirect="http://xml.apache.org/xalan/redirect" |
- xmlns:exsl="http://exslt.org/common" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- version="1.0" |
- exclude-result-prefixes="doc" |
- extension-element-prefixes="saxon redirect lxslt exsl"> |
- |
-<!-- ******************************************************************** |
- $Id: chunker.xsl 8196 2007-07-05 21:18:33Z manuel $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- ==================================================================== --> |
- |
-<!-- This stylesheet works with XSLT implementations that support --> |
-<!-- exsl:document, saxon:output, or Xalan's redirect:write --> |
-<!-- Note: Only Saxon 6.4.2 or later is supported. --> |
- |
-<xsl:param name="chunker.output.method" select="'html'"/> |
-<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> |
-<xsl:param name="chunker.output.indent" select="'no'"/> |
-<xsl:param name="chunker.output.omit-xml-declaration" select="'no'"/> |
-<xsl:param name="chunker.output.standalone" select="'no'"/> |
-<xsl:param name="chunker.output.doctype-public" select="''"/> |
-<xsl:param name="chunker.output.doctype-system" select="''"/> |
-<xsl:param name="chunker.output.media-type" select="''"/> |
-<xsl:param name="chunker.output.cdata-section-elements" select="''"/> |
-<xsl:param name="chunker.output.quiet" select="0"/> |
- |
-<xsl:param name="saxon.character.representation" select="'entity;decimal'"/> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template name="make-relative-filename"> |
- <xsl:param name="base.dir" select="'./'"/> |
- <xsl:param name="base.name" select="''"/> |
- |
- <xsl:choose> |
- <!-- put Saxon first to work around a bug in libxslt --> |
- <xsl:when test="element-available('saxon:output')"> |
- <!-- Saxon doesn't make the chunks relative --> |
- <xsl:value-of select="concat($base.dir,$base.name)"/> |
- </xsl:when> |
- <xsl:when test="element-available('exsl:document')"> |
- <!-- EXSL document does make the chunks relative, I think --> |
- <xsl:choose> |
- <xsl:when test="count(parent::*) = 0"> |
- <xsl:value-of select="concat($base.dir,$base.name)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$base.name"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="element-available('redirect:write')"> |
- <!-- Xalan doesn't make the chunks relative --> |
- <xsl:value-of select="concat($base.dir,$base.name)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message terminate="yes"> |
- <xsl:text>Don't know how to chunk with </xsl:text> |
- <xsl:value-of select="system-property('xsl:vendor')"/> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="write.chunk"> |
- <xsl:param name="filename" select="''"/> |
- <xsl:param name="quiet" select="$chunker.output.quiet"/> |
- <xsl:param name="suppress-context-node-name" select="0"/> |
- <xsl:param name="message-prolog"/> |
- <xsl:param name="message-epilog"/> |
- |
- <xsl:param name="method" select="$chunker.output.method"/> |
- <xsl:param name="encoding" select="$chunker.output.encoding"/> |
- <xsl:param name="indent" select="$chunker.output.indent"/> |
- <xsl:param name="omit-xml-declaration" |
- select="$chunker.output.omit-xml-declaration"/> |
- <xsl:param name="standalone" select="$chunker.output.standalone"/> |
- <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/> |
- <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/> |
- <xsl:param name="media-type" select="$chunker.output.media-type"/> |
- <xsl:param name="cdata-section-elements" |
- select="$chunker.output.cdata-section-elements"/> |
- |
- <xsl:param name="content"/> |
- |
- <xsl:if test="$quiet = 0"> |
- <xsl:message> |
- <xsl:if test="not($message-prolog = '')"> |
- <xsl:value-of select="$message-prolog"/> |
- </xsl:if> |
- <xsl:text>Writing </xsl:text> |
- <xsl:value-of select="$filename"/> |
- <xsl:if test="name(.) != '' and $suppress-context-node-name = 0"> |
- <xsl:text> for </xsl:text> |
- <xsl:value-of select="name(.)"/> |
- <xsl:if test="@id or @xml:id"> |
- <xsl:text>(</xsl:text> |
- <xsl:value-of select="(@id|@xml:id)[1]"/> |
- <xsl:text>)</xsl:text> |
- </xsl:if> |
- </xsl:if> |
- <xsl:if test="not($message-epilog = '')"> |
- <xsl:value-of select="$message-epilog"/> |
- </xsl:if> |
- </xsl:message> |
- </xsl:if> |
- |
- <xsl:choose> |
- <xsl:when test="element-available('exsl:document')"> |
- <xsl:choose> |
- <!-- Handle the permutations ... --> |
- <xsl:when test="$media-type != ''"> |
- <xsl:choose> |
- <xsl:when test="$doctype-public != '' and $doctype-system != ''"> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- doctype-public="{$doctype-public}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:when> |
- <xsl:when test="$doctype-public != '' and $doctype-system = ''"> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- doctype-public="{$doctype-public}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:when> |
- <xsl:when test="$doctype-public = '' and $doctype-system != ''"> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:when> |
- <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$doctype-public != '' and $doctype-system != ''"> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- doctype-public="{$doctype-public}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:when> |
- <xsl:when test="$doctype-public != '' and $doctype-system = ''"> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- doctype-public="{$doctype-public}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:when> |
- <xsl:when test="$doctype-public = '' and $doctype-system != ''"> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:when> |
- <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> |
- <exsl:document href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </exsl:document> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- |
- <xsl:when test="element-available('saxon:output')"> |
- <xsl:choose> |
- <!-- Handle the permutations ... --> |
- <xsl:when test="$media-type != ''"> |
- <xsl:choose> |
- <xsl:when test="$doctype-public != '' and $doctype-system != ''"> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- doctype-public="{$doctype-public}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:when> |
- <xsl:when test="$doctype-public != '' and $doctype-system = ''"> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- doctype-public="{$doctype-public}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:when> |
- <xsl:when test="$doctype-public = '' and $doctype-system != ''"> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:when> |
- <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- media-type="{$media-type}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$doctype-public != '' and $doctype-system != ''"> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- doctype-public="{$doctype-public}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:when> |
- <xsl:when test="$doctype-public != '' and $doctype-system = ''"> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- doctype-public="{$doctype-public}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:when> |
- <xsl:when test="$doctype-public = '' and $doctype-system != ''"> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- doctype-system="{$doctype-system}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:when> |
- <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> |
- <saxon:output saxon:character-representation="{$saxon.character.representation}" |
- href="{$filename}" |
- method="{$method}" |
- encoding="{$encoding}" |
- indent="{$indent}" |
- omit-xml-declaration="{$omit-xml-declaration}" |
- cdata-section-elements="{$cdata-section-elements}" |
- standalone="{$standalone}"> |
- <xsl:copy-of select="$content"/> |
- </saxon:output> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- |
- <xsl:when test="element-available('redirect:write')"> |
- <!-- Xalan uses redirect --> |
- <redirect:write file="{$filename}"> |
- <xsl:copy-of select="$content"/> |
- </redirect:write> |
- </xsl:when> |
- |
- <xsl:otherwise> |
- <!-- it doesn't matter since we won't be making chunks... --> |
- <xsl:message terminate="yes"> |
- <xsl:text>Can't make chunks with </xsl:text> |
- <xsl:value-of select="system-property('xsl:vendor')"/> |
- <xsl:text>'s processor.</xsl:text> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="write.chunk.with.doctype"> |
- <xsl:param name="filename" select="''"/> |
- <xsl:param name="quiet" select="$chunker.output.quiet"/> |
- |
- <xsl:param name="method" select="$chunker.output.method"/> |
- <xsl:param name="encoding" select="$chunker.output.encoding"/> |
- <xsl:param name="indent" select="$chunker.output.indent"/> |
- <xsl:param name="omit-xml-declaration" |
- select="$chunker.output.omit-xml-declaration"/> |
- <xsl:param name="standalone" select="$chunker.output.standalone"/> |
- <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/> |
- <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/> |
- <xsl:param name="media-type" select="$chunker.output.media-type"/> |
- <xsl:param name="cdata-section-elements" |
- select="$chunker.output.cdata-section-elements"/> |
- |
- <xsl:param name="content"/> |
- |
- <xsl:call-template name="write.chunk"> |
- <xsl:with-param name="filename" select="$filename"/> |
- <xsl:with-param name="quiet" select="$quiet"/> |
- <xsl:with-param name="method" select="$method"/> |
- <xsl:with-param name="encoding" select="$encoding"/> |
- <xsl:with-param name="indent" select="$indent"/> |
- <xsl:with-param name="omit-xml-declaration" select="$omit-xml-declaration"/> |
- <xsl:with-param name="standalone" select="$standalone"/> |
- <xsl:with-param name="doctype-public" select="$doctype-public"/> |
- <xsl:with-param name="doctype-system" select="$doctype-system"/> |
- <xsl:with-param name="media-type" select="$media-type"/> |
- <xsl:with-param name="cdata-section-elements" select="$cdata-section-elements"/> |
- <xsl:with-param name="content" select="$content"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="write.text.chunk"> |
- <xsl:param name="filename" select="''"/> |
- <xsl:param name="quiet" select="$chunker.output.quiet"/> |
- <xsl:param name="suppress-context-node-name" select="0"/> |
- <xsl:param name="message-prolog"/> |
- <xsl:param name="message-epilog"/> |
- <xsl:param name="method" select="'text'"/> |
- <xsl:param name="encoding" select="$chunker.output.encoding"/> |
- <xsl:param name="media-type" select="$chunker.output.media-type"/> |
- <xsl:param name="content"/> |
- |
- <xsl:call-template name="write.chunk"> |
- <xsl:with-param name="filename" select="$filename"/> |
- <xsl:with-param name="quiet" select="$quiet"/> |
- <xsl:with-param name="suppress-context-node-name" select="$suppress-context-node-name"/> |
- <xsl:with-param name="message-prolog" select="$message-prolog"/> |
- <xsl:with-param name="message-epilog" select="$message-epilog"/> |
- <xsl:with-param name="method" select="$method"/> |
- <xsl:with-param name="encoding" select="$encoding"/> |
- <xsl:with-param name="indent" select="'no'"/> |
- <xsl:with-param name="omit-xml-declaration" select="'no'"/> |
- <xsl:with-param name="standalone" select="'no'"/> |
- <xsl:with-param name="doctype-public"/> |
- <xsl:with-param name="doctype-system"/> |
- <xsl:with-param name="media-type" select="$media-type"/> |
- <xsl:with-param name="cdata-section-elements"/> |
- <xsl:with-param name="content" select="$content"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION (nonexistent) |
@@ -1,113 +0,0 @@ |
-<?xml version='1.0'?> <!-- -*- nxml -*- vim: set foldlevel=2: --> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/" |
- xmlns:sf="http://sourceforge.net/" |
- xmlns:dyn="http://exslt.org/dynamic" |
- xmlns:saxon="http://icl.com/saxon" |
- exclude-result-prefixes="fm sf" |
- version='1.0'> |
- |
-<xsl:output omit-xml-declaration="yes"/> |
- |
-<xsl:param name="get"/> |
-<xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/> |
-<xsl:param name="Tag" select="concat('V',translate(string(document('')//fm:Version[1]),'.',''))"/> |
-<xsl:param name="DistroTitle" select="string(document('')//fm:Branch[1])"/> |
-<xsl:param name="sf-relid" select="0"/> |
- |
-<xsl:param name="DistroName">docbook-xsl</xsl:param> |
-<xsl:param name="PreviousRelease">1.72.0</xsl:param> |
-<xsl:param name="PreviousReleaseRevision">6549</xsl:param> |
-<xsl:param name="Revision">$Revision: 8369 $</xsl:param> |
-<xsl:param name="VersionFileURL">$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $</xsl:param> |
- |
-<xsl:strip-space elements="fm:*"/> |
- |
-<fm:project> |
- <fm:Project>DocBook</fm:Project> |
- <fm:Branch>XSL Stylesheets</fm:Branch> |
- <fm:Version>1.73.2</fm:Version> |
-<!-- |
- <fm:License>MIT/X Consortium License</fm:License> |
---> |
- <fm:Release-Focus> |
-<!-- * Initial freshmeat announcement --> |
-<!-- * Documentation --> |
-<!-- * Code cleanup --> |
-<!-- * Minor feature enhancements --> |
-<!-- * Major feature enhancements --> |
-Minor bugfixes |
-<!-- * Major bugfixes --> |
-<!-- * Minor security fixes --> |
-<!-- * Major security fixes --> |
- </fm:Release-Focus> |
- <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL> |
- <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.tar.gz?download</fm:Gzipped-Tar-URL> |
- <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.zip?download</fm:Zipped-Tar-URL> |
- <fm:Bzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.bz2?download</fm:Bzipped-Tar-URL> |
- <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL> |
- <fm:CVS-URL>http://docbook.svn.sourceforge.net/viewvc/docbook/</fm:CVS-URL> |
- <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL> |
- <fm:Changes>This is a bug-fix update to the 1.73.1 release. |
-</fm:Changes> |
-</fm:project> |
- |
-<xsl:template match="/" priority="-100"> |
- <xsl:choose> |
- <xsl:when test="$get = 'Tag'"> |
- <xsl:value-of select="$Tag"/> |
- </xsl:when> |
- <xsl:when test="$get = 'PreviousRelease'"> |
- <xsl:value-of select="$PreviousRelease"/> |
- </xsl:when> |
- <xsl:when test="$get = 'PreviousReleaseRevision'"> |
- <xsl:value-of select="$PreviousReleaseRevision"/> |
- </xsl:when> |
- <xsl:when test="$get = 'DistroTitle'"> |
- <xsl:value-of select="$DistroTitle"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:if test="$sf-relid = 0"> |
- <xsl:message terminate="yes"> |
- <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- <xsl:apply-templates select="//fm:project"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="fm:project"> |
- <xsl:apply-templates/> |
- <xsl:text> </xsl:text> |
- <xsl:apply-templates select="fm:Changes" mode="text"/> |
-</xsl:template> |
- |
-<xsl:template match="fm:Changes"/> |
- |
-<xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL|fm:Bzipped-Tar-URL"> |
- <xsl:value-of select="local-name(.)"/> |
- <xsl:text>: </xsl:text> |
- <xsl:value-of select="substring-before(., '{DISTRONAME-VERSION}')"/> |
- <xsl:value-of select="concat($DistroName, '-', $VERSION)"/> |
- <xsl:value-of select="substring-after(., '{DISTRONAME-VERSION}')"/> |
- <xsl:text> </xsl:text> |
-</xsl:template> |
- |
-<xsl:template match="fm:Changelog-URL"> |
- <xsl:value-of select="local-name(.)"/> |
- <xsl:text>: </xsl:text> |
- <xsl:value-of select="substring-before(., '{SFRELID}')"/> |
- <xsl:value-of select="$sf-relid"/> |
- <xsl:value-of select="substring-after(., '{SFRELID}')"/> |
- <xsl:text> </xsl:text> |
-</xsl:template> |
- |
-<xsl:template match="fm:*"> |
- <xsl:value-of select="local-name(.)"/> |
- <xsl:text>: </xsl:text> |
- <xsl:value-of select="normalize-space(.)"/> |
- <xsl:text> </xsl:text> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/highlighting/common.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/highlighting/common.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/highlighting/common.xsl (nonexistent) |
@@ -1,16 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- |
- Fake file to keep happy ../{fo,xhtml}/verbatim.xsl |
- |
- ******************************************************************** --> |
- |
- <xsl:template name="apply-highlighting"> |
- <xsl:apply-templates/> |
- </xsl:template> |
- |
-</xsl:stylesheet> |
- |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl (nonexistent) |
@@ -1,480 +0,0 @@ |
-<?xml version="1.0" encoding="ASCII"?> |
-<!-- ******************************************************************** |
- $Id: lib.xsl 8369 2007-09-09 08:55:14Z manuel $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- This module implements DTD-independent functions |
- |
- ******************************************************************** --> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
- |
-<xsl:template name="dot.count"> |
- <!-- Returns the number of "." characters in a string --> |
- <xsl:param name="string"/> |
- <xsl:param name="count" select="0"/> |
- <xsl:choose> |
- <xsl:when test="contains($string, '.')"> |
- <xsl:call-template name="dot.count"> |
- <xsl:with-param name="string" select="substring-after($string, '.')"/> |
- <xsl:with-param name="count" select="$count+1"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$count"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="copy-string"> |
- <!-- returns 'count' copies of 'string' --> |
- <xsl:param name="string"/> |
- <xsl:param name="count" select="0"/> |
- <xsl:param name="result"/> |
- |
- <xsl:choose> |
- <xsl:when test="$count>0"> |
- <xsl:call-template name="copy-string"> |
- <xsl:with-param name="string" select="$string"/> |
- <xsl:with-param name="count" select="$count - 1"/> |
- <xsl:with-param name="result"> |
- <xsl:value-of select="$result"/> |
- <xsl:value-of select="$string"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$result"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="string.subst"> |
- <xsl:param name="string"/> |
- <xsl:param name="target"/> |
- <xsl:param name="replacement"/> |
- |
- <xsl:choose> |
- <xsl:when test="contains($string, $target)"> |
- <xsl:variable name="rest"> |
- <xsl:call-template name="string.subst"> |
- <xsl:with-param name="string" select="substring-after($string, $target)"/> |
- <xsl:with-param name="target" select="$target"/> |
- <xsl:with-param name="replacement" select="$replacement"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$string"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="xpointer.idref"> |
- <xsl:param name="xpointer">http://...</xsl:param> |
- <xsl:choose> |
- <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> |
- <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"/> |
- <xsl:variable name="quote" select="substring($rest, 1, 1)"/> |
- <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"/> |
- </xsl:when> |
- <xsl:when test="starts-with($xpointer, '#')"> |
- <xsl:value-of select="substring-after($xpointer, '#')"/> |
- </xsl:when> |
- <!-- otherwise it's a pointer to some other document --> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="length-magnitude"> |
- <xsl:param name="length" select="'0pt'"/> |
- |
- <xsl:choose> |
- <xsl:when test="string-length($length) = 0"/> |
- <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'"> |
- <xsl:value-of select="substring($length,1,1)"/> |
- <xsl:call-template name="length-magnitude"> |
- <xsl:with-param name="length" select="substring($length,2)"/> |
- </xsl:call-template> |
- </xsl:when> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="length-units"> |
- <xsl:param name="length" select="'0pt'"/> |
- <xsl:param name="default.units" select="'px'"/> |
- <xsl:variable name="magnitude"> |
- <xsl:call-template name="length-magnitude"> |
- <xsl:with-param name="length" select="$length"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="units"> |
- <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$units = ''"> |
- <xsl:value-of select="$default.units"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$units"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="length-spec"> |
- <xsl:param name="length" select="'0pt'"/> |
- <xsl:param name="default.units" select="'px'"/> |
- |
- <xsl:variable name="magnitude"> |
- <xsl:call-template name="length-magnitude"> |
- <xsl:with-param name="length" select="$length"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="units"> |
- <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> |
- </xsl:variable> |
- |
- <xsl:value-of select="$magnitude"/> |
- <xsl:choose> |
- <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'"> |
- <xsl:value-of select="$units"/> |
- </xsl:when> |
- <xsl:when test="$units = ''"> |
- <xsl:value-of select="$default.units"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Unrecognized unit of measure: </xsl:text> |
- <xsl:value-of select="$units"/> |
- <xsl:text>.</xsl:text> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="length-in-points"> |
- <xsl:param name="length" select="'0pt'"/> |
- <xsl:param name="em.size" select="10"/> |
- <xsl:param name="pixels.per.inch" select="90"/> |
- |
- <xsl:variable name="magnitude"> |
- <xsl:call-template name="length-magnitude"> |
- <xsl:with-param name="length" select="$length"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="units"> |
- <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$units = 'pt'"> |
- <xsl:value-of select="$magnitude"/> |
- </xsl:when> |
- <xsl:when test="$units = 'cm'"> |
- <xsl:value-of select="$magnitude div 2.54 * 72.0"/> |
- </xsl:when> |
- <xsl:when test="$units = 'mm'"> |
- <xsl:value-of select="$magnitude div 25.4 * 72.0"/> |
- </xsl:when> |
- <xsl:when test="$units = 'in'"> |
- <xsl:value-of select="$magnitude * 72.0"/> |
- </xsl:when> |
- <xsl:when test="$units = 'pc'"> |
- <xsl:value-of select="$magnitude * 12.0"/> |
- </xsl:when> |
- <xsl:when test="$units = 'px'"> |
- <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"/> |
- </xsl:when> |
- <xsl:when test="$units = 'em'"> |
- <xsl:value-of select="$magnitude * $em.size"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Unrecognized unit of measure: </xsl:text> |
- <xsl:value-of select="$units"/> |
- <xsl:text>.</xsl:text> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="pi-attribute"> |
- <xsl:param name="pis" select="processing-instruction('BOGUS_PI')"/> |
- <xsl:param name="attribute">filename</xsl:param> |
- <xsl:param name="count">1</xsl:param> |
- |
- <xsl:choose> |
- <xsl:when test="$count>count($pis)"> |
- <!-- not found --> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:variable name="pi"> |
- <xsl:value-of select="$pis[$count]"/> |
- </xsl:variable> |
- <xsl:variable name="pivalue"> |
- <xsl:value-of select="concat(' ', normalize-space($pi))"/> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))"> |
- <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"/> |
- <xsl:variable name="quote" select="substring($rest,1,1)"/> |
- <xsl:value-of select="substring-before(substring($rest,2),$quote)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="pi-attribute"> |
- <xsl:with-param name="pis" select="$pis"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- <xsl:with-param name="count" select="$count + 1"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="lookup.key"> |
- <xsl:param name="key" select="''"/> |
- <xsl:param name="table" select="''"/> |
- |
- <xsl:if test="contains($table, ' ')"> |
- <xsl:choose> |
- <xsl:when test="substring-before($table, ' ') = $key"> |
- <xsl:variable name="rest" select="substring-after($table, ' ')"/> |
- <xsl:choose> |
- <xsl:when test="contains($rest, ' ')"> |
- <xsl:value-of select="substring-before($rest, ' ')"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$rest"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="lookup.key"> |
- <xsl:with-param name="key" select="$key"/> |
- <xsl:with-param name="table" select="substring-after(substring-after($table,' '), ' ')"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:if> |
-</xsl:template> |
-<xsl:template name="xpath.location"> |
- <xsl:param name="node" select="."/> |
- <xsl:param name="path" select="''"/> |
- |
- <xsl:variable name="next.path"> |
- <xsl:value-of select="local-name($node)"/> |
- <xsl:if test="$path != ''">/</xsl:if> |
- <xsl:value-of select="$path"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$node/parent::*"> |
- <xsl:call-template name="xpath.location"> |
- <xsl:with-param name="node" select="$node/parent::*"/> |
- <xsl:with-param name="path" select="$next.path"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:text>/</xsl:text> |
- <xsl:value-of select="$next.path"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="comment-escape-string"> |
- <xsl:param name="string" select="''"/> |
- |
- <xsl:if test="starts-with($string, '-')"> |
- <xsl:text> </xsl:text> |
- </xsl:if> |
- |
- <xsl:call-template name="comment-escape-string.recursive"> |
- <xsl:with-param name="string" select="$string"/> |
- </xsl:call-template> |
- |
- <xsl:if test="substring($string, string-length($string), 1) = '-'"> |
- <xsl:text> </xsl:text> |
- </xsl:if> |
-</xsl:template> |
-<xsl:template name="comment-escape-string.recursive"> |
- <xsl:param name="string" select="''"/> |
- <xsl:choose> |
- <xsl:when test="contains($string, '--')"> |
- <xsl:value-of select="substring-before($string, '--')"/> |
- <xsl:value-of select="'- -'"/> |
- <xsl:call-template name="comment-escape-string.recursive"> |
- <xsl:with-param name="string" select="substring-after($string, '--')"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$string"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- <xsl:template name="str.tokenize.keep.delimiters"> |
- <xsl:param name="string" select="''"/> |
- <xsl:param name="delimiters" select="' '"/> |
- <xsl:choose> |
- <xsl:when test="not($string)"/> |
- <xsl:when test="not($delimiters)"> |
- <xsl:call-template name="str.tokenize.keep.delimiters-characters"> |
- <xsl:with-param name="string" select="$string"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> |
- <xsl:with-param name="string" select="$string"/> |
- <xsl:with-param name="delimiters" select="$delimiters"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:template> |
- <xsl:template name="str.tokenize.keep.delimiters-characters"> |
- <xsl:param name="string"/> |
- <xsl:if test="$string"> |
- <ssb:token xmlns:ssb="http://sideshowbarker.net/ns"><xsl:value-of select="substring($string, 1, 1)"/></ssb:token> |
- <xsl:call-template name="str.tokenize.keep.delimiters-characters"> |
- <xsl:with-param name="string" select="substring($string, 2)"/> |
- </xsl:call-template> |
- </xsl:if> |
- </xsl:template> |
- <xsl:template name="str.tokenize.keep.delimiters-delimiters"> |
- <xsl:param name="string"/> |
- <xsl:param name="delimiters"/> |
- <xsl:variable name="delimiter" select="substring($delimiters, 1, 1)"/> |
- <xsl:choose> |
- <xsl:when test="not($delimiter)"> |
- <ssb:token xmlns:ssb="http://sideshowbarker.net/ns"><xsl:value-of select="$string"/></ssb:token> |
- </xsl:when> |
- <xsl:when test="contains($string, $delimiter)"> |
- <xsl:if test="not(starts-with($string, $delimiter))"> |
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> |
- <xsl:with-param name="string" select="substring-before($string, $delimiter)"/> |
- <xsl:with-param name="delimiters" select="substring($delimiters, 2)"/> |
- </xsl:call-template> |
- </xsl:if> |
- <!-- output each delimiter --> |
- <xsl:value-of select="$delimiter"/> |
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> |
- <xsl:with-param name="string" select="substring-after($string, $delimiter)"/> |
- <xsl:with-param name="delimiters" select="$delimiters"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> |
- <xsl:with-param name="string" select="$string"/> |
- <xsl:with-param name="delimiters" select="substring($delimiters, 2)"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:template> |
- <xsl:template name="apply-string-subst-map"> |
- <xsl:param name="content"/> |
- <xsl:param name="map.contents"/> |
- <xsl:variable name="replaced_text"> |
- <xsl:call-template name="string.subst"> |
- <xsl:with-param name="string" select="$content"/> |
- <xsl:with-param name="target" select="$map.contents[1]/@oldstring"/> |
- <xsl:with-param name="replacement" select="$map.contents[1]/@newstring"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$map.contents[2]"> |
- <xsl:call-template name="apply-string-subst-map"> |
- <xsl:with-param name="content" select="$replaced_text"/> |
- <xsl:with-param name="map.contents" select="$map.contents[position() > 1]"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$replaced_text"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:template> |
- |
-<xsl:template name="count.uri.path.depth"> |
- <xsl:param name="filename" select="''"/> |
- <xsl:param name="count" select="0"/> |
- |
- <xsl:choose> |
- <xsl:when test="contains($filename, '/')"> |
- <xsl:call-template name="count.uri.path.depth"> |
- <xsl:with-param name="filename" select="substring-after($filename, '/')"/> |
- <xsl:with-param name="count" select="$count + 1"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$count"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
-<xsl:template name="trim.common.uri.paths"> |
- <xsl:param name="uriA" select="''"/> |
- <xsl:param name="uriB" select="''"/> |
- <xsl:param name="return" select="'A'"/> |
- |
- <xsl:choose> |
- <xsl:when test="contains($uriA, '/') and contains($uriB, '/') and substring-before($uriA, '/') = substring-before($uriB, '/')"> |
- <xsl:call-template name="trim.common.uri.paths"> |
- <xsl:with-param name="uriA" select="substring-after($uriA, '/')"/> |
- <xsl:with-param name="uriB" select="substring-after($uriB, '/')"/> |
- <xsl:with-param name="return" select="$return"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$return = 'A'"> |
- <xsl:value-of select="$uriA"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$uriB"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
- <xsl:template name="trim.text"> |
- <xsl:param name="contents" select="."/> |
- <xsl:variable name="contents-left-trimmed"> |
- <xsl:call-template name="trim-left"> |
- <xsl:with-param name="contents" select="$contents"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:variable name="contents-trimmed"> |
- <xsl:call-template name="trim-right"> |
- <xsl:with-param name="contents" select="$contents-left-trimmed"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="$contents-trimmed"/> |
- </xsl:template> |
- |
- <xsl:template name="trim-left"> |
- <xsl:param name="contents"/> |
- <xsl:choose> |
- <xsl:when test="starts-with($contents,' ') or starts-with($contents,' ') or starts-with($contents,' ') or starts-with($contents,'	')"> |
- <xsl:call-template name="trim-left"> |
- <xsl:with-param name="contents" select="substring($contents, 2)"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$contents"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:template> |
- |
- <xsl:template name="trim-right"> |
- <xsl:param name="contents"/> |
- <xsl:variable name="last-char"> |
- <xsl:value-of select="substring($contents, string-length($contents), 1)"/> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="($last-char = ' ') or ($last-char = ' ') or ($last-char = ' ') or ($last-char = '	')"> |
- <xsl:call-template name="trim-right"> |
- <xsl:with-param name="contents" select="substring($contents, 1, string-length($contents) - 1)"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$contents"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl (nonexistent) |
@@ -1,346 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet |
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- xmlns:date="http://exslt.org/dates-and-times" |
- xmlns:exsl="http://exslt.org/common" |
- xmlns:xlink="http://www.w3.org/1999/xlink" |
- exclude-result-prefixes="doc date exsl" |
- extension-element-prefixes="date exsl" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: pi.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<doc:reference xmlns=""><info><title>Common Processing Instruction Reference</title> |
- <releaseinfo role="meta"> |
- $Id: pi.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- </releaseinfo> |
- </info> |
- <partintro id="partintro"> |
- <title>Introduction</title> |
- <para>This is generated reference documentation for all |
- user-specifiable processing instructions (PIs) in the |
- “common” part of the DocBook XSL stylesheets. |
- <note> |
- <para>You add these PIs at particular points in a document to |
- cause specific “exceptions” to formatting/output behavior. To |
- make global changes in formatting/output behavior across an |
- entire document, it’s better to do it by setting an |
- appropriate stylesheet parameter (if there is one).</para> |
- </note> |
- </para> |
- </partintro> |
-</doc:reference> |
- |
-<!-- ==================================================================== --> |
-<doc:pi name="dbchoice_choice" xmlns=""> |
- <refpurpose>Generates a localized choice separator</refpurpose> |
- <refdescription id="select.choice.separator-desc"> |
- <para>Use the <tag class="xmlpi">dbchoice choice</tag> PI to |
- generate an appropriate localized “choice” separator (for |
- example, <literal>and</literal> or <literal>or</literal>) |
- before the final item in an inline <tag>simplelist</tag></para> |
- <warning> |
- <para>This PI is a less-than-ideal hack; support for it may |
- disappear in the future (particularly if and when a more |
- appropriate means for marking up "choice" lists becomes |
- available in DocBook).</para> |
- </warning> |
- </refdescription> |
- <refsynopsisdiv> |
- <synopsis><tag class="xmlpi">dbchoice choice="and"|"or"|<replaceable>string</replaceable>"</tag></synopsis> |
- </refsynopsisdiv> |
- <refparameter> |
- <variablelist> |
- <varlistentry><term>choice="and"</term> |
- <listitem> |
- <para>generates a localized <literal>and</literal> separator</para> |
- </listitem> |
- </varlistentry> |
- <varlistentry><term>choice="or"</term> |
- <listitem> |
- <para>generates a localized <literal>or</literal> separator</para> |
- </listitem> |
- </varlistentry> |
- <varlistentry><term>choice="<replaceable>string</replaceable>"</term> |
- <listitem> |
- <para>generates a literal <replaceable>string</replaceable> separator</para> |
- </listitem> |
- </varlistentry> |
- </variablelist> |
- </refparameter> |
-</doc:pi> |
-<xsl:template name="pi.dbchoice_choice"> |
- <xsl:param name="node" select="."/> |
- <xsl:call-template name="pi-attribute"> |
- <xsl:with-param name="pis" select="$node/processing-instruction('dbchoice')"/> |
- <xsl:with-param name="attribute">choice</xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<doc:pi name="dbtimestamp" xmlns=""> |
- <refpurpose>Inserts a date timestamp</refpurpose> |
- <refdescription> |
- <para>Use the <tag class="xmlpi">dbtimestamp</tag> PI at any point in a |
- source document to cause a date timestamp (a formatted |
- string representing the current date and time) to be |
- inserted in output of the document.</para> |
- </refdescription> |
- <refsynopsisdiv> |
- <synopsis><tag class="xmlpi">dbtimestamp format="<replaceable>formatstring</replaceable>" [padding="0"|"1"]</tag></synopsis> |
- </refsynopsisdiv> |
- <refparameter> |
- <variablelist> |
- <varlistentry><term>format="<replaceable>formatstring</replaceable>"</term> |
- <listitem> |
- <para>Specifies format in which the date and time are |
- output</para> |
- <note> |
- <para>For details of the content of the format string, |
- see <link role="tcg" xlink:href="Datetime.html" |
- >Date and time</link>.</para> |
- </note> |
- </listitem> |
- </varlistentry> |
- <varlistentry><term>padding="0"|"1"</term> |
- <listitem> |
- <para>Specifies padding behavior; if non-zero, padding is is added</para> |
- </listitem> |
- </varlistentry> |
- </variablelist> |
- </refparameter> |
-</doc:pi> |
-<xsl:template name="pi.dbtimestamp"> |
- <xsl:variable name="format"> |
- <xsl:variable name="pi-format"> |
- <xsl:call-template name="pi-attribute"> |
- <xsl:with-param name="pis" select="."/> |
- <xsl:with-param name="attribute">format</xsl:with-param> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$pi-format != ''"> |
- <xsl:value-of select="$pi-format"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'datetime'"/> |
- <xsl:with-param name="name" select="'format'"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- <xsl:variable name="padding"> |
- <xsl:variable name="pi-padding"> |
- <xsl:call-template name="pi-attribute"> |
- <xsl:with-param name="pis" select="."/> |
- <xsl:with-param name="attribute">padding</xsl:with-param> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$pi-padding != ''"> |
- <xsl:value-of select="$pi-padding"/> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- <xsl:variable name="date"> |
- <xsl:choose> |
- <xsl:when test="function-available('date:date-time')"> |
- <xsl:value-of select="date:date-time()"/> |
- </xsl:when> |
- <xsl:when test="function-available('date:dateTime')"> |
- <!-- Xalan quirk --> |
- <xsl:value-of select="date:dateTime()"/> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="function-available('date:date-time') or |
- function-available('date:dateTime')"> |
- <xsl:call-template name="datetime.format"> |
- <xsl:with-param name="date" select="$date"/> |
- <xsl:with-param name="format" select="$format"/> |
- <xsl:with-param name="padding" select="$padding"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- Timestamp processing requires XSLT processor with EXSLT date support. |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<doc:pi name="dbtex_delims" xmlns=""> |
- <refpurpose>Generates delimiters around embedded TeX equations |
- in output</refpurpose> |
- <refdescription> |
- <para>Use the <tag class="xmlpi">dbtex delims</tag> PI as a |
- child of a <tag>textobject</tag> containing embedded TeX |
- markup, to cause that markup to be surrounded by |
- <literal>$</literal> delimiter characters in output.</para> |
- </refdescription> |
- <refsynopsisdiv> |
- <synopsis><tag class="xmlpi">dbtex delims="no"|"yes"</tag></synopsis> |
- </refsynopsisdiv> |
- <refparameter> |
- <variablelist> |
- <varlistentry><term>dbtex delims="no"|"yes"</term> |
- <listitem> |
- <para>Specifies whether delimiters are output</para> |
- </listitem> |
- </varlistentry> |
- </variablelist> |
- </refparameter> |
- <refsee role="params"> |
- <para><parameter>tex.math.delims</parameter></para> |
- </refsee> |
- <refsee role="tcg"> |
- <para><link role="tcg" |
- xlink:href="TexMath.html" |
- >DBTeXMath</link></para> |
- </refsee> |
-</doc:pi> |
-<xsl:template name="pi.dbtex_delims"> |
- <xsl:param name="node" select="."/> |
- <xsl:call-template name="pi-attribute"> |
- <xsl:with-param name="pis" select="$node/processing-instruction('dbtex')"/> |
- <xsl:with-param name="attribute" select="'delims'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template match="processing-instruction()" mode="titlepage.mode"> |
- <!-- * Als process PIs on title pages --> |
- <xsl:apply-templates select="."/> |
-</xsl:template> |
- |
-<xsl:template match="processing-instruction('dbtimestamp')"> |
- <xsl:call-template name="pi.dbtimestamp"/> |
-</xsl:template> |
- |
-<xsl:template name="datetime.format"> |
- <xsl:param name="date"/> |
- <xsl:param name="format"/> |
- <xsl:param name="padding" select="1"/> |
- <xsl:if test="$format != ''"> |
- <!-- replace any whitespace in the format string with a non-breaking space --> |
- <xsl:variable name="format-nbsp" |
- select="translate($format, |
- ' 	
', |
- '    ')"/> |
- <xsl:variable name="tokenized-format-string"> |
- <xsl:call-template name="str.tokenize.keep.delimiters"> |
- <xsl:with-param name="string" select="$format-nbsp"/> |
- <xsl:with-param name="delimiters" select="' ,./-()[]:'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:choose> |
- <!-- include extra test for Xalan quirk --> |
- <xsl:when test="function-available('exsl:node-set') or |
- contains(system-property('xsl:vendor'),'Apache Software Foundation')"> |
- <!-- We must preserve context node in order to get valid language --> |
- <xsl:variable name="context" select="."/> |
- <xsl:for-each select="exsl:node-set($tokenized-format-string)/node()"> |
- <xsl:variable name="token"> |
- <xsl:value-of select="."/> |
- </xsl:variable> |
- <!-- Restore context node --> |
- <xsl:for-each select="$context"> |
- <xsl:choose> |
- <xsl:when test="$token = 'a'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'datetime-abbrev'"/> |
- <xsl:with-param name="name" select="date:day-abbreviation($date)"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$token = 'A'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'datetime-full'"/> |
- <xsl:with-param name="name" select="date:day-name($date)"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$token = 'b'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'datetime-abbrev'"/> |
- <xsl:with-param name="name" select="date:month-abbreviation($date)"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$token = 'c'"> |
- <xsl:value-of select="date:date($date)"/> |
- <xsl:text> </xsl:text> |
- <xsl:value-of select="date:time($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'B'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'datetime-full'"/> |
- <xsl:with-param name="name" select="date:month-name($date)"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$token = 'd'"> |
- <xsl:if test="$padding = 1 and |
- string-length(date:day-in-month($date)) = 1">0</xsl:if> |
- <xsl:value-of select="date:day-in-month($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'H'"> |
- <xsl:if test="$padding = 1 and string-length(date:hour-in-day($date)) = 1">0</xsl:if> |
- <xsl:value-of select="date:hour-in-day($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'j'"> |
- <xsl:value-of select="date:day-in-year($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'm'"> |
- <xsl:if test="$padding = 1 and string-length(date:month-in-year($date)) = 1">0</xsl:if> |
- <xsl:value-of select="date:month-in-year($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'M'"> |
- <xsl:if test="string-length(date:minute-in-hour($date)) = 1">0</xsl:if> |
- <xsl:value-of select="date:minute-in-hour($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'S'"> |
- <xsl:if test="string-length(date:second-in-minute($date)) = 1">0</xsl:if> |
- <xsl:value-of select="date:second-in-minute($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'U'"> |
- <xsl:value-of select="date:week-in-year($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'w'"> |
- <xsl:value-of select="date:day-in-week($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'x'"> |
- <xsl:value-of select="date:date($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'X'"> |
- <xsl:value-of select="date:time($date)"/> |
- </xsl:when> |
- <xsl:when test="$token = 'Y'"> |
- <xsl:value-of select="date:year($date)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$token"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:for-each> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- Timestamp processing requires an XSLT processor with support |
- for the EXSLT node-set() function. |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:if> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targets.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targets.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targets.xsl (nonexistent) |
@@ -1,272 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- exclude-result-prefixes="doc" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: targets.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- ==================================================================== --> |
- |
-<!-- cross reference target collection --> |
- |
-<doc:mode mode="collect.targets" xmlns=""> |
-<refpurpose>Collects information for potential cross reference targets</refpurpose> |
-<refdescription id="collect.targets-desc"> |
-<para>Processing the root element in the |
-<literal role="mode">collect.targets</literal> mode produces |
-a set of target database elements that can be used by |
-the olink mechanism to resolve external cross references. |
-The collection process is controlled by the <literal> |
-collect.xref.targets</literal> parameter, which can be |
-<literal>yes</literal> to collect targets and process |
-the document for output, <literal>only</literal> to |
-only collect the targets, and <literal>no</literal> |
-(default) to not collect the targets and only process the document. |
-</para> |
-<para> |
-A <literal>targets.filename</literal> parameter must be |
-specified to receive the output if |
-<literal>collect.xref.targets</literal> is |
-set to <literal>yes</literal> so as to |
-redirect the target data to a file separate from the |
-document output. |
-</para> |
-</refdescription> |
-</doc:mode> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="collect.targets"> |
- <xsl:choose> |
- <xsl:when test="$collect.xref.targets = 'yes' and $targets.filename = ''"> |
- <xsl:message> |
- Must specify a $targets.filename parameter when |
- $collect.xref.targets is set to 'yes'. |
- The xref targets were not collected. |
- </xsl:message> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$targets.filename"> |
- <xsl:call-template name="write.chunk"> |
- <xsl:with-param name="filename" select="$targets.filename"/> |
- <xsl:with-param name="method" select="'xml'"/> |
- <xsl:with-param name="encoding" select="'utf-8'"/> |
- <xsl:with-param name="omit-xml-declaration" select="'yes'"/> |
- <xsl:with-param name="doctype-public" select="''"/> |
- <xsl:with-param name="doctype-system" select="''"/> |
- <xsl:with-param name="indent" select="'no'"/> |
- <xsl:with-param name="quiet" select="0"/> |
- <xsl:with-param name="content"> |
- <xsl:apply-templates select="." mode="olink.mode"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- Else write to standard output --> |
- <xsl:apply-templates select="." mode="olink.mode"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="olink.href.target"> |
- <xsl:param name="nd" select="."/> |
- |
- <xsl:value-of select="$olink.base.uri"/> |
- <xsl:call-template name="href.target"> |
- <xsl:with-param name="object" select="$nd"/> |
- <xsl:with-param name="context" select="NOTANODE"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<!-- Templates for extracting cross reference information |
- from a document for use in an xref database. |
---> |
- |
-<xsl:template name="attrs"> |
- <xsl:param name="nd" select="."/> |
- |
- <xsl:attribute name="element"> |
- <xsl:value-of select="local-name(.)"/> |
- </xsl:attribute> |
- |
- <xsl:attribute name="href"> |
- <xsl:call-template name="olink.href.target"> |
- <xsl:with-param name="nd" select="$nd"/> |
- </xsl:call-template> |
- </xsl:attribute> |
- |
- <xsl:variable name="num"> |
- <xsl:apply-templates select="$nd" mode="label.markup"> |
- <xsl:with-param name="verbose" select="0"/> |
- </xsl:apply-templates> |
- </xsl:variable> |
- |
- <xsl:if test="$num"> |
- <xsl:attribute name="number"> |
- <xsl:value-of select="$num"/> |
- </xsl:attribute> |
- </xsl:if> |
- |
- <xsl:choose> |
- <xsl:when test="$nd/@id"> |
- <xsl:attribute name="targetptr"> |
- <xsl:value-of select="$nd/@id"/> |
- </xsl:attribute> |
- </xsl:when> |
- <xsl:when test="$nd/@xml:id"> |
- <xsl:attribute name="targetptr"> |
- <xsl:value-of select="$nd/@xml:id"/> |
- </xsl:attribute> |
- </xsl:when> |
- </xsl:choose> |
- |
- <xsl:if test="$nd/@lang"> |
- <xsl:attribute name="lang"> |
- <xsl:value-of select="$nd/@lang"/> |
- </xsl:attribute> |
- </xsl:if> |
- |
-</xsl:template> |
- |
-<xsl:template name="div"> |
- <xsl:param name="nd" select="."/> |
- |
- <div> |
- <xsl:call-template name="attrs"> |
- <xsl:with-param name="nd" select="$nd"/> |
- </xsl:call-template> |
- <ttl> |
- <xsl:apply-templates select="$nd" mode="title.markup"> |
- <xsl:with-param name="verbose" select="0"/> |
- </xsl:apply-templates> |
- </ttl> |
- <xreftext> |
- <xsl:choose> |
- <xsl:when test="$nd/@xreflabel"> |
- <xsl:call-template name="xref.xreflabel"> |
- <xsl:with-param name="target" select="$nd"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="$nd" mode="xref-to"> |
- <xsl:with-param name="verbose" select="0"/> |
- </xsl:apply-templates> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xreftext> |
- <xsl:apply-templates mode="olink.mode"/> |
- </div> |
-</xsl:template> |
- |
-<xsl:template name="obj"> |
- <xsl:param name="nd" select="."/> |
- |
- <obj> |
- <xsl:call-template name="attrs"> |
- <xsl:with-param name="nd" select="$nd"/> |
- </xsl:call-template> |
- <ttl> |
- <xsl:apply-templates select="$nd" mode="title.markup"> |
- <xsl:with-param name="verbose" select="0"/> |
- </xsl:apply-templates> |
- </ttl> |
- <xreftext> |
- <xsl:choose> |
- <xsl:when test="$nd/@xreflabel"> |
- <xsl:call-template name="xref.xreflabel"> |
- <xsl:with-param name="target" select="$nd"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="$nd" mode="xref-to"> |
- <xsl:with-param name="verbose" select="0"/> |
- </xsl:apply-templates> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xreftext> |
- </obj> |
-</xsl:template> |
- |
-<xsl:template match="text()|processing-instruction()|comment()" |
- mode="olink.mode"> |
- <!-- nop --> |
-</xsl:template> |
- |
-<!-- |
-<xsl:template match="*" mode="olink.mode"> |
-</xsl:template> |
---> |
- |
-<xsl:template match="set" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="book" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="preface|chapter|appendix" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="part|reference" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="article" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="bibliography|bibliodiv" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="biblioentry|bibliomixed" mode="olink.mode"> |
- <xsl:call-template name="obj"/> |
-</xsl:template> |
- |
-<xsl:template match="refentry" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="refsection|refsect1|refsect2|refsect3" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="figure|example|table" mode="olink.mode"> |
- <xsl:call-template name="obj"/> |
- <xsl:apply-templates mode="olink.mode"/> |
-</xsl:template> |
- |
-<xsl:template match="equation[title or info/title]" mode="olink.mode"> |
- <xsl:call-template name="obj"/> |
-</xsl:template> |
- |
-<xsl:template match="qandaset|qandaentry" mode="olink.mode"> |
- <xsl:call-template name="div"/> |
-</xsl:template> |
- |
-<xsl:template match="*" mode="olink.mode"> |
- <xsl:if test="@id or @xml:id"> |
- <xsl:call-template name="obj"/> |
- </xsl:if> |
- <xsl:apply-templates mode="olink.mode"/> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.xsl (nonexistent) |
@@ -1,441 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" |
- exclude-result-prefixes="l" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: l10n.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- This file contains localization templates (for internationalization) |
- ******************************************************************** --> |
- |
-<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/> |
-<xsl:param name="local.l10n.xml" select="document('')"/> |
- |
-<xsl:template name="l10n.language"> |
- <xsl:param name="target" select="."/> |
- <xsl:param name="xref-context" select="false()"/> |
- |
- <xsl:variable name="mc-language"> |
- <xsl:choose> |
- <xsl:when test="$l10n.gentext.language != ''"> |
- <xsl:value-of select="$l10n.gentext.language"/> |
- </xsl:when> |
- |
- <xsl:when test="$xref-context or $l10n.gentext.use.xref.language != 0"> |
- <!-- can't do this one step: attributes are unordered! --> |
- <xsl:variable name="lang-scope" |
- select="$target/ancestor-or-self::* |
- [@lang or @xml:lang][1]"/> |
- <xsl:variable name="lang-attr" |
- select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/> |
- <xsl:choose> |
- <xsl:when test="string($lang-attr) = ''"> |
- <xsl:value-of select="$l10n.gentext.default.language"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$lang-attr"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- |
- <xsl:otherwise> |
- <!-- can't do this one step: attributes are unordered! --> |
- <xsl:variable name="lang-scope" |
- select="$target/ancestor-or-self::* |
- [@lang or @xml:lang][1]"/> |
- <xsl:variable name="lang-attr" |
- select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/> |
- |
- <xsl:choose> |
- <xsl:when test="string($lang-attr) = ''"> |
- <xsl:value-of select="$l10n.gentext.default.language"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$lang-attr"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="language" select="translate($mc-language, |
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', |
- 'abcdefghijklmnopqrstuvwxyz')"/> |
- |
- <xsl:variable name="adjusted.language"> |
- <xsl:choose> |
- <xsl:when test="contains($language,'-')"> |
- <xsl:value-of select="substring-before($language,'-')"/> |
- <xsl:text>_</xsl:text> |
- <xsl:value-of select="substring-after($language,'-')"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$language"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=$adjusted.language]"> |
- <xsl:value-of select="$adjusted.language"/> |
- </xsl:when> |
- <!-- try just the lang code without country --> |
- <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=substring-before($adjusted.language,'_')]"> |
- <xsl:value-of select="substring-before($adjusted.language,'_')"/> |
- </xsl:when> |
- <!-- or use the default --> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>No localization exists for "</xsl:text> |
- <xsl:value-of select="$adjusted.language"/> |
- <xsl:text>" or "</xsl:text> |
- <xsl:value-of select="substring-before($adjusted.language,'_')"/> |
- <xsl:text>". Using default "</xsl:text> |
- <xsl:value-of select="$l10n.gentext.default.language"/> |
- <xsl:text>".</xsl:text> |
- </xsl:message> |
- <xsl:value-of select="$l10n.gentext.default.language"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="language.attribute"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:variable name="language"> |
- <xsl:choose> |
- <xsl:when test="$l10n.gentext.language != ''"> |
- <xsl:value-of select="$l10n.gentext.language"/> |
- </xsl:when> |
- |
- <xsl:otherwise> |
- <!-- can't do this one step: attributes are unordered! --> |
- <xsl:variable name="lang-scope" |
- select="$node/ancestor-or-self::* |
- [@lang or @xml:lang][1]"/> |
- <xsl:variable name="lang-attr" |
- select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/> |
- |
- <xsl:choose> |
- <xsl:when test="string($lang-attr) = ''"> |
- <xsl:value-of select="$l10n.gentext.default.language"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$lang-attr"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:if test="$language != ''"> |
- <xsl:attribute name="lang"> |
- <xsl:choose> |
- <xsl:when test="$l10n.lang.value.rfc.compliant != 0"> |
- <xsl:value-of select="translate($language, '_', '-')"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$language"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:attribute> |
- </xsl:if> |
- |
- <!-- FIXME: This is sort of hack, but it was the easiest way to add at least partial support for dir attribute --> |
- <xsl:copy-of select="ancestor-or-self::*[@dir][1]/@dir"/> |
-</xsl:template> |
- |
-<xsl:template name="gentext"> |
- <xsl:param name="key" select="local-name(.)"/> |
- <xsl:param name="lang"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:param> |
- |
- <xsl:variable name="local.l10n.gentext" |
- select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/> |
- |
- <xsl:variable name="l10n.gentext" |
- select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/> |
- |
- <xsl:choose> |
- <xsl:when test="$local.l10n.gentext"> |
- <xsl:value-of select="$local.l10n.gentext/@text"/> |
- </xsl:when> |
- <xsl:when test="$l10n.gentext"> |
- <xsl:value-of select="$l10n.gentext/@text"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>No "</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>" localization of "</xsl:text> |
- <xsl:value-of select="$key"/> |
- <xsl:text>" exists</xsl:text> |
- <xsl:choose> |
- <xsl:when test="$lang = 'en'"> |
- <xsl:text>.</xsl:text> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:text>; using "en".</xsl:text> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:message> |
- |
- <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:gentext[@key=$key])[1]/@text"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="gentext.element.name"> |
- <xsl:param name="element.name" select="local-name(.)"/> |
- <xsl:param name="lang"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:param> |
- |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="$element.name"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.space"> |
- <xsl:text> </xsl:text> |
-</xsl:template> |
- |
-<xsl:template name="gentext.edited.by"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'Editedby'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.by"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'by'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.dingbat"> |
- <xsl:param name="dingbat">bullet</xsl:param> |
- <xsl:param name="lang"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:param> |
- |
- <xsl:variable name="local.l10n.dingbat" |
- select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/> |
- |
- <xsl:variable name="l10n.dingbat" |
- select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/> |
- |
- <xsl:choose> |
- <xsl:when test="$local.l10n.dingbat"> |
- <xsl:value-of select="$local.l10n.dingbat/@text"/> |
- </xsl:when> |
- <xsl:when test="$l10n.dingbat"> |
- <xsl:value-of select="$l10n.dingbat/@text"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>No "</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>" localization of dingbat </xsl:text> |
- <xsl:value-of select="$dingbat"/> |
- <xsl:text> exists; using "en".</xsl:text> |
- </xsl:message> |
- |
- <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:dingbat[@key=$dingbat])[1]/@text"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="gentext.startquote"> |
- <xsl:call-template name="gentext.dingbat"> |
- <xsl:with-param name="dingbat">startquote</xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.endquote"> |
- <xsl:call-template name="gentext.dingbat"> |
- <xsl:with-param name="dingbat">endquote</xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.nestedstartquote"> |
- <xsl:call-template name="gentext.dingbat"> |
- <xsl:with-param name="dingbat">nestedstartquote</xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.nestedendquote"> |
- <xsl:call-template name="gentext.dingbat"> |
- <xsl:with-param name="dingbat">nestedendquote</xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.nav.prev"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'nav-prev'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.nav.next"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'nav-next'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.nav.home"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'nav-home'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="gentext.nav.up"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'nav-up'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template name="gentext.template"> |
- <xsl:param name="context" select="'default'"/> |
- <xsl:param name="name" select="'default'"/> |
- <xsl:param name="origname" select="$name"/> |
- <xsl:param name="purpose"/> |
- <xsl:param name="xrefstyle"/> |
- <xsl:param name="referrer"/> |
- <xsl:param name="lang"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:param> |
- <xsl:param name="verbose" select="1"/> |
- |
- <xsl:variable name="local.localization.node" |
- select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]"/> |
- |
- <xsl:variable name="localization.node" |
- select="($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]"/> |
- |
- <xsl:if test="count($localization.node) = 0 |
- and count($local.localization.node) = 0 |
- and $verbose != 0"> |
- <xsl:message> |
- <xsl:text>No "</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>" localization exists.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- |
- <xsl:variable name="local.context.node" |
- select="$local.localization.node/l:context[@name=$context]"/> |
- |
- <xsl:variable name="context.node" |
- select="$localization.node/l:context[@name=$context]"/> |
- |
- <xsl:if test="count($context.node) = 0 |
- and count($local.context.node) = 0 |
- and $verbose != 0"> |
- <xsl:message> |
- <xsl:text>No context named "</xsl:text> |
- <xsl:value-of select="$context"/> |
- <xsl:text>" exists in the "</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>" localization.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- |
- <xsl:variable name="local.template.node" |
- select="($local.context.node/l:template[@name=$name |
- and @style |
- and @style=$xrefstyle] |
- |$local.context.node/l:template[@name=$name |
- and not(@style)])[1]"/> |
- |
- <xsl:variable name="template.node" |
- select="($context.node/l:template[@name=$name |
- and @style |
- and @style=$xrefstyle] |
- |$context.node/l:template[@name=$name |
- and not(@style)])[1]"/> |
- |
- <xsl:choose> |
- <xsl:when test="$local.template.node/@text"> |
- <xsl:value-of select="$local.template.node/@text"/> |
- </xsl:when> |
- <xsl:when test="$template.node/@text"> |
- <xsl:value-of select="$template.node/@text"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="contains($name, '/')"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="$context"/> |
- <xsl:with-param name="name" select="substring-after($name, '/')"/> |
- <xsl:with-param name="origname" select="$origname"/> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- <xsl:with-param name="verbose" select="$verbose"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$verbose = 0"> |
- <!-- silence --> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>No template for "</xsl:text> |
- <xsl:value-of select="$origname"/> |
- <xsl:text>" (or any of its leaves) exists |
-in the context named "</xsl:text> |
- <xsl:value-of select="$context"/> |
- <xsl:text>" in the "</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>" localization.</xsl:text> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- silently test if a gentext template exists --> |
- |
-<xsl:template name="gentext.template.exists"> |
- <xsl:param name="context" select="'default'"/> |
- <xsl:param name="name" select="'default'"/> |
- <xsl:param name="origname" select="$name"/> |
- <xsl:param name="purpose"/> |
- <xsl:param name="xrefstyle"/> |
- <xsl:param name="referrer"/> |
- <xsl:param name="lang"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:param> |
- |
- <xsl:variable name="template"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="$context"/> |
- <xsl:with-param name="name" select="$name"/> |
- <xsl:with-param name="origname" select="$origname"/> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- <xsl:with-param name="verbose" select="0"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="string-length($template) != 0">1</xsl:when> |
- <xsl:otherwise>0</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
- |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/olink.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/olink.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/olink.xsl (nonexistent) |
@@ -1,1149 +0,0 @@ |
-<?xml version="1.0"?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- version="1.0"> |
- |
-<!-- Create keys for quickly looking up olink targets --> |
-<xsl:key name="targetdoc-key" match="document" use="@targetdoc" /> |
-<xsl:key name="targetptr-key" match="div|obj" |
- use="concat(ancestor::document/@targetdoc, '/', |
- @targetptr, '/', ancestor::document/@lang)" /> |
- |
-<!-- Return filename of database --> |
-<xsl:template name="select.target.database"> |
- <xsl:param name="targetdoc.att" select="''"/> |
- <xsl:param name="targetptr.att" select="''"/> |
- <xsl:param name="olink.lang" select="''"/> |
- |
- <!-- use root's xml:base if exists --> |
- <xsl:variable name="xml.base" select="/*/@xml:base"/> |
- |
- <!-- This selection can be customized if needed --> |
- <xsl:variable name="target.database.filename"> |
- <xsl:choose> |
- <xsl:when test="$xml.base != '' and |
- not(starts-with($target.database.document, 'file:/')) and |
- not(starts-with($target.database.document, '/'))"> |
- <xsl:call-template name="systemIdToBaseURI"> |
- <xsl:with-param name="systemId" select="$xml.base"/> |
- </xsl:call-template> |
- <xsl:value-of select="$target.database.document"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$target.database.document"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="target.database" |
- select="document($target.database.filename,/)"/> |
- |
- <xsl:choose> |
- <!-- Was the database document parameter not set? --> |
- <xsl:when test="$target.database.document = ''"> |
- <xsl:message> |
- <xsl:text>Olinks not processed: must specify a </xsl:text> |
- <xsl:text>$target.database.document parameter </xsl:text> |
- <xsl:text>when using olinks with targetdoc </xsl:text> |
- <xsl:text>and targetptr attributes.</xsl:text> |
- </xsl:message> |
- </xsl:when> |
- <!-- Did it not open? Should be a targetset element --> |
- <xsl:when test="not($target.database/*)"> |
- <xsl:message> |
- <xsl:text>Olink error: could not open target database '</xsl:text> |
- <xsl:value-of select="$target.database.filename"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$target.database.filename"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="select.olink.key"> |
- <xsl:param name="targetdoc.att" select="''"/> |
- <xsl:param name="targetptr.att" select="''"/> |
- <xsl:param name="olink.lang" select="''"/> |
- <xsl:param name="target.database"/> |
- |
- <xsl:if test="$target.database/*"> |
- <xsl:variable name="olink.fallback.sequence"> |
- <xsl:call-template name="select.olink.lang.fallback"> |
- <xsl:with-param name="olink.lang" select="$olink.lang"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <!-- Recurse through the languages until you find a match --> |
- <xsl:call-template name="select.olink.key.in.lang"> |
- <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> |
- <xsl:with-param name="targetptr.att" select="$targetptr.att"/> |
- <xsl:with-param name="olink.lang" select="$olink.lang"/> |
- <xsl:with-param name="target.database" select="$target.database"/> |
- <xsl:with-param name="fallback.index" select="1"/> |
- <xsl:with-param name="olink.fallback.sequence" |
- select="$olink.fallback.sequence"/> |
- </xsl:call-template> |
- </xsl:if> |
- |
-</xsl:template> |
- |
-<!-- Locate olink key in a particular language --> |
-<xsl:template name="select.olink.key.in.lang"> |
- <xsl:param name="targetdoc.att" select="''"/> |
- <xsl:param name="targetptr.att" select="''"/> |
- <xsl:param name="olink.lang" select="''"/> |
- <xsl:param name="target.database"/> |
- <xsl:param name="fallback.index" select="1"/> |
- <xsl:param name="olink.fallback.sequence" select="''"/> |
- |
- <xsl:variable name="target.lang"> |
- <xsl:call-template name="select.target.lang"> |
- <xsl:with-param name="fallback.index" select="$fallback.index"/> |
- <xsl:with-param name="olink.fallback.sequence" |
- select="$olink.fallback.sequence"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message><xsl:text>Olink debug: cases for targetdoc='</xsl:text> |
- <xsl:value-of select="$targetdoc.att"/> |
- <xsl:text>' and targetptr='</xsl:text> |
- <xsl:value-of select="$targetptr.att"/> |
- <xsl:text>' in language '</xsl:text> |
- <xsl:value-of select="$target.lang"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- |
- <!-- Customize these cases if you want different selection logic --> |
- <xsl:variable name="CaseA"> |
- <!-- targetdoc.att = not blank |
- targetptr.att = not blank |
- --> |
- <xsl:if test="$targetdoc.att != '' and |
- $targetptr.att != ''"> |
- <xsl:for-each select="$target.database"> |
- <xsl:variable name="key" |
- select="concat($targetdoc.att, '/', |
- $targetptr.att, '/', |
- $target.lang)"/> |
- <xsl:choose> |
- <xsl:when test="key('targetptr-key', $key)/@href != ''"> |
- <xsl:value-of select="$key"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseA matched.</xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseA NOT matched</xsl:message> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="CaseB"> |
- <!-- targetdoc.att = not blank |
- targetptr.att = not blank |
- prefer.internal.olink = not zero |
- current.docid = not blank |
- --> |
- <xsl:if test="$targetdoc.att != '' and |
- $targetptr.att != '' and |
- $current.docid != '' and |
- $prefer.internal.olink != 0"> |
- <xsl:for-each select="$target.database"> |
- <xsl:variable name="key" |
- select="concat($current.docid, '/', |
- $targetptr.att, '/', |
- $target.lang)"/> |
- <xsl:choose> |
- <xsl:when test="key('targetptr-key', $key)/@href != ''"> |
- <xsl:value-of select="$key"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseB matched.</xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseB NOT matched</xsl:message> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="CaseC"> |
- <!-- targetdoc.att = blank |
- targetptr.att = not blank |
- current.docid = not blank |
- --> |
- <xsl:if test="string-length($targetdoc.att) = 0 and |
- $targetptr.att != '' and |
- $current.docid != ''"> |
- <!-- Must use a for-each to change context for keys to work --> |
- <xsl:for-each select="$target.database"> |
- <xsl:variable name="key" |
- select="concat($current.docid, '/', |
- $targetptr.att, '/', |
- $target.lang)"/> |
- <xsl:choose> |
- <xsl:when test="key('targetptr-key', $key)/@href != ''"> |
- <xsl:value-of select="$key"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseC matched.</xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseC NOT matched.</xsl:message> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="CaseD"> |
- <!-- targetdoc.att = blank |
- targetptr.att = not blank |
- current.docid = blank |
- --> |
- <!-- This is possible if only one document in the database --> |
- <xsl:if test="string-length($targetdoc.att) = 0 and |
- $targetptr.att != '' and |
- string-length($current.docid) = 0 and |
- count($target.database//document) = 1"> |
- <xsl:for-each select="$target.database"> |
- <xsl:variable name="key" |
- select="concat(.//document/@targetdoc, '/', |
- $targetptr.att, '/', |
- $target.lang)"/> |
- <xsl:choose> |
- <xsl:when test="key('targetptr-key', $key)/@href != ''"> |
- <xsl:value-of select="$key"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseD matched.</xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseD NOT matched</xsl:message> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="CaseE"> |
- <!-- targetdoc.att = not blank |
- targetptr.att = blank |
- --> |
- <xsl:if test="$targetdoc.att != '' and |
- string-length($targetptr.att) = 0"> |
- |
- <!-- Try the document's root element id --> |
- <xsl:variable name="rootid"> |
- <xsl:choose> |
- <xsl:when test="$target.lang != ''"> |
- <xsl:value-of select="$target.database//document[@targetdoc = $targetdoc.att and @lang = $target.lang]/*[1]/@targetptr"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$target.database//document[@targetdoc = $targetdoc.att and not(@lang)]/*[1]/@targetptr"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:for-each select="$target.database"> |
- <xsl:variable name="key" |
- select="concat($targetdoc.att, '/', |
- $rootid, '/', |
- $target.lang)"/> |
- <xsl:choose> |
- <xsl:when test="key('targetptr-key', $key)/@href != ''"> |
- <xsl:value-of select="$key"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseE matched.</xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseE NOT matched.</xsl:message> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="CaseF"> |
- <!-- targetdoc.att = not blank |
- targetptr.att = blank |
- prefer.internal.olink = not zero |
- current.docid = not blank |
- --> |
- <xsl:if test="$targetdoc.att != '' and |
- string-length($targetptr.att) = 0 and |
- $current.docid != '' and |
- $prefer.internal.olink != 0"> |
- <!-- Try the document's root element id --> |
- <xsl:variable name="rootid"> |
- <xsl:choose> |
- <xsl:when test="$target.lang != ''"> |
- <xsl:value-of select="$target.database//document[@targetdoc = $current.docid and @lang = $target.lang]/*[1]/@targetptr"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$target.database//document[@targetdoc = $current.docid and not(@lang)]/*[1]/@targetptr"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:for-each select="$target.database"> |
- <xsl:variable name="key" |
- select="concat($current.docid, '/', |
- $rootid, '/', |
- $target.lang)"/> |
- <xsl:choose> |
- <xsl:when test="key('targetptr-key', $key)/@href != ''"> |
- <xsl:value-of select="$key"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseF matched.</xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$olink.debug != 0"> |
- <xsl:message>Olink debug: CaseF NOT matched.</xsl:message> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:for-each> |
- </xsl:if> |
- </xsl:variable> |
- |
- <!-- Now select the best match. Customize the order if needed --> |
- <xsl:variable name="selected.key"> |
- <xsl:choose> |
- <xsl:when test="$CaseB != ''"> |
- <xsl:value-of select="$CaseB"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: CaseB key is the final selection: </xsl:text> |
- <xsl:value-of select="$CaseB"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$CaseA != ''"> |
- <xsl:value-of select="$CaseA"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: CaseA key is the final selection: </xsl:text> |
- <xsl:value-of select="$CaseA"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$CaseC != ''"> |
- <xsl:value-of select="$CaseC"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: CaseC key is the final selection: </xsl:text> |
- <xsl:value-of select="$CaseC"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$CaseD != ''"> |
- <xsl:value-of select="$CaseD"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: CaseD key is the final selection: </xsl:text> |
- <xsl:value-of select="$CaseD"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$CaseF != ''"> |
- <xsl:value-of select="$CaseF"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: CaseF key is the final selection: </xsl:text> |
- <xsl:value-of select="$CaseF"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$CaseE != ''"> |
- <xsl:value-of select="$CaseE"/> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: CaseE key is the final selection: </xsl:text> |
- <xsl:value-of select="$CaseE"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: No case matched for lang '</xsl:text> |
- <xsl:value-of select="$target.lang"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$selected.key != ''"> |
- <xsl:value-of select="$selected.key"/> |
- </xsl:when> |
- <xsl:when test="string-length($selected.key) = 0 and |
- string-length($target.lang) = 0"> |
- <!-- No match on last try, and we are done --> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- Recurse through next language --> |
- <xsl:call-template name="select.olink.key.in.lang"> |
- <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> |
- <xsl:with-param name="targetptr.att" select="$targetptr.att"/> |
- <xsl:with-param name="olink.lang" select="$olink.lang"/> |
- <xsl:with-param name="target.database" select="$target.database"/> |
- <xsl:with-param name="fallback.index" select="$fallback.index + 1"/> |
- <xsl:with-param name="olink.fallback.sequence" |
- select="$olink.fallback.sequence"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- |
-</xsl:template> |
- |
-<xsl:template name="select.target.lang"> |
- <xsl:param name="fallback.index" select="1"/> |
- <xsl:param name="olink.fallback.sequence" select="''"/> |
- |
- <!-- recurse backwards to find the lang matching the index --> |
- <xsl:variable name="firstlang" |
- select="substring-before($olink.fallback.sequence, ' ')"/> |
- <xsl:variable name="rest" |
- select="substring-after($olink.fallback.sequence, ' ')"/> |
- <xsl:choose> |
- <xsl:when test="$fallback.index = 1"> |
- <xsl:value-of select="$firstlang"/> |
- </xsl:when> |
- <xsl:when test="$fallback.index > 1"> |
- <xsl:call-template name="select.target.lang"> |
- <xsl:with-param name="fallback.index" select="$fallback.index - 1"/> |
- <xsl:with-param name="olink.fallback.sequence" |
- select="$rest"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="select.olink.lang.fallback"> |
- <xsl:param name="olink.lang" select="''"/> |
- |
- <!-- Prefer language of the olink element --> |
- <xsl:value-of select="concat(normalize-space(concat($olink.lang, ' ', |
- $olink.lang.fallback.sequence)), ' ')"/> |
-</xsl:template> |
- |
-<!-- Returns the complete olink href value if found --> |
-<xsl:template name="make.olink.href"> |
- <xsl:param name="olink.key" select="''"/> |
- <xsl:param name="target.database"/> |
- |
- <xsl:if test="$olink.key != ''"> |
- <xsl:variable name="target.href" > |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetptr-key', $olink.key)/@href" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:variable name="targetdoc"> |
- <xsl:value-of select="substring-before($olink.key, '/')"/> |
- </xsl:variable> |
- |
- <!-- Does the target database use a sitemap? --> |
- <xsl:variable name="use.sitemap"> |
- <xsl:choose> |
- <xsl:when test="$target.database//sitemap">1</xsl:when> |
- <xsl:otherwise>0</xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- |
- <!-- Get the baseuri for this targetptr --> |
- <xsl:variable name="baseuri" > |
- <xsl:choose> |
- <!-- Does the database use a sitemap? --> |
- <xsl:when test="$use.sitemap != 0" > |
- <xsl:choose> |
- <!-- Was current.docid parameter set? --> |
- <xsl:when test="$current.docid != ''"> |
- <!-- Was it found in the database? --> |
- <xsl:variable name="currentdoc.key" > |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetdoc-key', |
- $current.docid)/@targetdoc" /> |
- </xsl:for-each> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$currentdoc.key != ''"> |
- <xsl:for-each select="$target.database" > |
- <xsl:call-template name="targetpath" > |
- <xsl:with-param name="dirnode" |
- select="key('targetdoc-key', $current.docid)/parent::dir"/> |
- <xsl:with-param name="targetdoc" select="$targetdoc"/> |
- </xsl:call-template> |
- </xsl:for-each > |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Olink error: cannot compute relative </xsl:text> |
- <xsl:text>sitemap path because $current.docid '</xsl:text> |
- <xsl:value-of select="$current.docid"/> |
- <xsl:text>' not found in target database.</xsl:text> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Olink warning: cannot compute relative </xsl:text> |
- <xsl:text>sitemap path without $current.docid parameter</xsl:text> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
- <!-- In either case, add baseuri from its document entry--> |
- <xsl:variable name="docbaseuri"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" /> |
- </xsl:for-each> |
- </xsl:variable> |
- <xsl:if test="$docbaseuri != ''" > |
- <xsl:value-of select="$docbaseuri"/> |
- </xsl:if> |
- </xsl:when> |
- <!-- No database sitemap in use --> |
- <xsl:otherwise> |
- <!-- Just use any baseuri from its document entry --> |
- <xsl:variable name="docbaseuri"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" /> |
- </xsl:for-each> |
- </xsl:variable> |
- <xsl:if test="$docbaseuri != ''" > |
- <xsl:value-of select="$docbaseuri"/> |
- </xsl:if> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <!-- Form the href information --> |
- <xsl:if test="$baseuri != ''"> |
- <xsl:value-of select="$baseuri"/> |
- <xsl:if test="substring($target.href,1,1) != '#'"> |
- <!--xsl:text>/</xsl:text--> |
- </xsl:if> |
- </xsl:if> |
- <!-- optionally turn off frag for PDF references --> |
- <xsl:if test="not($insert.olink.pdf.frag = 0 and |
- translate(substring($baseuri, string-length($baseuri) - 3), |
- 'PDF', 'pdf') = '.pdf' |
- and starts-with($target.href, '#') )"> |
- <xsl:value-of select="$target.href"/> |
- </xsl:if> |
- </xsl:if> |
-</xsl:template> |
- |
-<!-- Computes the href of the object containing the olink element --> |
-<xsl:template name="olink.from.uri"> |
- <xsl:param name="target.database"/> |
- <xsl:param name="object" select="NotAnElement"/> |
- <xsl:param name="object.targetdoc" select="$current.docid"/> |
- <xsl:param name="object.lang" |
- select="concat($object/ancestor::*[last()]/@lang, |
- $object/ancestor::*[last()]/@xml:lang)"/> |
- |
- <xsl:variable name="parent.id"> |
- <xsl:call-template name="object.id"> |
- <xsl:with-param name="object" select="$object"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <!-- Get the olink key for the parent of olink element --> |
- <xsl:variable name="from.key"> |
- <xsl:call-template name="select.olink.key"> |
- <xsl:with-param name="targetdoc.att" select="$object.targetdoc"/> |
- <xsl:with-param name="targetptr.att" select="$parent.id"/> |
- <xsl:with-param name="olink.lang" select="$object.lang"/> |
- <xsl:with-param name="target.database" select="$target.database"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="from.olink.href"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetptr-key', $from.key)/@href" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <!-- we found the olink object --> |
- <xsl:when test="$from.olink.href != ''"> |
- <xsl:value-of select="$from.olink.href"/> |
- </xsl:when> |
- <xsl:when test="not($object/parent::*)"> |
- <xsl:value-of select="$from.olink.href"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- recurse upward in current document --> |
- <xsl:call-template name="olink.from.uri"> |
- <xsl:with-param name="target.database" select="$target.database"/> |
- <xsl:with-param name="object" select="$object/parent::*"/> |
- <xsl:with-param name="object.targetdoc" select="$object.targetdoc"/> |
- <xsl:with-param name="object.lang" select="$object.lang"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- |
-</xsl:template> |
- |
-<xsl:template name="olink.hottext"> |
- <xsl:param name="target.database"/> |
- <xsl:param name="olink.lang" select="''"/> |
- <xsl:param name="olink.key" select="''"/> |
- <xsl:param name="referrer" select="."/> |
- <xsl:param name="xrefstyle"> |
- <xsl:choose> |
- <xsl:when test="@role and not(@xrefstyle) |
- and $use.role.as.xrefstyle != 0"> |
- <xsl:value-of select="@role"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="@xrefstyle"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:param> |
- |
- <xsl:choose> |
- <!-- If it has elements or text (not just PI or comment) --> |
- <xsl:when test="child::text() or child::*"> |
- <xsl:apply-templates/> |
- </xsl:when> |
- <xsl:when test="$olink.key != ''"> |
- <!-- Get the xref text for this record --> |
- <xsl:variable name="xref.text" > |
- <xsl:for-each select="$target.database" > |
- <xsl:copy-of |
- select="key('targetptr-key', $olink.key)/xreftext/node()" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:variable name="xref.number" > |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetptr-key', $olink.key)/@number" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:variable name="target.elem" > |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetptr-key', $olink.key)/@element" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:variable name="lang"> |
- <xsl:variable name="candidate"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetptr-key', $olink.key)/@lang" /> |
- </xsl:for-each> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$candidate != ''"> |
- <xsl:value-of select="$candidate"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$olink.lang"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="targetdoc"> |
- <xsl:value-of select="substring-before($olink.key, '/')"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$xrefstyle != '' and |
- starts-with(normalize-space($xrefstyle), 'select:') and |
- (contains($xrefstyle, 'nodocname') or |
- contains($xrefstyle, 'nopage')) and |
- not(contains($xrefstyle, 'title')) and |
- not(contains($xrefstyle, 'label'))"> |
- <xsl:copy-of select="$xref.text"/> |
- </xsl:when> |
- <xsl:when test="$xrefstyle != ''"> |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>xrefstyle is '</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- <xsl:variable name="template"> |
- <xsl:choose> |
- <xsl:when test="starts-with(normalize-space($xrefstyle), |
- 'select:')"> |
- <xsl:call-template name="make.gentext.template"> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="purpose" select="'olink'"/> |
- <xsl:with-param name="referrer" select="."/> |
- <xsl:with-param name="target.elem" select="$target.elem"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="starts-with(normalize-space($xrefstyle), |
- 'template:')"> |
- <xsl:value-of select="substring-after( |
- normalize-space($xrefstyle), 'template:')"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- Look for Gentext template with @style attribute --> |
- <!-- Must compare to no style value because gentext.template |
- falls back to no style --> |
- |
- <xsl:variable name="xref-context"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="styled-xref-context"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="xref-number-context"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref-number'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="styled-xref-number-context"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref-number'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="xref-number-and-title-context"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" |
- select="'xref-number-and-title'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="styled-xref-number-and-title-context"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" |
- select="'xref-number-and-title'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$xref-number-and-title-context != |
- $styled-xref-number-and-title-context and |
- $xref.number != '' and |
- $xref.with.number.and.title != 0"> |
- <xsl:value-of |
- select="$styled-xref-number-and-title-context"/> |
- </xsl:when> |
- <xsl:when test="$xref-number-context != |
- $styled-xref-number-context and |
- $xref.number != ''"> |
- <xsl:value-of select="$styled-xref-number-context"/> |
- </xsl:when> |
- <xsl:when test="$xref-context != $styled-xref-context"> |
- <xsl:value-of select="$styled-xref-context"/> |
- </xsl:when> |
- <xsl:when test="$xref-number-and-title-context != '' and |
- $xref.number != '' and |
- $xref.with.number.and.title != 0"> |
- <xsl:value-of |
- select="$xref-number-and-title-context"/> |
- <xsl:if test="$olink.debug"> |
- <xsl:message> |
- <xsl:text>Olink error: no gentext template</xsl:text> |
- <xsl:text> exists for xrefstyle '</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>' for element '</xsl:text> |
- <xsl:value-of select="$target.elem"/> |
- <xsl:text>' in language '</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>' in context 'xref-number-and-title</xsl:text> |
- <xsl:text>'. Using template without @style.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$xref-number-context != '' and |
- $xref.number != ''"> |
- <xsl:value-of select="$xref-number-context"/> |
- <xsl:if test="$olink.debug"> |
- <xsl:message> |
- <xsl:text>Olink error: no gentext template</xsl:text> |
- <xsl:text> exists for xrefstyle '</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>' for element '</xsl:text> |
- <xsl:value-of select="$target.elem"/> |
- <xsl:text>' in language '</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>' in context 'xref-number</xsl:text> |
- <xsl:text>'. Using template without @style.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:when test="$xref-context != ''"> |
- <xsl:value-of select="$xref-context"/> |
- <xsl:if test="$olink.debug"> |
- <xsl:message> |
- <xsl:text>Olink error: no gentext template</xsl:text> |
- <xsl:text> exists for xrefstyle '</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>' for element '</xsl:text> |
- <xsl:value-of select="$target.elem"/> |
- <xsl:text>' in language '</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>' in context 'xref</xsl:text> |
- <xsl:text>'. Using template without @style.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Olink error: no gentext template</xsl:text> |
- <xsl:text> exists for xrefstyle '</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>' for element '</xsl:text> |
- <xsl:value-of select="$target.elem"/> |
- <xsl:text>' in language '</xsl:text> |
- <xsl:value-of select="$lang"/> |
- <xsl:text>'. Trying '%t'.</xsl:text> |
- </xsl:message> |
- <xsl:value-of select="'%t'"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:if test="$olink.debug != 0"> |
- <xsl:message> |
- <xsl:text>Olink debug: xrefstyle template is '</xsl:text> |
- <xsl:value-of select="$template"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template" select="$template"/> |
- <xsl:with-param name="title"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetptr-key', $olink.key)/ttl" /> |
- </xsl:for-each> |
- </xsl:with-param> |
- <xsl:with-param name="label"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetptr-key', $olink.key)/@number" /> |
- </xsl:for-each> |
- </xsl:with-param> |
- <xsl:with-param name="pagenumber"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetptr-key', $olink.key)/@page" /> |
- </xsl:for-each> |
- </xsl:with-param> |
- <xsl:with-param name="docname"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetdoc-key', $targetdoc)/div[1]/ttl" /> |
- </xsl:for-each> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- |
- <xsl:when test="$use.local.olink.style != 0"> |
- |
- <xsl:variable name="template"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="$target.elem"/> |
- <xsl:with-param name="lang" select="$lang"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template" select="$template"/> |
- <xsl:with-param name="title"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of select="key('targetptr-key', $olink.key)/ttl" /> |
- </xsl:for-each> |
- </xsl:with-param> |
- <xsl:with-param name="label"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetptr-key', $olink.key)/@number" /> |
- </xsl:for-each> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$xref.text !=''"> |
- <xsl:copy-of select="$xref.text"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Olink error: no generated text for </xsl:text> |
- <xsl:text>targetdoc/targetptr/lang = '</xsl:text> |
- <xsl:value-of select="$olink.key"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- <xsl:text>????</xsl:text> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="@targetdoc != '' or @targetptr != ''"> |
- <xsl:if test="$olink.key != ''"> |
- <xsl:message> |
- <xsl:text>Olink error: no generated text for </xsl:text> |
- <xsl:text>targetdoc/targetptr/lang = '</xsl:text> |
- <xsl:value-of select="$olink.key"/> |
- <xsl:text>'.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- <xsl:text>????</xsl:text> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- old style olink --> |
- <xsl:call-template name="olink.outline"> |
- <xsl:with-param name="outline.base.uri" |
- select="unparsed-entity-uri(@targetdocent)"/> |
- <xsl:with-param name="localinfo" select="@localinfo"/> |
- <xsl:with-param name="return" select="'xreftext'"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="*" mode="olink.docname.markup"> |
- <!-- No-op for now --> |
-</xsl:template> |
- |
-<xsl:template name="targetpath"> |
- <xsl:param name="dirnode" /> |
- <xsl:param name="targetdoc" select="''"/> |
- |
-<!-- |
-<xsl:message>dirnode is <xsl:value-of select="$dirnode/@name"/></xsl:message> |
-<xsl:message>targetdoc is <xsl:value-of select="$targetdoc"/></xsl:message> |
---> |
- <!-- recursive template generates path to olink target directory --> |
- <xsl:choose> |
- <!-- Have we arrived at the final path step? --> |
- <xsl:when test="$dirnode/child::document[@targetdoc = $targetdoc]"> |
- <!-- We are done --> |
- </xsl:when> |
- <!-- Have we reached the top without a match? --> |
- <xsl:when test="local-name($dirnode) != 'dir'" > |
- <xsl:message>Olink error: cannot locate targetdoc <xsl:value-of select="$targetdoc"/> in sitemap</xsl:message> |
- </xsl:when> |
- <!-- Is the target in a descendant? --> |
- <xsl:when test="$dirnode/descendant::document/@targetdoc = $targetdoc"> |
- <xsl:variable name="step" select="$dirnode/child::dir[descendant::document/@targetdoc = $targetdoc]"/> |
- <xsl:if test = "$step"> |
- <xsl:value-of select="$step/@name"/> |
- <xsl:text>/</xsl:text> |
- </xsl:if> |
- <!-- Now recurse with the child --> |
- <xsl:call-template name="targetpath" > |
- <xsl:with-param name="dirnode" select="$step"/> |
- <xsl:with-param name="targetdoc" select="$targetdoc"/> |
- </xsl:call-template> |
- </xsl:when> |
- <!-- Otherwise we need to move up a step --> |
- <xsl:otherwise> |
- <xsl:if test="$dirnode/parent::dir"> |
- <xsl:text>../</xsl:text> |
- </xsl:if> |
- <xsl:call-template name="targetpath" > |
- <xsl:with-param name="dirnode" select="$dirnode/parent::*"/> |
- <xsl:with-param name="targetdoc" select="$targetdoc"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="olink.page.citation"> |
- <xsl:param name="olink.key" select="''"/> |
- <xsl:param name="olink.lang" select="'en'"/> |
- <xsl:param name="target.database"/> |
- <xsl:param name="linkend" select="''"/> |
- <xsl:param name="xrefstyle"> |
- <xsl:choose> |
- <xsl:when test="@role and not(@xrefstyle) |
- and $use.role.as.xrefstyle != 0"> |
- <xsl:value-of select="@role"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="@xrefstyle"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:param> |
- |
- <xsl:variable name="targetdoc"> |
- <xsl:value-of select="substring-before($olink.key, '/')"/> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$linkend != ''"> |
- <xsl:call-template name="xref.page.citation"> |
- <xsl:with-param name="linkend" select="$linkend"/> |
- <xsl:with-param name="target" select="key('id', $linkend)"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="not(starts-with(normalize-space($xrefstyle), |
- 'select:') |
- and (contains($xrefstyle, 'page') |
- or contains($xrefstyle, 'Page'))) |
- and $current.docid != '' |
- and $current.docid != $targetdoc |
- and $insert.olink.page.number = 'yes' "> |
- |
- <xsl:variable name="page-number"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetptr-key', $olink.key)/@page" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:if test="$page-number != ''"> |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="name" select="'olink.page.citation'"/> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="lang" select="$olink.lang"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- <xsl:with-param name="pagenumber" select="$page-number"/> |
- </xsl:call-template> |
- </xsl:if> |
- |
- </xsl:when> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="olink.document.citation"> |
- <xsl:param name="olink.key" select="''"/> |
- <xsl:param name="olink.lang" select="'en'"/> |
- <xsl:param name="target.database"/> |
- <xsl:param name="xrefstyle"> |
- <xsl:choose> |
- <xsl:when test="@role and not(@xrefstyle) |
- and $use.role.as.xrefstyle != 0"> |
- <xsl:value-of select="@role"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="@xrefstyle"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:param> |
- |
- <xsl:variable name="page"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetptr-key', $olink.key)/@page" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:variable name="targetdoc"> |
- <xsl:value-of select="substring-before($olink.key, '/')"/> |
- </xsl:variable> |
- |
- <xsl:variable name="targetptr"> |
- <xsl:value-of |
- select="substring-before(substring-after($olink.key, '/'), '/')"/> |
- </xsl:variable> |
- |
- <!-- Don't add docname if pointing to root element --> |
- <xsl:variable name="rootptr"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetdoc-key', $targetdoc)/div[1]/@targetptr" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:variable name="docname"> |
- <xsl:for-each select="$target.database" > |
- <xsl:value-of |
- select="key('targetdoc-key', $targetdoc)/div[1]/ttl" /> |
- </xsl:for-each> |
- </xsl:variable> |
- |
- <xsl:if test="not(starts-with(normalize-space($xrefstyle), 'select:') |
- and (contains($xrefstyle, 'docname'))) |
- and ($olink.doctitle = 'yes' or $olink.doctitle = '1') |
- and $current.docid != '' |
- and $rootptr != $targetptr |
- and $current.docid != $targetdoc |
- and $docname != ''"> |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="name" select="'olink.document.citation'"/> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="lang" select="$olink.lang"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- <xsl:with-param name="docname" select="$docname"/> |
- <xsl:with-param name="pagenumber" select="$page"/> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
- |
-<xsl:template name="xref.page.citation"> |
- <!-- Determine if this xref should have a page citation. |
- Context node is the xref or local olink element --> |
- <xsl:param name="linkend" select="@linkend"/> |
- <xsl:param name="target" select="key('id', $linkend)"/> |
- <xsl:param name="xrefstyle"> |
- <xsl:choose> |
- <xsl:when test="@role and not(@xrefstyle) |
- and $use.role.as.xrefstyle != 0"> |
- <xsl:value-of select="@role"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="@xrefstyle"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:param> |
- |
- <xsl:if test="not(starts-with(normalize-space($xrefstyle),'select:') |
- and (contains($xrefstyle, 'page') |
- or contains($xrefstyle, 'Page'))) |
- and ( $insert.xref.page.number = 'yes' |
- or $insert.xref.page.number = '1') |
- or local-name($target) = 'para'"> |
- <xsl:apply-templates select="$target" mode="page.citation"> |
- <xsl:with-param name="id" select="$linkend"/> |
- </xsl:apply-templates> |
- </xsl:if> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
- |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/gentext.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/gentext.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/gentext.xsl (nonexistent) |
@@ -1,831 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- exclude-result-prefixes="doc" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: gentext.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- ==================================================================== --> |
- |
- |
-<xsl:template match="*" mode="object.title.template"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template match="chapter" mode="object.title.template"> |
- <xsl:choose> |
- <xsl:when test="string($chapter.autolabel) != 0"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-numbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-unnumbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="appendix" mode="object.title.template"> |
- <xsl:choose> |
- <xsl:when test="string($appendix.autolabel) != 0"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-numbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-unnumbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="part" mode="object.title.template"> |
- <xsl:choose> |
- <xsl:when test="string($part.autolabel) != 0"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-numbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-unnumbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect |
- |bridgehead" |
- mode="object.title.template"> |
- <xsl:variable name="is.numbered"> |
- <xsl:call-template name="label.this.section"/> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$is.numbered != 0"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-numbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title-unnumbered'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="procedure" mode="object.title.template"> |
- <xsl:choose> |
- <xsl:when test="$formal.procedures != 0 and title"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- <xsl:text>.formal</xsl:text> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'title'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="object.subtitle.template"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'subtitle'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="is.autonumber"> |
- <xsl:value-of select="'0'"/> |
-</xsl:template> |
- |
-<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" |
- mode="is.autonumber"> |
- <xsl:call-template name="label.this.section"/> |
-</xsl:template> |
- |
-<xsl:template match="figure|example|table|equation" mode="is.autonumber"> |
- <xsl:value-of select="'1'"/> |
-</xsl:template> |
- |
-<xsl:template match="appendix" mode="is.autonumber"> |
- <xsl:value-of select="$appendix.autolabel"/> |
-</xsl:template> |
- |
-<xsl:template match="chapter" mode="is.autonumber"> |
- <xsl:value-of select="$chapter.autolabel"/> |
-</xsl:template> |
- |
-<xsl:template match="part" mode="is.autonumber"> |
- <xsl:value-of select="$part.autolabel"/> |
-</xsl:template> |
- |
-<xsl:template match="preface" mode="is.autonumber"> |
- <xsl:value-of select="$preface.autolabel"/> |
-</xsl:template> |
- |
-<xsl:template match="question|answer" mode="is.autonumber"> |
- <xsl:choose> |
- <xsl:when test="$qanda.defaultlabel = 'number' |
- and not(label)"> |
- <xsl:value-of select="'1'"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="'0'"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="qandadiv" mode="is.autonumber"> |
- <xsl:value-of select="$qandadiv.autolabel"/> |
-</xsl:template> |
- |
-<xsl:template match="bridgehead" mode="is.autonumber"> |
- <xsl:value-of select="$section.autolabel"/> |
-</xsl:template> |
- |
-<xsl:template match="*" mode="object.xref.template"> |
- <xsl:param name="purpose"/> |
- <xsl:param name="xrefstyle"/> |
- <xsl:param name="referrer"/> |
- |
- <!-- Is autonumbering on? --> |
- <xsl:variable name="autonumber"> |
- <xsl:apply-templates select="." mode="is.autonumber"/> |
- </xsl:variable> |
- |
- <xsl:variable name="number-and-title-template"> |
- <xsl:call-template name="gentext.template.exists"> |
- <xsl:with-param name="context" select="'xref-number-and-title'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="number-template"> |
- <xsl:call-template name="gentext.template.exists"> |
- <xsl:with-param name="context" select="'xref-number'"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="context"> |
- <xsl:choose> |
- <xsl:when test="string($autonumber) != 0 |
- and $number-and-title-template != 0 |
- and $xref.with.number.and.title != 0"> |
- <xsl:value-of select="'xref-number-and-title'"/> |
- </xsl:when> |
- <xsl:when test="string($autonumber) != 0 |
- and $number-template != 0"> |
- <xsl:value-of select="'xref-number'"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="'xref'"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="$context"/> |
- <xsl:with-param name="name"> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:with-param> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- </xsl:call-template> |
- |
-</xsl:template> |
- |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="object.title.markup"> |
- <xsl:param name="allow-anchors" select="0"/> |
- <xsl:variable name="template"> |
- <xsl:apply-templates select="." mode="object.title.template"/> |
- </xsl:variable> |
- |
-<!-- |
- <xsl:message> |
- <xsl:text>object.title.markup: </xsl:text> |
- <xsl:value-of select="local-name(.)"/> |
- <xsl:text>: </xsl:text> |
- <xsl:value-of select="$template"/> |
- </xsl:message> |
---> |
- |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- <xsl:with-param name="template" select="$template"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template match="*" mode="object.title.markup.textonly"> |
- <xsl:variable name="title"> |
- <xsl:apply-templates select="." mode="object.title.markup"/> |
- </xsl:variable> |
- <xsl:value-of select="normalize-space($title)"/> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="object.titleabbrev.markup"> |
- <xsl:param name="allow-anchors" select="0"/> |
- |
- <!-- Just for consistency in template naming --> |
- |
- <xsl:apply-templates select="." mode="titleabbrev.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="object.subtitle.markup"> |
- <xsl:variable name="template"> |
- <xsl:apply-templates select="." mode="object.subtitle.template"/> |
- </xsl:variable> |
- |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template" select="$template"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template match="*" mode="object.xref.markup"> |
- <xsl:param name="purpose"/> |
- <xsl:param name="xrefstyle"/> |
- <xsl:param name="referrer"/> |
- <xsl:param name="verbose" select="1"/> |
- |
- <xsl:variable name="template"> |
- <xsl:choose> |
- <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:')"> |
- <xsl:call-template name="make.gentext.template"> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="starts-with(normalize-space($xrefstyle), 'template:')"> |
- <xsl:value-of select="substring-after(normalize-space($xrefstyle), 'template:')"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="object.xref.template"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- </xsl:apply-templates> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
-<!-- |
- <xsl:message> |
- <xsl:text>object.xref.markup: </xsl:text> |
- <xsl:value-of select="local-name(.)"/> |
- <xsl:text>(</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$purpose"/> |
- <xsl:text>)</xsl:text> |
- <xsl:text>: [</xsl:text> |
- <xsl:value-of select="$template"/> |
- <xsl:text>]</xsl:text> |
- </xsl:message> |
---> |
- |
- <xsl:if test="$template = '' and $verbose != 0"> |
- <xsl:message> |
- <xsl:text>object.xref.markup: empty xref template</xsl:text> |
- <xsl:text> for linkend="</xsl:text> |
- <xsl:value-of select="@id|@xml:id"/> |
- <xsl:text>" and @xrefstyle="</xsl:text> |
- <xsl:value-of select="$xrefstyle"/> |
- <xsl:text>"</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- <xsl:with-param name="template" select="$template"/> |
- <xsl:with-param name="verbose" select="$verbose"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template match="listitem" mode="object.xref.markup"> |
- <xsl:param name="verbose" select="1"/> |
- |
- <xsl:choose> |
- <xsl:when test="parent::orderedlist"> |
- <xsl:variable name="template"> |
- <xsl:apply-templates select="." mode="object.xref.template"/> |
- </xsl:variable> |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template" select="$template"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$verbose != 0"> |
- <xsl:message> |
- <xsl:text>Xref is only supported to listitems in an</xsl:text> |
- <xsl:text> orderedlist: </xsl:text> |
- <xsl:value-of select="@id|@xml:id"/> |
- </xsl:message> |
- <xsl:text>???</xsl:text> |
- </xsl:when> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="question" mode="object.xref.markup"> |
- <xsl:param name="purpose"/> |
- <xsl:param name="xrefstyle"/> |
- <xsl:param name="referrer"/> |
- |
- <xsl:variable name="deflabel"> |
- <xsl:choose> |
- <xsl:when test="ancestor-or-self::*[@defaultlabel]"> |
- <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] |
- /@defaultlabel"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$qanda.defaultlabel"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="template"> |
- <xsl:choose> |
- <!-- This avoids double Q: Q: in xref when defaultlabel=qanda --> |
- <xsl:when test="$deflabel = 'qanda' and not(label)">%n</xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="object.xref.template"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- </xsl:apply-templates> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- <xsl:with-param name="template" select="$template"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template name="substitute-markup"> |
- <xsl:param name="template" select="''"/> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:param name="title" select="''"/> |
- <xsl:param name="subtitle" select="''"/> |
- <xsl:param name="docname" select="''"/> |
- <xsl:param name="label" select="''"/> |
- <xsl:param name="pagenumber" select="''"/> |
- <xsl:param name="purpose"/> |
- <xsl:param name="xrefstyle"/> |
- <xsl:param name="referrer"/> |
- <xsl:param name="verbose"/> |
- |
- <xsl:choose> |
- <xsl:when test="contains($template, '%')"> |
- <xsl:value-of select="substring-before($template, '%')"/> |
- <xsl:variable name="candidate" |
- select="substring(substring-after($template, '%'), 1, 1)"/> |
- <xsl:choose> |
- <xsl:when test="$candidate = 't'"> |
- <xsl:apply-templates select="." mode="insert.title.markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="title"> |
- <xsl:choose> |
- <xsl:when test="$title != ''"> |
- <xsl:copy-of select="$title"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="title.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- <xsl:with-param name="verbose" select="$verbose"/> |
- </xsl:apply-templates> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:when test="$candidate = 's'"> |
- <xsl:apply-templates select="." mode="insert.subtitle.markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="subtitle"> |
- <xsl:choose> |
- <xsl:when test="$subtitle != ''"> |
- <xsl:copy-of select="$subtitle"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:when test="$candidate = 'n'"> |
- <xsl:apply-templates select="." mode="insert.label.markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="label"> |
- <xsl:choose> |
- <xsl:when test="$label != ''"> |
- <xsl:copy-of select="$label"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="label.markup"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:when test="$candidate = 'p'"> |
- <xsl:apply-templates select="." mode="insert.pagenumber.markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="pagenumber"> |
- <xsl:choose> |
- <xsl:when test="$pagenumber != ''"> |
- <xsl:copy-of select="$pagenumber"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="pagenumber.markup"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:when test="$candidate = 'o'"> |
- <!-- olink target document title --> |
- <xsl:apply-templates select="." mode="insert.olink.docname.markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="docname"> |
- <xsl:choose> |
- <xsl:when test="$docname != ''"> |
- <xsl:copy-of select="$docname"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="." mode="olink.docname.markup"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:when test="$candidate = 'd'"> |
- <xsl:apply-templates select="." mode="insert.direction.markup"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="direction"> |
- <xsl:choose> |
- <xsl:when test="$referrer"> |
- <xsl:variable name="referent-is-below"> |
- <xsl:for-each select="preceding::xref"> |
- <xsl:if test="generate-id(.) = generate-id($referrer)">1</xsl:if> |
- </xsl:for-each> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$referent-is-below = ''"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'above'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'below'"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message>Attempt to use %d in gentext with no referrer!</xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:when test="$candidate = '%' "> |
- <xsl:text>%</xsl:text> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:text>%</xsl:text><xsl:value-of select="$candidate"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- <!-- recurse with the rest of the template string --> |
- <xsl:variable name="rest" |
- select="substring($template, |
- string-length(substring-before($template, '%'))+3)"/> |
- <xsl:call-template name="substitute-markup"> |
- <xsl:with-param name="template" select="$rest"/> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- <xsl:with-param name="title" select="$title"/> |
- <xsl:with-param name="subtitle" select="$subtitle"/> |
- <xsl:with-param name="docname" select="$docname"/> |
- <xsl:with-param name="label" select="$label"/> |
- <xsl:with-param name="pagenumber" select="$pagenumber"/> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- <xsl:with-param name="verbose" select="$verbose"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$template"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ============================================================ --> |
- |
-<xsl:template name="make.gentext.template"> |
- <xsl:param name="xrefstyle" select="''"/> |
- <xsl:param name="purpose"/> |
- <xsl:param name="referrer"/> |
- <xsl:param name="lang"> |
- <xsl:call-template name="l10n.language"/> |
- </xsl:param> |
- <xsl:param name="target.elem" select="local-name(.)"/> |
- |
- <!-- parse xrefstyle to get parts --> |
- <xsl:variable name="parts" |
- select="substring-after(normalize-space($xrefstyle), 'select:')"/> |
- |
- <xsl:variable name="labeltype"> |
- <xsl:choose> |
- <xsl:when test="contains($parts, 'labelnumber')"> |
- <xsl:text>labelnumber</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'labelname')"> |
- <xsl:text>labelname</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'label')"> |
- <xsl:text>label</xsl:text> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="titletype"> |
- <xsl:choose> |
- <xsl:when test="contains($parts, 'quotedtitle')"> |
- <xsl:text>quotedtitle</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'title')"> |
- <xsl:text>title</xsl:text> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="pagetype"> |
- <xsl:choose> |
- <xsl:when test="$insert.olink.page.number = 'no' and |
- local-name($referrer) = 'olink'"> |
- <!-- suppress page numbers --> |
- </xsl:when> |
- <xsl:when test="$insert.xref.page.number = 'no' and |
- local-name($referrer) != 'olink'"> |
- <!-- suppress page numbers --> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'nopage')"> |
- <xsl:text>nopage</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'pagenumber')"> |
- <xsl:text>pagenumber</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'pageabbrev')"> |
- <xsl:text>pageabbrev</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'Page')"> |
- <xsl:text>Page</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'page')"> |
- <xsl:text>page</xsl:text> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="docnametype"> |
- <xsl:choose> |
- <xsl:when test="($olink.doctitle = 0 or |
- $olink.doctitle = 'no') and |
- local-name($referrer) = 'olink'"> |
- <!-- suppress docname --> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'nodocname')"> |
- <xsl:text>nodocname</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'docnamelong')"> |
- <xsl:text>docnamelong</xsl:text> |
- </xsl:when> |
- <xsl:when test="contains($parts, 'docname')"> |
- <xsl:text>docname</xsl:text> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:if test="$labeltype != ''"> |
- <xsl:choose> |
- <xsl:when test="$labeltype = 'labelname'"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key"> |
- <xsl:choose> |
- <xsl:when test="local-name($referrer) = 'olink'"> |
- <xsl:value-of select="$target.elem"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="local-name(.)"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$labeltype = 'labelnumber'"> |
- <xsl:text>%n</xsl:text> |
- </xsl:when> |
- <xsl:when test="$labeltype = 'label'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref-number'"/> |
- <xsl:with-param name="name"> |
- <xsl:choose> |
- <xsl:when test="local-name($referrer) = 'olink'"> |
- <xsl:value-of select="$target.elem"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="xpath.location"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- </xsl:call-template> |
- </xsl:when> |
- </xsl:choose> |
- |
- <xsl:choose> |
- <xsl:when test="$titletype != ''"> |
- <xsl:value-of select="$xref.label-title.separator"/> |
- </xsl:when> |
- <xsl:when test="$pagetype != ''"> |
- <xsl:value-of select="$xref.label-page.separator"/> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:if> |
- |
- <xsl:if test="$titletype != ''"> |
- <xsl:choose> |
- <xsl:when test="$titletype = 'title'"> |
- <xsl:text>%t</xsl:text> |
- </xsl:when> |
- <xsl:when test="$titletype = 'quotedtitle'"> |
- <xsl:call-template name="gentext.dingbat"> |
- <xsl:with-param name="dingbat" select="'startquote'"/> |
- </xsl:call-template> |
- <xsl:text>%t</xsl:text> |
- <xsl:call-template name="gentext.dingbat"> |
- <xsl:with-param name="dingbat" select="'endquote'"/> |
- </xsl:call-template> |
- </xsl:when> |
- </xsl:choose> |
- |
- <xsl:choose> |
- <xsl:when test="$pagetype != '' and $pagetype != 'nopage'"> |
- <xsl:value-of select="$xref.title-page.separator"/> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:if> |
- |
- <!-- special case: use regular xref template if just turning off page --> |
- <xsl:if test="($pagetype = 'nopage' or $docnametype = 'nodocname') |
- and local-name($referrer) != 'olink' |
- and $labeltype = '' |
- and $titletype = ''"> |
- <xsl:apply-templates select="." mode="object.xref.template"> |
- <xsl:with-param name="purpose" select="$purpose"/> |
- <xsl:with-param name="xrefstyle" select="$xrefstyle"/> |
- <xsl:with-param name="referrer" select="$referrer"/> |
- </xsl:apply-templates> |
- </xsl:if> |
- |
- <xsl:if test="$pagetype != ''"> |
- <xsl:choose> |
- <xsl:when test="$pagetype = 'page'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="'page'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$pagetype = 'Page'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="'Page'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$pagetype = 'pageabbrev'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="'pageabbrev'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$pagetype = 'pagenumber'"> |
- <xsl:text>%p</xsl:text> |
- </xsl:when> |
- </xsl:choose> |
- |
- </xsl:if> |
- |
- <!-- Add reference to other document title --> |
- <xsl:if test="$docnametype != '' and local-name($referrer) = 'olink'"> |
- <!-- Any separator should be in the gentext template --> |
- <xsl:choose> |
- <xsl:when test="$docnametype = 'docnamelong'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="'docnamelong'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$docnametype = 'docname'"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'xref'"/> |
- <xsl:with-param name="name" select="'docname'"/> |
- </xsl:call-template> |
- </xsl:when> |
- </xsl:choose> |
- |
- </xsl:if> |
- |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/subtitles.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/subtitles.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/subtitles.xsl (nonexistent) |
@@ -1,155 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- exclude-result-prefixes="doc" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: subtitles.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- ==================================================================== --> |
- |
-<!-- subtitle markup --> |
- |
-<doc:mode mode="subtitle.markup" xmlns=""> |
-<refpurpose>Provides access to element subtitles</refpurpose> |
-<refdescription id="subtitle.markup-desc"> |
-<para>Processing an element in the |
-<literal role="mode">subtitle.markup</literal> mode produces the |
-subtitle of the element. |
-</para> |
-</refdescription> |
-</doc:mode> |
- |
-<xsl:template match="*" mode="subtitle.markup"> |
- <xsl:message> |
- <xsl:text>Request for subtitle of unexpected element: </xsl:text> |
- <xsl:value-of select="local-name(.)"/> |
- </xsl:message> |
- <xsl:text>???SUBTITLE???</xsl:text> |
-</xsl:template> |
- |
-<xsl:template match="subtitle" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates/> |
-</xsl:template> |
- |
-<xsl:template match="set" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(setinfo/subtitle|info/subtitle|subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="book" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(bookinfo/subtitle|info/subtitle|subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="part" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(partinfo/subtitle |
- |docinfo/subtitle |
- |info/subtitle |
- |subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="preface|chapter|appendix" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(docinfo/subtitle |
- |info/subtitle |
- |prefaceinfo/subtitle |
- |chapterinfo/subtitle |
- |appendixinfo/subtitle |
- |subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="article" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(artheader/subtitle |
- |articleinfo/subtitle |
- |info/subtitle |
- |subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="dedication|colophon" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(subtitle|info/subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="reference" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(referenceinfo/subtitle |
- |docinfo/subtitle |
- |info/subtitle |
- |subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="qandaset" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(blockinfo/subtitle|info/subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="refentry" mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(refentryinfo/subtitle |
- |info/subtitle |
- |docinfo/subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-<xsl:template match="section |
- |sect1|sect2|sect3|sect4|sect5 |
- |refsect1|refsect2|refsect3 |
- |simplesect" |
- mode="subtitle.markup"> |
- <xsl:param name="allow-anchors" select="'0'"/> |
- <xsl:apply-templates select="(info/subtitle |
- |sectioninfo/subtitle |
- |sect1info/subtitle |
- |sect2info/subtitle |
- |sect3info/subtitle |
- |sect4info/subtitle |
- |sect5info/subtitle |
- |refsect1info/subtitle |
- |refsect2info/subtitle |
- |refsect3info/subtitle |
- |subtitle)[1]" |
- mode="subtitle.markup"> |
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/> |
- </xsl:apply-templates> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
- |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.dtd |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.dtd (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.dtd (nonexistent) |
@@ -1,63 +0,0 @@ |
-<!ENTITY % prefix "l"> |
- |
-<!ENTITY % xmlns "xmlns:%prefix;"> |
-<!ENTITY % uri "'http://docbook.sourceforge.net/xmlns/l10n/1.0'"> |
- |
-<!ENTITY % i18n "%prefix;:i18n"> |
-<!ENTITY % l10n "%prefix;:l10n"> |
-<!ENTITY % gentext "%prefix;:gentext"> |
-<!ENTITY % dingbat "%prefix;:dingbat"> |
-<!ENTITY % context "%prefix;:context"> |
-<!ENTITY % template "%prefix;:template"> |
-<!ENTITY % letters "%prefix;:letters"> |
-<!ENTITY % l "%prefix;:l"> |
-<!ENTITY % lang "lang NMTOKEN #IMPLIED"> |
- |
-<!ELEMENT %i18n; ((%l10n;)+)> |
-<!ATTLIST %i18n; |
- %xmlns; CDATA #FIXED %uri; |
-> |
- |
-<!ELEMENT %l10n; (%gentext;|%dingbat;|%context;|%letters;)*> |
-<!ATTLIST %l10n; |
- %xmlns; CDATA #FIXED %uri; |
- language CDATA #REQUIRED |
- english-language-name CDATA #IMPLIED |
-> |
- |
-<!ELEMENT %gentext; EMPTY> |
-<!ATTLIST %gentext; |
- %lang; |
- key CDATA #REQUIRED |
- text CDATA #REQUIRED |
-> |
- |
-<!ELEMENT %dingbat; EMPTY> |
-<!ATTLIST %dingbat; |
- %lang; |
- key CDATA #REQUIRED |
- text CDATA #REQUIRED |
-> |
- |
-<!ELEMENT %context; ((%template;)+)> |
-<!ATTLIST %context; |
- name CDATA #REQUIRED |
-> |
- |
-<!ELEMENT %template; EMPTY> |
-<!ATTLIST %template; |
- %lang; |
- name CDATA #REQUIRED |
- text CDATA #REQUIRED |
- style CDATA #IMPLIED |
-> |
- |
-<!ELEMENT %letters; ((%l;)+)> |
-<!ATTLIST %letters; |
- %lang; |
-> |
- |
-<!ELEMENT %l; (#PCDATA)> |
-<!ATTLIST %l; |
- i CDATA #REQUIRED |
-> |
/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.dtd |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targetdatabase.dtd |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targetdatabase.dtd (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targetdatabase.dtd (nonexistent) |
@@ -1,49 +0,0 @@ |
-<!-- targetdatabase.dtd --> |
-<!-- A DTD for managing cross reference target information --> |
- |
-<!ELEMENT targetset (targetsetinfo?, sitemap*, document*) > |
- |
-<!ELEMENT targetsetinfo ANY > |
- |
-<!ELEMENT sitemap (dir) > |
- |
-<!ELEMENT dir ((dir|document)*) > |
-<!ATTLIST dir |
- name CDATA #REQUIRED |
-> |
- |
-<!ELEMENT document (div*) > |
-<!ATTLIST document |
- targetdoc CDATA #REQUIRED |
- uri CDATA #IMPLIED |
- baseuri CDATA #IMPLIED |
- href CDATA #IMPLIED |
- dir CDATA #IMPLIED |
-> |
- |
-<!ELEMENT div (ttl?, objttl?, xreftext?, (div|obj)*)> |
-<!ATTLIST div |
- targetptr CDATA #IMPLIED |
- element CDATA #IMPLIED |
- name CDATA #IMPLIED |
- number CDATA #IMPLIED |
- href CDATA #IMPLIED |
- lang CDATA #IMPLIED |
- page CDATA #IMPLIED |
-> |
- |
- |
-<!ELEMENT ttl ANY > |
-<!ELEMENT objttl ANY > |
-<!ELEMENT xreftext ANY > |
- |
-<!ELEMENT obj (ttl?, objttl?, xreftext?)> |
-<!ATTLIST obj |
- targetptr CDATA #IMPLIED |
- element CDATA #IMPLIED |
- name CDATA #IMPLIED |
- number CDATA #IMPLIED |
- href CDATA #IMPLIED |
- lang CDATA #IMPLIED |
- page CDATA #IMPLIED |
-> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml (nonexistent) |
@@ -1,660 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="de" english-language-name="German"> |
- |
-<!-- * This file is generated automatically. --> |
-<!-- * To submit changes to this file upstream (to the DocBook Project) --> |
-<!-- * do not submit an edited version of this file. Instead, submit an --> |
-<!-- * edited version of the source file at the following location: --> |
-<!-- * --> |
-<!-- * https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/de.xml --> |
-<!-- * --> |
-<!-- * E-mail the edited de.xml source file to: --> |
-<!-- * --> |
-<!-- * docbook-developers@lists.sourceforge.net --> |
- |
-<!-- ******************************************************************** --> |
- |
-<!-- This file is part of the XSL DocBook Stylesheet distribution. --> |
-<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> |
-<!-- copyright and other information. --> |
- |
-<!-- ******************************************************************** --> |
-<!-- In these files, % with a letter is used for a placeholder: --> |
-<!-- %t is the current element's title --> |
-<!-- %s is the current element's subtitle (if applicable)--> |
-<!-- %n is the current element's number label--> |
-<!-- %p is the current element's page number (if applicable)--> |
-<!-- ******************************************************************** --> |
- |
- |
-<l:gentext key="Abstract" text="Zusammenfassung"/> |
-<l:gentext key="abstract" text="Zusammenfassung"/> |
-<l:gentext key="Answer" text="A:"/> |
-<l:gentext key="answer" text="A:"/> |
-<l:gentext key="Appendix" text="Anhang"/> |
-<l:gentext key="appendix" text="Anhang"/> |
-<l:gentext key="Article" text="Artikel"/> |
-<l:gentext key="article" text="Artikel"/> |
-<l:gentext key="Author" text="Autor"/> |
-<l:gentext key="Bibliography" text="Literaturverzeichnis"/> |
-<l:gentext key="bibliography" text="Literaturverzeichnis"/> |
-<l:gentext key="Book" text="Buch"/> |
-<l:gentext key="book" text="Buch"/> |
-<l:gentext key="CAUTION" text="ACHTUNG"/> |
-<l:gentext key="Caution" text="Achtung"/> |
-<l:gentext key="caution" text="Achtung"/> |
-<l:gentext key="Chapter" text="Kapitel"/> |
-<l:gentext key="chapter" text="Kapitel"/> |
-<l:gentext key="Colophon" text="Kolophon"/> |
-<l:gentext key="colophon" text="Kolophon"/> |
-<l:gentext key="Copyright" text="Copyright"/> |
-<l:gentext key="copyright" text="Copyright"/> |
-<l:gentext key="Dedication" text="Widmung"/> |
-<l:gentext key="dedication" text="Widmung"/> |
-<l:gentext key="Edition" text="Ausgabe"/> |
-<l:gentext key="edition" text="Ausgabe"/> |
-<l:gentext key="Editor" text="Editor" lang="en"/> |
-<l:gentext key="Equation" text="Gleichung"/> |
-<l:gentext key="equation" text="Gleichung"/> |
-<l:gentext key="Example" text="Beispiel"/> |
-<l:gentext key="example" text="Beispiel"/> |
-<l:gentext key="Figure" text="Abbildung"/> |
-<l:gentext key="figure" text="Abbildung"/> |
-<l:gentext key="Glossary" text="Glossar"/> |
-<l:gentext key="glossary" text="Glossar"/> |
-<l:gentext key="GlossSee" text="Siehe"/> |
-<l:gentext key="glosssee" text="Siehe"/> |
-<l:gentext key="GlossSeeAlso" text="Siehe auch"/> |
-<l:gentext key="glossseealso" text="Siehe auch"/> |
-<l:gentext key="IMPORTANT" text="WICHTIG"/> |
-<l:gentext key="important" text="Wichtig"/> |
-<l:gentext key="Important" text="Wichtig"/> |
-<l:gentext key="Index" text="Stichwortverzeichnis"/> |
-<l:gentext key="index" text="Stichwortverzeichnis"/> |
-<l:gentext key="ISBN" text="ISBN"/> |
-<l:gentext key="isbn" text="ISBN"/> |
-<l:gentext key="LegalNotice" text="Rechtlicher Hinweis"/> |
-<l:gentext key="legalnotice" text="Rechtlicher Hinweis"/> |
-<l:gentext key="MsgAud" text="Zielgruppe"/> |
-<l:gentext key="msgaud" text="Zielgruppe"/> |
-<l:gentext key="MsgLevel" text="Dringlichkeit"/> |
-<l:gentext key="msglevel" text="Dringlichkeit"/> |
-<l:gentext key="MsgOrig" text="Ursprung"/> |
-<l:gentext key="msgorig" text="Ursprung"/> |
-<l:gentext key="NOTE" text="ANMERKUNG"/> |
-<l:gentext key="Note" text="Anmerkung"/> |
-<l:gentext key="note" text="Anmerkung"/> |
-<l:gentext key="Part" text="Teil"/> |
-<l:gentext key="part" text="Teil"/> |
-<l:gentext key="Preface" text="Vorwort"/> |
-<l:gentext key="preface" text="Vorwort"/> |
-<l:gentext key="Procedure" text="Prozedur"/> |
-<l:gentext key="procedure" text="Prozedur"/> |
-<l:gentext key="ProductionSet" text="Produktion"/> |
-<l:gentext key="PubDate" text="Veröffentlicht"/> |
-<l:gentext key="pubdate" text="Veröffentlicht"/> |
-<l:gentext key="Published" text="Veröffentlicht"/> |
-<l:gentext key="published" text="Veröffentlicht"/> |
-<l:gentext key="Publisher" text="Publisher" lang="en"/> |
-<l:gentext key="Qandadiv" text="F & A"/> |
-<l:gentext key="qandadiv" text="F & A"/> |
-<l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/> |
-<l:gentext key="Question" text="F:"/> |
-<l:gentext key="question" text="F:"/> |
-<l:gentext key="RefEntry" text=""/> |
-<l:gentext key="refentry" text=""/> |
-<l:gentext key="Reference" text="Verweis"/> |
-<l:gentext key="reference" text="Verweis"/> |
-<l:gentext key="References" text="References" lang="en"/> |
-<l:gentext key="RefName" text="Name"/> |
-<l:gentext key="refname" text="Name"/> |
-<l:gentext key="RefSection" text="Abschnitt"/> |
-<l:gentext key="refsection" text="Abschnitt"/> |
-<l:gentext key="RefSynopsisDiv" text="Synopsis"/> |
-<l:gentext key="refsynopsisdiv" text="Synopsis"/> |
-<l:gentext key="RevHistory" text="Versionsgeschichte"/> |
-<l:gentext key="revhistory" text="Versionsgeschichte"/> |
-<l:gentext key="revision" text="Version"/> |
-<l:gentext key="Revision" text="Version"/> |
-<l:gentext key="sect1" text="Abschnitt"/> |
-<l:gentext key="sect2" text="Abschnitt"/> |
-<l:gentext key="sect3" text="Abschnitt"/> |
-<l:gentext key="sect4" text="Abschnitt"/> |
-<l:gentext key="sect5" text="Abschnitt"/> |
-<l:gentext key="section" text="Abschnitt"/> |
-<l:gentext key="Section" text="Abschnitt"/> |
-<l:gentext key="see" text="Siehe"/> |
-<l:gentext key="See" text="Siehe"/> |
-<l:gentext key="seealso" text="Siehe auch"/> |
-<l:gentext key="Seealso" text="Siehe auch"/> |
-<l:gentext key="SeeAlso" text="Siehe auch"/> |
-<l:gentext key="set" text="Satz"/> |
-<l:gentext key="Set" text="Satz"/> |
-<l:gentext key="setindex" text="Stichwortverzeichnis"/> |
-<l:gentext key="SetIndex" text="Stichwortverzeichnis"/> |
-<l:gentext key="Sidebar" text="Randnotiz"/> |
-<l:gentext key="sidebar" text="randnotiz"/> |
-<l:gentext key="step" text="Schritt"/> |
-<l:gentext key="Step" text="Schritt"/> |
-<l:gentext key="table" text="Tabelle"/> |
-<l:gentext key="Table" text="Tabelle"/> |
-<l:gentext key="task" text="Task" lang="en"/> |
-<l:gentext key="Task" text="Task" lang="en"/> |
-<l:gentext key="tip" text="Tipp"/> |
-<l:gentext key="TIP" text="TIPP"/> |
-<l:gentext key="Tip" text="Tipp"/> |
-<l:gentext key="Warning" text="Warnung"/> |
-<l:gentext key="warning" text="Warnung"/> |
-<l:gentext key="WARNING" text="WARNUNG"/> |
-<l:gentext key="and" text="und"/> |
-<l:gentext key="by" text="von"/> |
-<l:gentext key="Edited" text="Herausgegeben"/> |
-<l:gentext key="edited" text="Herausgegeben"/> |
-<l:gentext key="Editedby" text="Herausgegeben von"/> |
-<l:gentext key="editedby" text="Herausgegeben von"/> |
-<l:gentext key="in" text="in"/> |
-<l:gentext key="lastlistcomma" text=""/> |
-<l:gentext key="listcomma" text=","/> |
-<l:gentext key="nonexistantelement" text="nicht existierendes Element"/> |
-<l:gentext key="notes" text="Fußnoten"/> |
-<l:gentext key="Notes" text="Fußnoten"/> |
-<l:gentext key="Pgs" text="Seiten"/> |
-<l:gentext key="pgs" text="Seiten"/> |
-<l:gentext key="Revisedby" text="Geändert durch: "/> |
-<l:gentext key="revisedby" text="Geändert durch: "/> |
-<l:gentext key="TableNotes" text="Bemerkungen"/> |
-<l:gentext key="tablenotes" text="Bemerkungen"/> |
-<l:gentext key="TableofContents" text="Inhaltsverzeichnis"/> |
-<l:gentext key="tableofcontents" text="Inhaltsverzeichnis"/> |
-<l:gentext key="unexpectedelementname" text="Unerwarteter Elementname"/> |
-<l:gentext key="unsupported" text="wird nicht unterstützt"/> |
-<l:gentext key="xrefto" text="xref auf"/> |
-<l:gentext key="Authors" text="Autoren"/> |
-<l:gentext key="copyeditor" text="Copy Editor" lang="en"/> |
-<l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/> |
-<l:gentext key="productioneditor" text="Production Editor" lang="en"/> |
-<l:gentext key="technicaleditor" text="Technical Editor" lang="en"/> |
-<l:gentext key="translator" text="Translator" lang="en"/> |
-<l:gentext key="listofequations" text="Gleichungen"/> |
-<l:gentext key="ListofEquations" text="Gleichungen"/> |
-<l:gentext key="ListofExamples" text="Beispiele"/> |
-<l:gentext key="listofexamples" text="Beispiele"/> |
-<l:gentext key="ListofFigures" text="Abbildungsverzeichnis"/> |
-<l:gentext key="listoffigures" text="Abbildungsverzeichnis"/> |
-<l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/> |
-<l:gentext key="listofprocedures" text="List of Procedures" lang="en"/> |
-<l:gentext key="listoftables" text="Tabellenverzeichnis"/> |
-<l:gentext key="ListofTables" text="Tabellenverzeichnis"/> |
-<l:gentext key="ListofUnknown" text="???-Verzeichnis"/> |
-<l:gentext key="listofunknown" text="???-Verzeichnis"/> |
-<l:gentext key="nav-home" text="Zum Anfang"/> |
-<l:gentext key="nav-next" text="Weiter"/> |
-<l:gentext key="nav-next-sibling" text="Schnell weiter"/> |
-<l:gentext key="nav-prev" text="Zurück"/> |
-<l:gentext key="nav-prev-sibling" text="Schnell zurück"/> |
-<l:gentext key="nav-up" text="Nach oben"/> |
-<l:gentext key="nav-toc" text="InhV"/> |
-<l:gentext key="Draft" text="Entwurf"/> |
-<l:gentext key="above" text="oben"/> |
-<l:gentext key="below" text="unten"/> |
-<l:gentext key="sectioncalled" text="der Abschnitt namens"/> |
-<l:gentext key="index symbols" text="Symbole"/> |
-<l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyzäöüß"/> |
-<l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜß"/> |
-<l:gentext key="normalize.sort.input" text="AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ" lang="en"/> |
-<l:gentext key="normalize.sort.output" text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ" lang="en"/> |
-<l:dingbat key="startquote" text="„"/> |
-<l:dingbat key="endquote" text="“"/> |
-<l:dingbat key="nestedstartquote" text="‚"/> |
-<l:dingbat key="nestedendquote" text="‘"/> |
-<l:dingbat key="singlestartquote" text="‚"/> |
-<l:dingbat key="singleendquote" text="‘"/> |
-<l:dingbat key="bullet" text="•"/> |
-<l:gentext key="hyphenation-character" text="-"/> |
-<l:gentext key="hyphenation-push-character-count" text="2"/> |
-<l:gentext key="hyphenation-remain-character-count" text="3"/> |
-<l:context name="styles"><l:template name="person-name" text="first-last"/> |
-</l:context> |
-<l:context name="title"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="%t"/> |
-<l:template name="appendix" text="Anhang %n. %t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="biblioentry" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliolist" text="%t" lang="en"/> |
-<l:template name="bibliomixed" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="Kapitel %n. %t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="Gleichung %n. %t"/> |
-<l:template name="example" text="Beispiel %n. %t"/> |
-<l:template name="figure" text="Abbildung %n. %t"/> |
-<l:template name="foil" text="%t" lang="en"/> |
-<l:template name="foilgroup" text="%t" lang="en"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="glosslist" text="%t" lang="en"/> |
-<l:template name="glossentry" text="%t"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text=""/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="Teil %n. %t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="procedure.formal" text="Prozedur %n. %t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="productionset.formal" text="Produktion %n"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="%t"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="F: %n"/> |
-<l:template name="refentry" text="%t"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsection" text="%t"/> |
-<l:template name="refsect1" text="%t"/> |
-<l:template name="refsect2" text="%t"/> |
-<l:template name="refsect3" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="refsynopsisdivinfo" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="step" text="%t"/> |
-<l:template name="table" text="Tabelle %n. %t"/> |
-<l:template name="task" text="%t"/> |
-<l:template name="tasksummary" text="%t" lang="en"/> |
-<l:template name="taskprerequisites" text="%t" lang="en"/> |
-<l:template name="taskrelated" text="%t" lang="en"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text="" lang="en"/> |
-<l:template name="warning" text="%t"/> |
-</l:context> |
-<l:context name="title-unnumbered"><l:template name="appendix" text="%t"/> |
-<l:template name="article/appendix" text="%t"/> |
-<l:template name="bridgehead" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="sect1" text="%t"/> |
-<l:template name="sect2" text="%t"/> |
-<l:template name="sect3" text="%t"/> |
-<l:template name="sect4" text="%t"/> |
-<l:template name="sect5" text="%t"/> |
-<l:template name="section" text="%t"/> |
-<l:template name="simplesect" text="%t"/> |
-<l:template name="part" text="%t" lang="en"/> |
-</l:context> |
-<l:context name="title-numbered"><l:template name="appendix" text="Anhang %n. %t"/> |
-<l:template name="article/appendix" text="%n. %t"/> |
-<l:template name="bridgehead" text="%n. %t"/> |
-<l:template name="chapter" text="Kapitel %n. %t"/> |
-<l:template name="part" text="Teil %n. %t"/> |
-<l:template name="sect1" text="%n. %t"/> |
-<l:template name="sect2" text="%n. %t"/> |
-<l:template name="sect3" text="%n. %t"/> |
-<l:template name="sect4" text="%n. %t"/> |
-<l:template name="sect5" text="%n. %t"/> |
-<l:template name="section" text="%n. %t"/> |
-<l:template name="simplesect" text="%n. %t"/> |
-</l:context> |
-<l:context name="subtitle"><l:template name="appendix" text="%s"/> |
-<l:template name="article" text="%s"/> |
-<l:template name="bibliodiv" text="%s"/> |
-<l:template name="biblioentry" text="%s"/> |
-<l:template name="bibliography" text="%s"/> |
-<l:template name="bibliomixed" text="%s"/> |
-<l:template name="bibliomset" text="%s"/> |
-<l:template name="biblioset" text="%s"/> |
-<l:template name="book" text="%s"/> |
-<l:template name="chapter" text="%s"/> |
-<l:template name="colophon" text="%s"/> |
-<l:template name="dedication" text="%s"/> |
-<l:template name="glossary" text="%s"/> |
-<l:template name="glossdiv" text="%s"/> |
-<l:template name="index" text="%s"/> |
-<l:template name="indexdiv" text="%s"/> |
-<l:template name="lot" text="%s"/> |
-<l:template name="part" text="%s"/> |
-<l:template name="partintro" text="%s"/> |
-<l:template name="preface" text="%s"/> |
-<l:template name="refentry" text="%s"/> |
-<l:template name="reference" text="%s"/> |
-<l:template name="refsection" text="%s"/> |
-<l:template name="refsect1" text="%s"/> |
-<l:template name="refsect2" text="%s"/> |
-<l:template name="refsect3" text="%s"/> |
-<l:template name="refsynopsisdiv" text="%s"/> |
-<l:template name="sect1" text="%s"/> |
-<l:template name="sect2" text="%s"/> |
-<l:template name="sect3" text="%s"/> |
-<l:template name="sect4" text="%s"/> |
-<l:template name="sect5" text="%s"/> |
-<l:template name="section" text="%s"/> |
-<l:template name="set" text="%s"/> |
-<l:template name="setindex" text="%s"/> |
-<l:template name="sidebar" text="%s"/> |
-<l:template name="simplesect" text="%s"/> |
-<l:template name="toc" text="%s"/> |
-</l:context> |
-<l:context name="xref"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="A: %n"/> |
-<l:template name="appendix" text="%t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="constraintdef" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="%t"/> |
-<l:template name="example" text="%t"/> |
-<l:template name="figure" text="%t"/> |
-<l:template name="foil" text="%t" lang="en"/> |
-<l:template name="foilgroup" text="%t" lang="en"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text="%n"/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="%t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="F: %n"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="F: %n"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="table" text="%t"/> |
-<l:template name="task" text="%t" lang="en"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text="%n"/> |
-<l:template name="warning" text="%t"/> |
-<l:template name="olink.document.citation" text=" in %o" lang="en"/> |
-<l:template name="olink.page.citation" text=" (page %p)" lang="en"/> |
-<l:template name="page.citation" text=" [%p]"/> |
-<l:template name="page" text="(Seite %p)"/> |
-<l:template name="docname" text=" in %o" lang="en"/> |
-<l:template name="docnamelong" text=" in the document titled %o" lang="en"/> |
-<l:template name="pageabbrev" text="(S. %p)"/> |
-<l:template name="Page" text="Seite %p"/> |
-<l:template name="bridgehead" text="„%t“"/> |
-<l:template name="refsection" text="„%t“"/> |
-<l:template name="refsect1" text="„%t“"/> |
-<l:template name="refsect2" text="„%t“"/> |
-<l:template name="refsect3" text="„%t“"/> |
-<l:template name="sect1" text="„%t“"/> |
-<l:template name="sect2" text="„%t“"/> |
-<l:template name="sect3" text="„%t“"/> |
-<l:template name="sect4" text="„%t“"/> |
-<l:template name="sect5" text="„%t“"/> |
-<l:template name="section" text="„%t“"/> |
-<l:template name="simplesect" text="„%t“"/> |
-</l:context> |
-<l:context name="xref-number"><l:template name="answer" text="A: %n"/> |
-<l:template name="appendix" text="Anhang %n"/> |
-<l:template name="bridgehead" text="Abschnitt %n"/> |
-<l:template name="chapter" text="Kapitel %n"/> |
-<l:template name="equation" text="Gleichung %n"/> |
-<l:template name="example" text="Beispiel %n"/> |
-<l:template name="figure" text="Abbildung %n"/> |
-<l:template name="part" text="Teil %n"/> |
-<l:template name="procedure" text="Prozedur %n"/> |
-<l:template name="productionset" text="Produktion %n"/> |
-<l:template name="qandadiv" text="F & A %n"/> |
-<l:template name="qandaentry" text="F: %n"/> |
-<l:template name="question" text="F: %n"/> |
-<l:template name="sect1" text="Abschnitt %n"/> |
-<l:template name="sect2" text="Abschnitt %n"/> |
-<l:template name="sect3" text="Abschnitt %n"/> |
-<l:template name="sect4" text="Abschnitt %n"/> |
-<l:template name="sect5" text="Abschnitt %n"/> |
-<l:template name="section" text="Abschnitt %n"/> |
-<l:template name="table" text="Tabelle %n"/> |
-</l:context> |
-<l:context name="xref-number-and-title"><l:template name="appendix" text="Anhang %n, %t"/> |
-<l:template name="bridgehead" text="Abschnitt %n, „%t“"/> |
-<l:template name="chapter" text="Kapitel %n, %t"/> |
-<l:template name="equation" text="Gleichung %n, „%t“"/> |
-<l:template name="example" text="Beispiel %n, „%t“"/> |
-<l:template name="figure" text="Abbildung %n, „%t“"/> |
-<l:template name="part" text="Teil %n, „%t“"/> |
-<l:template name="procedure" text="Prozedur %n, „%t“"/> |
-<l:template name="productionset" text="Produktion %n, „%t“"/> |
-<l:template name="qandadiv" text="F & A %n, „%t“"/> |
-<l:template name="refsect1" text="der Abschnitt namens „%t“"/> |
-<l:template name="refsect2" text="der Abschnitt namens „%t“"/> |
-<l:template name="refsect3" text="der Abschnitt namens „%t“"/> |
-<l:template name="refsection" text="der Abschnitt namens „%t“"/> |
-<l:template name="sect1" text="Abschnitt %n, „%t“"/> |
-<l:template name="sect2" text="Abschnitt %n, „%t“"/> |
-<l:template name="sect3" text="Abschnitt %n, „%t“"/> |
-<l:template name="sect4" text="Abschnitt %n, „%t“"/> |
-<l:template name="sect5" text="Abschnitt %n, „%t“"/> |
-<l:template name="section" text="Abschnitt %n, „%t“"/> |
-<l:template name="simplesect" text="der Abschnitt namens „%t“"/> |
-<l:template name="table" text="Tabelle %n, „%t“"/> |
-</l:context> |
-<l:context name="authorgroup"><l:template name="sep" text=", "/> |
-<l:template name="sep2" text=" und "/> |
-<l:template name="seplast" text=" und "/> |
-</l:context> |
-<l:context name="glossary"><l:template name="see" text="Siehe %t"/> |
-<l:template name="seealso" text="Siehe auch %t"/> |
-</l:context> |
-<l:context name="msgset"><l:template name="MsgAud" text="Zielgruppe: "/> |
-<l:template name="MsgLevel" text="Dringlichkeit: "/> |
-<l:template name="MsgOrig" text="Ursprung: "/> |
-</l:context> |
-<l:context name="datetime"><l:template name="format" text="d.m.Y"/> |
-</l:context> |
-<l:context name="termdef"><l:template name="prefix" text="[Definition: " lang="en"/> |
-<l:template name="suffix" text="]" lang="en"/> |
-</l:context> |
-<l:context name="datetime-full"><l:template name="January" text="Januar"/> |
-<l:template name="February" text="Februar"/> |
-<l:template name="March" text="März"/> |
-<l:template name="April" text="April"/> |
-<l:template name="May" text="Mai"/> |
-<l:template name="June" text="Juni"/> |
-<l:template name="July" text="Juli"/> |
-<l:template name="August" text="August"/> |
-<l:template name="September" text="September"/> |
-<l:template name="October" text="Oktober"/> |
-<l:template name="November" text="November"/> |
-<l:template name="December" text="Dezember"/> |
-<l:template name="Monday" text="Montag"/> |
-<l:template name="Tuesday" text="Dienstag"/> |
-<l:template name="Wednesday" text="Mittwoch"/> |
-<l:template name="Thursday" text="Donnerstag"/> |
-<l:template name="Friday" text="Freitag"/> |
-<l:template name="Saturday" text="Samstag"/> |
-<l:template name="Sunday" text="Sonntag"/> |
-</l:context> |
-<l:context name="datetime-abbrev"><l:template name="Jan" text="Jan"/> |
-<l:template name="Feb" text="Feb"/> |
-<l:template name="Mar" text="Mar"/> |
-<l:template name="Apr" text="Apr"/> |
-<l:template name="May" text="Mai"/> |
-<l:template name="Jun" text="Jun"/> |
-<l:template name="Jul" text="Jul"/> |
-<l:template name="Aug" text="Aug"/> |
-<l:template name="Sep" text="Sep"/> |
-<l:template name="Oct" text="Okt"/> |
-<l:template name="Nov" text="Nov"/> |
-<l:template name="Dec" text="Dez"/> |
-<l:template name="Mon" text="Mo"/> |
-<l:template name="Tue" text="Di"/> |
-<l:template name="Wed" text="Mi"/> |
-<l:template name="Thu" text="Do"/> |
-<l:template name="Fri" text="Fr"/> |
-<l:template name="Sat" text="Sa"/> |
-<l:template name="Sun" text="So"/> |
-</l:context> |
-<l:context name="htmlhelp"><l:template name="langcode" text="0x0407 German (GERMANY)"/> |
-</l:context> |
-<l:context name="index"><l:template name="term-separator" text=", " lang="en"/> |
-<l:template name="number-separator" text=", " lang="en"/> |
-<l:template name="range-separator" text="-" lang="en"/> |
-</l:context> |
-<l:context name="iso690"><l:template name="lastfirst.sep" text=", " lang="en"/> |
-<l:template name="alt.person.two.sep" text=" – " lang="en"/> |
-<l:template name="alt.person.last.sep" text=" – " lang="en"/> |
-<l:template name="alt.person.more.sep" text=" – " lang="en"/> |
-<l:template name="primary.editor" text=" (ed.)" lang="en"/> |
-<l:template name="primary.many" text=", et al." lang="en"/> |
-<l:template name="primary.sep" text=". " lang="en"/> |
-<l:template name="submaintitle.sep" text=": " lang="en"/> |
-<l:template name="title.sep" text=". " lang="en"/> |
-<l:template name="othertitle.sep" text=", " lang="en"/> |
-<l:template name="medium1" text=" [" lang="en"/> |
-<l:template name="medium2" text="]" lang="en"/> |
-<l:template name="secondary.person.sep" text="; " lang="en"/> |
-<l:template name="secondary.sep" text=". " lang="en"/> |
-<l:template name="respons.sep" text=". " lang="en"/> |
-<l:template name="edition.sep" text=". " lang="en"/> |
-<l:template name="edition.serial.sep" text=", " lang="en"/> |
-<l:template name="issuing.range" text="-" lang="en"/> |
-<l:template name="issuing.div" text=", " lang="en"/> |
-<l:template name="issuing.sep" text=". " lang="en"/> |
-<l:template name="partnr.sep" text=". " lang="en"/> |
-<l:template name="placepubl.sep" text=": " lang="en"/> |
-<l:template name="publyear.sep" text=", " lang="en"/> |
-<l:template name="pubinfo.sep" text=". " lang="en"/> |
-<l:template name="spec.pubinfo.sep" text=", " lang="en"/> |
-<l:template name="upd.sep" text=", " lang="en"/> |
-<l:template name="datecit1" text=" [cited " lang="en"/> |
-<l:template name="datecit2" text="]" lang="en"/> |
-<l:template name="extent.sep" text=". " lang="en"/> |
-<l:template name="locs.sep" text=", " lang="en"/> |
-<l:template name="location.sep" text=". " lang="en"/> |
-<l:template name="serie.sep" text=". " lang="en"/> |
-<l:template name="notice.sep" text=". " lang="en"/> |
-<l:template name="access" text="Available " lang="en"/> |
-<l:template name="acctoo" text="Also available " lang="en"/> |
-<l:template name="onwww" text="from World Wide Web" lang="en"/> |
-<l:template name="oninet" text="from Internet" lang="en"/> |
-<l:template name="access.end" text=": " lang="en"/> |
-<l:template name="link1" text="<" lang="en"/> |
-<l:template name="link2" text=">" lang="en"/> |
-<l:template name="access.sep" text=". " lang="en"/> |
-<l:template name="isbn" text="ISBN " lang="en"/> |
-<l:template name="issn" text="ISSN " lang="en"/> |
-<l:template name="stdnum.sep" text=". " lang="en"/> |
-<l:template name="patcountry.sep" text=". " lang="en"/> |
-<l:template name="pattype.sep" text=", " lang="en"/> |
-<l:template name="patnum.sep" text=". " lang="en"/> |
-<l:template name="patdate.sep" text=". " lang="en"/> |
-</l:context><l:letters><l:l i="-1"/> |
-<l:l i="0">Symbole</l:l> |
-<l:l i="1">A</l:l> |
-<l:l i="1">a</l:l> |
-<l:l i="1">Ä</l:l> |
-<l:l i="1">ä</l:l> |
-<l:l i="2">B</l:l> |
-<l:l i="2">b</l:l> |
-<l:l i="3">C</l:l> |
-<l:l i="3">c</l:l> |
-<l:l i="4">D</l:l> |
-<l:l i="4">d</l:l> |
-<l:l i="5">E</l:l> |
-<l:l i="5">e</l:l> |
-<l:l i="6">F</l:l> |
-<l:l i="6">f</l:l> |
-<l:l i="7">G</l:l> |
-<l:l i="7">g</l:l> |
-<l:l i="8">H</l:l> |
-<l:l i="8">h</l:l> |
-<l:l i="9">I</l:l> |
-<l:l i="9">i</l:l> |
-<l:l i="10">J</l:l> |
-<l:l i="10">j</l:l> |
-<l:l i="11">K</l:l> |
-<l:l i="11">k</l:l> |
-<l:l i="12">L</l:l> |
-<l:l i="12">l</l:l> |
-<l:l i="13">M</l:l> |
-<l:l i="13">m</l:l> |
-<l:l i="14">N</l:l> |
-<l:l i="14">n</l:l> |
-<l:l i="15">O</l:l> |
-<l:l i="15">o</l:l> |
-<l:l i="15">Ö</l:l> |
-<l:l i="15">ö</l:l> |
-<l:l i="16">P</l:l> |
-<l:l i="16">p</l:l> |
-<l:l i="17">Q</l:l> |
-<l:l i="17">q</l:l> |
-<l:l i="18">R</l:l> |
-<l:l i="18">r</l:l> |
-<l:l i="19">S</l:l> |
-<l:l i="19">s</l:l> |
-<l:l i="20">T</l:l> |
-<l:l i="20">t</l:l> |
-<l:l i="21">U</l:l> |
-<l:l i="21">u</l:l> |
-<l:l i="21">Ü</l:l> |
-<l:l i="21">ü</l:l> |
-<l:l i="22">V</l:l> |
-<l:l i="22">v</l:l> |
-<l:l i="23">W</l:l> |
-<l:l i="23">w</l:l> |
-<l:l i="24">X</l:l> |
-<l:l i="24">x</l:l> |
-<l:l i="25">Y</l:l> |
-<l:l i="25">y</l:l> |
-<l:l i="26">Z</l:l> |
-<l:l i="26">z</l:l> |
-</l:letters> |
-</l:l10n> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml (nonexistent) |
@@ -1,1223 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_tw" english-language-name="Chinese (Taiwan)"> |
- |
-<!-- * This file is generated automatically. --> |
-<!-- * To submit changes to this file upstream (to the DocBook Project) --> |
-<!-- * do not submit an edited version of this file. Instead, submit an --> |
-<!-- * edited version of the source file at the following location: --> |
-<!-- * --> |
-<!-- * https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/zh_tw.xml --> |
-<!-- * --> |
-<!-- * E-mail the edited zh_tw.xml source file to: --> |
-<!-- * --> |
-<!-- * docbook-developers@lists.sourceforge.net --> |
- |
-<!-- ******************************************************************** --> |
- |
-<!-- This file is part of the XSL DocBook Stylesheet distribution. --> |
-<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> |
-<!-- copyright and other information. --> |
- |
-<!-- ******************************************************************** --> |
-<!-- In these files, % with a letter is used for a placeholder: --> |
-<!-- %t is the current element's title --> |
-<!-- %s is the current element's subtitle (if applicable)--> |
-<!-- %n is the current element's number label--> |
-<!-- %p is the current element's page number (if applicable)--> |
-<!-- ******************************************************************** --> |
- |
- |
-<l:gentext key="Abstract" text="摘要"/> |
-<l:gentext key="abstract" text="摘要"/> |
-<l:gentext key="Answer" text="答:"/> |
-<l:gentext key="answer" text="答:"/> |
-<l:gentext key="Appendix" text="附錄"/> |
-<l:gentext key="appendix" text="附錄"/> |
-<l:gentext key="Article" text="文章"/> |
-<l:gentext key="article" text="文章"/> |
-<l:gentext key="Author" text="Author" lang="en"/> |
-<l:gentext key="Bibliography" text="參考文獻"/> |
-<l:gentext key="bibliography" text="參考文獻"/> |
-<l:gentext key="Book" text="書目"/> |
-<l:gentext key="book" text="書目"/> |
-<l:gentext key="CAUTION" text="注意"/> |
-<l:gentext key="Caution" text="注意"/> |
-<l:gentext key="caution" text="注意"/> |
-<l:gentext key="Chapter" text="章"/> |
-<l:gentext key="chapter" text="章"/> |
-<l:gentext key="Colophon" text="版本記錄"/> |
-<l:gentext key="colophon" text="版本記錄"/> |
-<l:gentext key="Copyright" text="版權"/> |
-<l:gentext key="copyright" text="版權"/> |
-<l:gentext key="Dedication" text="奉獻"/> |
-<l:gentext key="dedication" text="奉獻"/> |
-<l:gentext key="Edition" text="版"/> |
-<l:gentext key="edition" text="版"/> |
-<l:gentext key="Editor" text="Editor" lang="en"/> |
-<l:gentext key="Equation" text="方程式"/> |
-<l:gentext key="equation" text="方程式"/> |
-<l:gentext key="Example" text="範例"/> |
-<l:gentext key="example" text="範例"/> |
-<l:gentext key="Figure" text="圖形"/> |
-<l:gentext key="figure" text="圖形"/> |
-<l:gentext key="Glossary" text="小辭彙"/> |
-<l:gentext key="glossary" text="小辭彙"/> |
-<l:gentext key="GlossSee" text="參見"/> |
-<l:gentext key="glosssee" text="參見"/> |
-<l:gentext key="GlossSeeAlso" text="另參見"/> |
-<l:gentext key="glossseealso" text="另參見"/> |
-<l:gentext key="IMPORTANT" text="重要"/> |
-<l:gentext key="important" text="重要"/> |
-<l:gentext key="Important" text="重要"/> |
-<l:gentext key="Index" text="索引"/> |
-<l:gentext key="index" text="索引"/> |
-<l:gentext key="ISBN" text="ISBN"/> |
-<l:gentext key="isbn" text="ISBN"/> |
-<l:gentext key="LegalNotice" text="法律聲明"/> |
-<l:gentext key="legalnotice" text="法律聲明"/> |
-<l:gentext key="MsgAud" text="讀者"/> |
-<l:gentext key="msgaud" text="讀者"/> |
-<l:gentext key="MsgLevel" text="程度"/> |
-<l:gentext key="msglevel" text="程度"/> |
-<l:gentext key="MsgOrig" text="出處"/> |
-<l:gentext key="msgorig" text="出處"/> |
-<l:gentext key="NOTE" text="注"/> |
-<l:gentext key="Note" text="注"/> |
-<l:gentext key="note" text="注"/> |
-<l:gentext key="Part" text="部"/> |
-<l:gentext key="part" text="部"/> |
-<l:gentext key="Preface" text="序言"/> |
-<l:gentext key="preface" text="序言"/> |
-<l:gentext key="Procedure" text="過程"/> |
-<l:gentext key="procedure" text="過程"/> |
-<l:gentext key="ProductionSet" text="Production"/> |
-<l:gentext key="PubDate" text="Publication Date" lang="en"/> |
-<l:gentext key="pubdate" text="Publication date" lang="en"/> |
-<l:gentext key="Published" text="出版"/> |
-<l:gentext key="published" text="出版"/> |
-<l:gentext key="Publisher" text="Publisher" lang="en"/> |
-<l:gentext key="Qandadiv" text="問:且答:"/> |
-<l:gentext key="qandadiv" text="問:且答:"/> |
-<l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/> |
-<l:gentext key="Question" text="問:"/> |
-<l:gentext key="question" text="問:"/> |
-<l:gentext key="RefEntry" text="參照項目"/> |
-<l:gentext key="refentry" text="參照項目"/> |
-<l:gentext key="Reference" text="參考"/> |
-<l:gentext key="reference" text="參考"/> |
-<l:gentext key="References" text="References" lang="en"/> |
-<l:gentext key="RefName" text="參考名"/> |
-<l:gentext key="refname" text="參考名"/> |
-<l:gentext key="RefSection" text="參照章節"/> |
-<l:gentext key="refsection" text="參照章節"/> |
-<l:gentext key="RefSynopsisDiv" text="大綱"/> |
-<l:gentext key="refsynopsisdiv" text="大綱"/> |
-<l:gentext key="RevHistory" text="修訂記錄"/> |
-<l:gentext key="revhistory" text="修訂記錄"/> |
-<l:gentext key="revision" text="修訂"/> |
-<l:gentext key="Revision" text="修訂"/> |
-<l:gentext key="sect1" text="Section"/> |
-<l:gentext key="sect2" text="Section"/> |
-<l:gentext key="sect3" text="Section"/> |
-<l:gentext key="sect4" text="Section"/> |
-<l:gentext key="sect5" text="Section"/> |
-<l:gentext key="section" text="節"/> |
-<l:gentext key="Section" text="節"/> |
-<l:gentext key="see" text="見"/> |
-<l:gentext key="See" text="見"/> |
-<l:gentext key="seealso" text="另見"/> |
-<l:gentext key="Seealso" text="另見"/> |
-<l:gentext key="SeeAlso" text="另見"/> |
-<l:gentext key="set" text="Set"/> |
-<l:gentext key="Set" text="Set"/> |
-<l:gentext key="setindex" text="Set Index"/> |
-<l:gentext key="SetIndex" text="Set Index"/> |
-<l:gentext key="Sidebar" text=""/> |
-<l:gentext key="sidebar" text=""/> |
-<l:gentext key="step" text="步驟"/> |
-<l:gentext key="Step" text="步驟"/> |
-<l:gentext key="table" text="表格"/> |
-<l:gentext key="Table" text="表格"/> |
-<l:gentext key="task" text="Task" lang="en"/> |
-<l:gentext key="Task" text="Task" lang="en"/> |
-<l:gentext key="tip" text="提示"/> |
-<l:gentext key="TIP" text="提示"/> |
-<l:gentext key="Tip" text="提示"/> |
-<l:gentext key="Warning" text="警告"/> |
-<l:gentext key="warning" text="警告"/> |
-<l:gentext key="WARNING" text="警告"/> |
-<l:gentext key="and" text="且"/> |
-<l:gentext key="by" text="由"/> |
-<l:gentext key="Edited" text="編輯"/> |
-<l:gentext key="edited" text="編輯"/> |
-<l:gentext key="Editedby" text="編輯"/> |
-<l:gentext key="editedby" text="編輯"/> |
-<l:gentext key="in" text="在"/> |
-<l:gentext key="lastlistcomma" text=","/> |
-<l:gentext key="listcomma" text=","/> |
-<l:gentext key="nonexistantelement" text="不存在的元素"/> |
-<l:gentext key="notes" text="注"/> |
-<l:gentext key="Notes" text="注"/> |
-<l:gentext key="Pgs" text="頁"/> |
-<l:gentext key="pgs" text="頁"/> |
-<l:gentext key="Revisedby" text="修訂"/> |
-<l:gentext key="revisedby" text="修訂"/> |
-<l:gentext key="TableNotes" text="注釋"/> |
-<l:gentext key="tablenotes" text="注釋"/> |
-<l:gentext key="TableofContents" text="內容目錄"/> |
-<l:gentext key="tableofcontents" text="內容目錄"/> |
-<l:gentext key="unexpectedelementname" text="非預期的元素名"/> |
-<l:gentext key="unsupported" text="未支援"/> |
-<l:gentext key="xrefto" text="參照"/> |
-<l:gentext key="Authors" text="Authors" lang="en"/> |
-<l:gentext key="copyeditor" text="Copy Editor" lang="en"/> |
-<l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/> |
-<l:gentext key="productioneditor" text="Production Editor" lang="en"/> |
-<l:gentext key="technicaleditor" text="Technical Editor" lang="en"/> |
-<l:gentext key="translator" text="Translator" lang="en"/> |
-<l:gentext key="listofequations" text="公式目錄"/> |
-<l:gentext key="ListofEquations" text="公式目錄"/> |
-<l:gentext key="ListofExamples" text="範例目錄"/> |
-<l:gentext key="listofexamples" text="範例目錄"/> |
-<l:gentext key="ListofFigures" text="附圖目錄"/> |
-<l:gentext key="listoffigures" text="附圖目錄"/> |
-<l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/> |
-<l:gentext key="listofprocedures" text="List of Procedures" lang="en"/> |
-<l:gentext key="listoftables" text="附表目錄"/> |
-<l:gentext key="ListofTables" text="附表目錄"/> |
-<l:gentext key="ListofUnknown" text="其它內容目錄"/> |
-<l:gentext key="listofunknown" text="其它內容目錄"/> |
-<l:gentext key="nav-home" text="內容"/> |
-<l:gentext key="nav-next" text="下一頁"/> |
-<l:gentext key="nav-next-sibling" text="快速向後"/> |
-<l:gentext key="nav-prev" text="前一頁"/> |
-<l:gentext key="nav-prev-sibling" text="快速向前"/> |
-<l:gentext key="nav-up" text="上一層"/> |
-<l:gentext key="nav-toc" text="ToC" lang="en"/> |
-<l:gentext key="Draft" text="Draft"/> |
-<l:gentext key="above" text="above"/> |
-<l:gentext key="below" text="below"/> |
-<l:gentext key="sectioncalled" text="the section called"/> |
-<l:gentext key="index symbols" text="Symbols"/> |
-<l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz" lang="en"/> |
-<l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ" lang="en"/> |
-<l:gentext key="normalize.sort.input" text="AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ" lang="en"/> |
-<l:gentext key="normalize.sort.output" text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ" lang="en"/> |
-<l:dingbat key="startquote" text="“"/> |
-<l:dingbat key="endquote" text="”"/> |
-<l:dingbat key="nestedstartquote" text="‘"/> |
-<l:dingbat key="nestedendquote" text="’"/> |
-<l:dingbat key="singlestartquote" text="‘" lang="en"/> |
-<l:dingbat key="singleendquote" text="’" lang="en"/> |
-<l:dingbat key="bullet" text="•"/> |
-<l:gentext key="hyphenation-character" text="-" lang="en"/> |
-<l:gentext key="hyphenation-push-character-count" text="2" lang="en"/> |
-<l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/> |
-<l:context name="styles"><l:template name="person-name" text="first-last"/> |
-</l:context> |
-<l:context name="title"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="%t"/> |
-<l:template name="appendix" text="附錄 %n. %t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="biblioentry" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliolist" text="%t" lang="en"/> |
-<l:template name="bibliomixed" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="章 %n. %t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="方程式 %n. %t"/> |
-<l:template name="example" text="範例 %n. %t"/> |
-<l:template name="figure" text="圖形 %n. %t"/> |
-<l:template name="foil" text="%t" lang="en"/> |
-<l:template name="foilgroup" text="%t" lang="en"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="glosslist" text="%t" lang="en"/> |
-<l:template name="glossentry" text="%t" lang="en"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text=""/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="部 %n. %t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="procedure.formal" text="過程 %n. %t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="productionset.formal" text="Production %n"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="%t"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="%t"/> |
-<l:template name="refentry" text="%t"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsection" text="%t" lang="en"/> |
-<l:template name="refsect1" text="%t"/> |
-<l:template name="refsect2" text="%t"/> |
-<l:template name="refsect3" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="refsynopsisdivinfo" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="step" text="%t"/> |
-<l:template name="table" text="表格 %n. %t"/> |
-<l:template name="task" text="%t" lang="en"/> |
-<l:template name="tasksummary" text="%t" lang="en"/> |
-<l:template name="taskprerequisites" text="%t" lang="en"/> |
-<l:template name="taskrelated" text="%t" lang="en"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text="" lang="en"/> |
-<l:template name="warning" text="%t"/> |
-</l:context> |
-<l:context name="title-unnumbered"><l:template name="appendix" text="%t"/> |
-<l:template name="article/appendix" text="%t" lang="en"/> |
-<l:template name="bridgehead" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="sect1" text="%t"/> |
-<l:template name="sect2" text="%t"/> |
-<l:template name="sect3" text="%t"/> |
-<l:template name="sect4" text="%t"/> |
-<l:template name="sect5" text="%t"/> |
-<l:template name="section" text="%t"/> |
-<l:template name="simplesect" text="%t"/> |
-<l:template name="part" text="%t" lang="en"/> |
-</l:context> |
-<l:context name="title-numbered"><l:template name="appendix" text="附錄 %n. %t"/> |
-<l:template name="article/appendix" text="%n. %t" lang="en"/> |
-<l:template name="bridgehead" text="%t"/> |
-<l:template name="chapter" text="章 %n. %t"/> |
-<l:template name="part" text="部 %n. %t"/> |
-<l:template name="sect1" text="%n. %t"/> |
-<l:template name="sect2" text="%n. %t"/> |
-<l:template name="sect3" text="%n. %t"/> |
-<l:template name="sect4" text="%n. %t"/> |
-<l:template name="sect5" text="%n. %t"/> |
-<l:template name="section" text="%n. %t"/> |
-<l:template name="simplesect" text="%n. %t"/> |
-</l:context> |
-<l:context name="subtitle"><l:template name="appendix" text="%s"/> |
-<l:template name="article" text="%s"/> |
-<l:template name="bibliodiv" text="%s"/> |
-<l:template name="biblioentry" text="%s"/> |
-<l:template name="bibliography" text="%s"/> |
-<l:template name="bibliomixed" text="%s"/> |
-<l:template name="bibliomset" text="%s"/> |
-<l:template name="biblioset" text="%s"/> |
-<l:template name="book" text="%s"/> |
-<l:template name="chapter" text="%s"/> |
-<l:template name="colophon" text="%s"/> |
-<l:template name="dedication" text="%s"/> |
-<l:template name="glossary" text="%s"/> |
-<l:template name="glossdiv" text="%s"/> |
-<l:template name="index" text="%s"/> |
-<l:template name="indexdiv" text="%s"/> |
-<l:template name="lot" text="%s"/> |
-<l:template name="part" text="%s"/> |
-<l:template name="partintro" text="%s"/> |
-<l:template name="preface" text="%s"/> |
-<l:template name="refentry" text="%s"/> |
-<l:template name="reference" text="%s"/> |
-<l:template name="refsection" text="%s" lang="en"/> |
-<l:template name="refsect1" text="%s"/> |
-<l:template name="refsect2" text="%s"/> |
-<l:template name="refsect3" text="%s"/> |
-<l:template name="refsynopsisdiv" text="%s"/> |
-<l:template name="sect1" text="%s"/> |
-<l:template name="sect2" text="%s"/> |
-<l:template name="sect3" text="%s"/> |
-<l:template name="sect4" text="%s"/> |
-<l:template name="sect5" text="%s"/> |
-<l:template name="section" text="%s"/> |
-<l:template name="set" text="%s"/> |
-<l:template name="setindex" text="%s"/> |
-<l:template name="sidebar" text="%s"/> |
-<l:template name="simplesect" text="%s"/> |
-<l:template name="toc" text="%s"/> |
-</l:context> |
-<l:context name="xref"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="答: %n"/> |
-<l:template name="appendix" text="%t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="constraintdef" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="%t"/> |
-<l:template name="example" text="%t"/> |
-<l:template name="figure" text="%t"/> |
-<l:template name="foil" text="%t" lang="en"/> |
-<l:template name="foilgroup" text="%t" lang="en"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text="%n"/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="%t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="問: %n"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="問: %n"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="table" text="%t"/> |
-<l:template name="task" text="%t" lang="en"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text="%n"/> |
-<l:template name="warning" text="%t"/> |
-<l:template name="olink.document.citation" text=" in %o" lang="en"/> |
-<l:template name="olink.page.citation" text=" (page %p)" lang="en"/> |
-<l:template name="page.citation" text=" [%p]"/> |
-<l:template name="page" text="(page %p)" lang="en"/> |
-<l:template name="docname" text=" in %o" lang="en"/> |
-<l:template name="docnamelong" text=" in the document titled %o" lang="en"/> |
-<l:template name="pageabbrev" text="(p. %p)" lang="en"/> |
-<l:template name="Page" text="Page %p" lang="en"/> |
-<l:template name="bridgehead" text="“%t”"/> |
-<l:template name="refsection" text="“%t”"/> |
-<l:template name="refsect1" text="“%t”"/> |
-<l:template name="refsect2" text="“%t”"/> |
-<l:template name="refsect3" text="“%t”"/> |
-<l:template name="sect1" text="“%t”"/> |
-<l:template name="sect2" text="“%t”"/> |
-<l:template name="sect3" text="“%t”"/> |
-<l:template name="sect4" text="“%t”"/> |
-<l:template name="sect5" text="“%t”"/> |
-<l:template name="section" text="“%t”"/> |
-<l:template name="simplesect" text="“%t”"/> |
-</l:context> |
-<l:context name="xref-number"><l:template name="answer" text="答: %n"/> |
-<l:template name="appendix" text="附錄 %n"/> |
-<l:template name="bridgehead" text="節 %n"/> |
-<l:template name="chapter" text="章 %n"/> |
-<l:template name="equation" text="方程式 %n"/> |
-<l:template name="example" text="範例 %n"/> |
-<l:template name="figure" text="圖形 %n"/> |
-<l:template name="part" text="部 %n"/> |
-<l:template name="procedure" text="過程 %n"/> |
-<l:template name="productionset" text="Production %n"/> |
-<l:template name="qandadiv" text="問:且答: %n"/> |
-<l:template name="qandaentry" text="問: %n"/> |
-<l:template name="question" text="問: %n"/> |
-<l:template name="sect1" text="節 %n"/> |
-<l:template name="sect2" text="節 %n"/> |
-<l:template name="sect3" text="節 %n"/> |
-<l:template name="sect4" text="節 %n"/> |
-<l:template name="sect5" text="節 %n"/> |
-<l:template name="section" text="節 %n"/> |
-<l:template name="table" text="表格 %n"/> |
-</l:context> |
-<l:context name="xref-number-and-title"><l:template name="appendix" text="附錄 %n, %t"/> |
-<l:template name="bridgehead" text="節 %n, “%t”"/> |
-<l:template name="chapter" text="章 %n, %t"/> |
-<l:template name="equation" text="方程式 %n, “%t”"/> |
-<l:template name="example" text="範例 %n, “%t”"/> |
-<l:template name="figure" text="圖形 %n, “%t”"/> |
-<l:template name="part" text="部 %n, “%t”"/> |
-<l:template name="procedure" text="過程 %n, “%t”"/> |
-<l:template name="productionset" text="Production %n, “%t”"/> |
-<l:template name="qandadiv" text="問:且答: %n, “%t”"/> |
-<l:template name="refsect1" text="the section called “%t”"/> |
-<l:template name="refsect2" text="the section called “%t”"/> |
-<l:template name="refsect3" text="the section called “%t”"/> |
-<l:template name="refsection" text="the section called “%t”"/> |
-<l:template name="sect1" text="節 %n, “%t”"/> |
-<l:template name="sect2" text="節 %n, “%t”"/> |
-<l:template name="sect3" text="節 %n, “%t”"/> |
-<l:template name="sect4" text="節 %n, “%t”"/> |
-<l:template name="sect5" text="節 %n, “%t”"/> |
-<l:template name="section" text="節 %n, “%t”"/> |
-<l:template name="simplesect" text="the section called “%t”"/> |
-<l:template name="table" text="表格 %n, “%t”"/> |
-</l:context> |
-<l:context name="authorgroup"><l:template name="sep" text=", "/> |
-<l:template name="sep2" text=" 且 "/> |
-<l:template name="seplast" text=", 且 "/> |
-</l:context> |
-<l:context name="glossary"><l:template name="see" text="參見 %t"/> |
-<l:template name="seealso" text="另參見 %t"/> |
-</l:context> |
-<l:context name="msgset"><l:template name="MsgAud" text="讀者: "/> |
-<l:template name="MsgLevel" text="程度: "/> |
-<l:template name="MsgOrig" text="出處: "/> |
-</l:context> |
-<l:context name="datetime"><l:template name="format" text="m/d/Y" lang="en"/> |
-</l:context> |
-<l:context name="termdef"><l:template name="prefix" text="[Definition: " lang="en"/> |
-<l:template name="suffix" text="]" lang="en"/> |
-</l:context> |
-<l:context name="datetime-full"><l:template name="January" text="January" lang="en"/> |
-<l:template name="February" text="February" lang="en"/> |
-<l:template name="March" text="March" lang="en"/> |
-<l:template name="April" text="April" lang="en"/> |
-<l:template name="May" text="May" lang="en"/> |
-<l:template name="June" text="June" lang="en"/> |
-<l:template name="July" text="July" lang="en"/> |
-<l:template name="August" text="August" lang="en"/> |
-<l:template name="September" text="September" lang="en"/> |
-<l:template name="October" text="October" lang="en"/> |
-<l:template name="November" text="November" lang="en"/> |
-<l:template name="December" text="December" lang="en"/> |
-<l:template name="Monday" text="Monday" lang="en"/> |
-<l:template name="Tuesday" text="Tuesday" lang="en"/> |
-<l:template name="Wednesday" text="Wednesday" lang="en"/> |
-<l:template name="Thursday" text="Thursday" lang="en"/> |
-<l:template name="Friday" text="Friday" lang="en"/> |
-<l:template name="Saturday" text="Saturday" lang="en"/> |
-<l:template name="Sunday" text="Sunday" lang="en"/> |
-</l:context> |
-<l:context name="datetime-abbrev"><l:template name="Jan" text="Jan" lang="en"/> |
-<l:template name="Feb" text="Feb" lang="en"/> |
-<l:template name="Mar" text="Mar" lang="en"/> |
-<l:template name="Apr" text="Apr" lang="en"/> |
-<l:template name="May" text="May" lang="en"/> |
-<l:template name="Jun" text="Jun" lang="en"/> |
-<l:template name="Jul" text="Jul" lang="en"/> |
-<l:template name="Aug" text="Aug" lang="en"/> |
-<l:template name="Sep" text="Sep" lang="en"/> |
-<l:template name="Oct" text="Oct" lang="en"/> |
-<l:template name="Nov" text="Nov" lang="en"/> |
-<l:template name="Dec" text="Dec" lang="en"/> |
-<l:template name="Mon" text="Mon" lang="en"/> |
-<l:template name="Tue" text="Tue" lang="en"/> |
-<l:template name="Wed" text="Wed" lang="en"/> |
-<l:template name="Thu" text="Thu" lang="en"/> |
-<l:template name="Fri" text="Fri" lang="en"/> |
-<l:template name="Sat" text="Sat" lang="en"/> |
-<l:template name="Sun" text="Sun" lang="en"/> |
-</l:context> |
-<l:context name="htmlhelp"><l:template name="langcode" text="0x0404 Chinese (TAIWAN)"/> |
-</l:context> |
-<l:context name="index"><l:template name="term-separator" text=", " lang="en"/> |
-<l:template name="number-separator" text=", " lang="en"/> |
-<l:template name="range-separator" text="-" lang="en"/> |
-</l:context> |
-<l:context name="iso690"><l:template name="lastfirst.sep" text=", " lang="en"/> |
-<l:template name="alt.person.two.sep" text=" – " lang="en"/> |
-<l:template name="alt.person.last.sep" text=" – " lang="en"/> |
-<l:template name="alt.person.more.sep" text=" – " lang="en"/> |
-<l:template name="primary.editor" text=" (ed.)" lang="en"/> |
-<l:template name="primary.many" text=", et al." lang="en"/> |
-<l:template name="primary.sep" text=". " lang="en"/> |
-<l:template name="submaintitle.sep" text=": " lang="en"/> |
-<l:template name="title.sep" text=". " lang="en"/> |
-<l:template name="othertitle.sep" text=", " lang="en"/> |
-<l:template name="medium1" text=" [" lang="en"/> |
-<l:template name="medium2" text="]" lang="en"/> |
-<l:template name="secondary.person.sep" text="; " lang="en"/> |
-<l:template name="secondary.sep" text=". " lang="en"/> |
-<l:template name="respons.sep" text=". " lang="en"/> |
-<l:template name="edition.sep" text=". " lang="en"/> |
-<l:template name="edition.serial.sep" text=", " lang="en"/> |
-<l:template name="issuing.range" text="-" lang="en"/> |
-<l:template name="issuing.div" text=", " lang="en"/> |
-<l:template name="issuing.sep" text=". " lang="en"/> |
-<l:template name="partnr.sep" text=". " lang="en"/> |
-<l:template name="placepubl.sep" text=": " lang="en"/> |
-<l:template name="publyear.sep" text=", " lang="en"/> |
-<l:template name="pubinfo.sep" text=". " lang="en"/> |
-<l:template name="spec.pubinfo.sep" text=", " lang="en"/> |
-<l:template name="upd.sep" text=", " lang="en"/> |
-<l:template name="datecit1" text=" [cited " lang="en"/> |
-<l:template name="datecit2" text="]" lang="en"/> |
-<l:template name="extent.sep" text=". " lang="en"/> |
-<l:template name="locs.sep" text=", " lang="en"/> |
-<l:template name="location.sep" text=". " lang="en"/> |
-<l:template name="serie.sep" text=". " lang="en"/> |
-<l:template name="notice.sep" text=". " lang="en"/> |
-<l:template name="access" text="Available " lang="en"/> |
-<l:template name="acctoo" text="Also available " lang="en"/> |
-<l:template name="onwww" text="from World Wide Web" lang="en"/> |
-<l:template name="oninet" text="from Internet" lang="en"/> |
-<l:template name="access.end" text=": " lang="en"/> |
-<l:template name="link1" text="<" lang="en"/> |
-<l:template name="link2" text=">" lang="en"/> |
-<l:template name="access.sep" text=". " lang="en"/> |
-<l:template name="isbn" text="ISBN " lang="en"/> |
-<l:template name="issn" text="ISSN " lang="en"/> |
-<l:template name="stdnum.sep" text=". " lang="en"/> |
-<l:template name="patcountry.sep" text=". " lang="en"/> |
-<l:template name="pattype.sep" text=", " lang="en"/> |
-<l:template name="patnum.sep" text=". " lang="en"/> |
-<l:template name="patdate.sep" text=". " lang="en"/> |
-</l:context><l:letters lang="en"><l:l i="-1"/> |
-<l:l i="0">Symbols</l:l> |
-<l:l i="10">A</l:l> |
-<l:l i="10">a</l:l> |
-<l:l i="10">À</l:l> |
-<l:l i="10">à</l:l> |
-<l:l i="10">Á</l:l> |
-<l:l i="10">á</l:l> |
-<l:l i="10">Â</l:l> |
-<l:l i="10">â</l:l> |
-<l:l i="10">Ã</l:l> |
-<l:l i="10">ã</l:l> |
-<l:l i="10">Ä</l:l> |
-<l:l i="10">ä</l:l> |
-<l:l i="10">Å</l:l> |
-<l:l i="10">å</l:l> |
-<l:l i="10">Ā</l:l> |
-<l:l i="10">ā</l:l> |
-<l:l i="10">Ă</l:l> |
-<l:l i="10">ă</l:l> |
-<l:l i="10">Ą</l:l> |
-<l:l i="10">ą</l:l> |
-<l:l i="10">Ǎ</l:l> |
-<l:l i="10">ǎ</l:l> |
-<l:l i="10">Ǟ</l:l> |
-<l:l i="10">ǟ</l:l> |
-<l:l i="10">Ǡ</l:l> |
-<l:l i="10">ǡ</l:l> |
-<l:l i="10">Ǻ</l:l> |
-<l:l i="10">ǻ</l:l> |
-<l:l i="10">Ȁ</l:l> |
-<l:l i="10">ȁ</l:l> |
-<l:l i="10">Ȃ</l:l> |
-<l:l i="10">ȃ</l:l> |
-<l:l i="10">Ȧ</l:l> |
-<l:l i="10">ȧ</l:l> |
-<l:l i="10">Ḁ</l:l> |
-<l:l i="10">ḁ</l:l> |
-<l:l i="10">ẚ</l:l> |
-<l:l i="10">Ạ</l:l> |
-<l:l i="10">ạ</l:l> |
-<l:l i="10">Ả</l:l> |
-<l:l i="10">ả</l:l> |
-<l:l i="10">Ấ</l:l> |
-<l:l i="10">ấ</l:l> |
-<l:l i="10">Ầ</l:l> |
-<l:l i="10">ầ</l:l> |
-<l:l i="10">Ẩ</l:l> |
-<l:l i="10">ẩ</l:l> |
-<l:l i="10">Ẫ</l:l> |
-<l:l i="10">ẫ</l:l> |
-<l:l i="10">Ậ</l:l> |
-<l:l i="10">ậ</l:l> |
-<l:l i="10">Ắ</l:l> |
-<l:l i="10">ắ</l:l> |
-<l:l i="10">Ằ</l:l> |
-<l:l i="10">ằ</l:l> |
-<l:l i="10">Ẳ</l:l> |
-<l:l i="10">ẳ</l:l> |
-<l:l i="10">Ẵ</l:l> |
-<l:l i="10">ẵ</l:l> |
-<l:l i="10">Ặ</l:l> |
-<l:l i="10">ặ</l:l> |
-<l:l i="20">B</l:l> |
-<l:l i="20">b</l:l> |
-<l:l i="20">ƀ</l:l> |
-<l:l i="20">Ɓ</l:l> |
-<l:l i="20">ɓ</l:l> |
-<l:l i="20">Ƃ</l:l> |
-<l:l i="20">ƃ</l:l> |
-<l:l i="20">Ḃ</l:l> |
-<l:l i="20">ḃ</l:l> |
-<l:l i="20">Ḅ</l:l> |
-<l:l i="20">ḅ</l:l> |
-<l:l i="20">Ḇ</l:l> |
-<l:l i="20">ḇ</l:l> |
-<l:l i="30">C</l:l> |
-<l:l i="30">c</l:l> |
-<l:l i="30">Ç</l:l> |
-<l:l i="30">ç</l:l> |
-<l:l i="30">Ć</l:l> |
-<l:l i="30">ć</l:l> |
-<l:l i="30">Ĉ</l:l> |
-<l:l i="30">ĉ</l:l> |
-<l:l i="30">Ċ</l:l> |
-<l:l i="30">ċ</l:l> |
-<l:l i="30">Č</l:l> |
-<l:l i="30">č</l:l> |
-<l:l i="30">Ƈ</l:l> |
-<l:l i="30">ƈ</l:l> |
-<l:l i="30">ɕ</l:l> |
-<l:l i="30">Ḉ</l:l> |
-<l:l i="30">ḉ</l:l> |
-<l:l i="40">D</l:l> |
-<l:l i="40">d</l:l> |
-<l:l i="40">Ď</l:l> |
-<l:l i="40">ď</l:l> |
-<l:l i="40">Đ</l:l> |
-<l:l i="40">đ</l:l> |
-<l:l i="40">Ɗ</l:l> |
-<l:l i="40">ɗ</l:l> |
-<l:l i="40">Ƌ</l:l> |
-<l:l i="40">ƌ</l:l> |
-<l:l i="40">Dž</l:l> |
-<l:l i="40">Dz</l:l> |
-<l:l i="40">ȡ</l:l> |
-<l:l i="40">ɖ</l:l> |
-<l:l i="40">Ḋ</l:l> |
-<l:l i="40">ḋ</l:l> |
-<l:l i="40">Ḍ</l:l> |
-<l:l i="40">ḍ</l:l> |
-<l:l i="40">Ḏ</l:l> |
-<l:l i="40">ḏ</l:l> |
-<l:l i="40">Ḑ</l:l> |
-<l:l i="40">ḑ</l:l> |
-<l:l i="40">Ḓ</l:l> |
-<l:l i="40">ḓ</l:l> |
-<l:l i="50">E</l:l> |
-<l:l i="50">e</l:l> |
-<l:l i="50">È</l:l> |
-<l:l i="50">è</l:l> |
-<l:l i="50">É</l:l> |
-<l:l i="50">é</l:l> |
-<l:l i="50">Ê</l:l> |
-<l:l i="50">ê</l:l> |
-<l:l i="50">Ë</l:l> |
-<l:l i="50">ë</l:l> |
-<l:l i="50">Ē</l:l> |
-<l:l i="50">ē</l:l> |
-<l:l i="50">Ĕ</l:l> |
-<l:l i="50">ĕ</l:l> |
-<l:l i="50">Ė</l:l> |
-<l:l i="50">ė</l:l> |
-<l:l i="50">Ę</l:l> |
-<l:l i="50">ę</l:l> |
-<l:l i="50">Ě</l:l> |
-<l:l i="50">ě</l:l> |
-<l:l i="50">Ȅ</l:l> |
-<l:l i="50">ȅ</l:l> |
-<l:l i="50">Ȇ</l:l> |
-<l:l i="50">ȇ</l:l> |
-<l:l i="50">Ȩ</l:l> |
-<l:l i="50">ȩ</l:l> |
-<l:l i="50">Ḕ</l:l> |
-<l:l i="50">ḕ</l:l> |
-<l:l i="50">Ḗ</l:l> |
-<l:l i="50">ḗ</l:l> |
-<l:l i="50">Ḙ</l:l> |
-<l:l i="50">ḙ</l:l> |
-<l:l i="50">Ḛ</l:l> |
-<l:l i="50">ḛ</l:l> |
-<l:l i="50">Ḝ</l:l> |
-<l:l i="50">ḝ</l:l> |
-<l:l i="50">Ẹ</l:l> |
-<l:l i="50">ẹ</l:l> |
-<l:l i="50">Ẻ</l:l> |
-<l:l i="50">ẻ</l:l> |
-<l:l i="50">Ẽ</l:l> |
-<l:l i="50">ẽ</l:l> |
-<l:l i="50">Ế</l:l> |
-<l:l i="50">ế</l:l> |
-<l:l i="50">Ề</l:l> |
-<l:l i="50">ề</l:l> |
-<l:l i="50">Ể</l:l> |
-<l:l i="50">ể</l:l> |
-<l:l i="50">Ễ</l:l> |
-<l:l i="50">ễ</l:l> |
-<l:l i="50">Ệ</l:l> |
-<l:l i="50">ệ</l:l> |
-<l:l i="60">F</l:l> |
-<l:l i="60">f</l:l> |
-<l:l i="60">Ƒ</l:l> |
-<l:l i="60">ƒ</l:l> |
-<l:l i="60">Ḟ</l:l> |
-<l:l i="60">ḟ</l:l> |
-<l:l i="70">G</l:l> |
-<l:l i="70">g</l:l> |
-<l:l i="70">Ĝ</l:l> |
-<l:l i="70">ĝ</l:l> |
-<l:l i="70">Ğ</l:l> |
-<l:l i="70">ğ</l:l> |
-<l:l i="70">Ġ</l:l> |
-<l:l i="70">ġ</l:l> |
-<l:l i="70">Ģ</l:l> |
-<l:l i="70">ģ</l:l> |
-<l:l i="70">Ɠ</l:l> |
-<l:l i="70">ɠ</l:l> |
-<l:l i="70">Ǥ</l:l> |
-<l:l i="70">ǥ</l:l> |
-<l:l i="70">Ǧ</l:l> |
-<l:l i="70">ǧ</l:l> |
-<l:l i="70">Ǵ</l:l> |
-<l:l i="70">ǵ</l:l> |
-<l:l i="70">Ḡ</l:l> |
-<l:l i="70">ḡ</l:l> |
-<l:l i="80">H</l:l> |
-<l:l i="80">h</l:l> |
-<l:l i="80">Ĥ</l:l> |
-<l:l i="80">ĥ</l:l> |
-<l:l i="80">Ħ</l:l> |
-<l:l i="80">ħ</l:l> |
-<l:l i="80">Ȟ</l:l> |
-<l:l i="80">ȟ</l:l> |
-<l:l i="80">ɦ</l:l> |
-<l:l i="80">Ḣ</l:l> |
-<l:l i="80">ḣ</l:l> |
-<l:l i="80">Ḥ</l:l> |
-<l:l i="80">ḥ</l:l> |
-<l:l i="80">Ḧ</l:l> |
-<l:l i="80">ḧ</l:l> |
-<l:l i="80">Ḩ</l:l> |
-<l:l i="80">ḩ</l:l> |
-<l:l i="80">Ḫ</l:l> |
-<l:l i="80">ḫ</l:l> |
-<l:l i="80">ẖ</l:l> |
-<l:l i="90">I</l:l> |
-<l:l i="90">i</l:l> |
-<l:l i="90">Ì</l:l> |
-<l:l i="90">ì</l:l> |
-<l:l i="90">Í</l:l> |
-<l:l i="90">í</l:l> |
-<l:l i="90">Î</l:l> |
-<l:l i="90">î</l:l> |
-<l:l i="90">Ï</l:l> |
-<l:l i="90">ï</l:l> |
-<l:l i="90">Ĩ</l:l> |
-<l:l i="90">ĩ</l:l> |
-<l:l i="90">Ī</l:l> |
-<l:l i="90">ī</l:l> |
-<l:l i="90">Ĭ</l:l> |
-<l:l i="90">ĭ</l:l> |
-<l:l i="90">Į</l:l> |
-<l:l i="90">į</l:l> |
-<l:l i="90">İ</l:l> |
-<l:l i="90">Ɨ</l:l> |
-<l:l i="90">ɨ</l:l> |
-<l:l i="90">Ǐ</l:l> |
-<l:l i="90">ǐ</l:l> |
-<l:l i="90">Ȉ</l:l> |
-<l:l i="90">ȉ</l:l> |
-<l:l i="90">Ȋ</l:l> |
-<l:l i="90">ȋ</l:l> |
-<l:l i="90">Ḭ</l:l> |
-<l:l i="90">ḭ</l:l> |
-<l:l i="90">Ḯ</l:l> |
-<l:l i="90">ḯ</l:l> |
-<l:l i="90">Ỉ</l:l> |
-<l:l i="90">ỉ</l:l> |
-<l:l i="90">Ị</l:l> |
-<l:l i="90">ị</l:l> |
-<l:l i="100">J</l:l> |
-<l:l i="100">j</l:l> |
-<l:l i="100">Ĵ</l:l> |
-<l:l i="100">ĵ</l:l> |
-<l:l i="100">ǰ</l:l> |
-<l:l i="100">ʝ</l:l> |
-<l:l i="110">K</l:l> |
-<l:l i="110">k</l:l> |
-<l:l i="110">Ķ</l:l> |
-<l:l i="110">ķ</l:l> |
-<l:l i="110">Ƙ</l:l> |
-<l:l i="110">ƙ</l:l> |
-<l:l i="110">Ǩ</l:l> |
-<l:l i="110">ǩ</l:l> |
-<l:l i="110">Ḱ</l:l> |
-<l:l i="110">ḱ</l:l> |
-<l:l i="110">Ḳ</l:l> |
-<l:l i="110">ḳ</l:l> |
-<l:l i="110">Ḵ</l:l> |
-<l:l i="110">ḵ</l:l> |
-<l:l i="120">L</l:l> |
-<l:l i="120">l</l:l> |
-<l:l i="120">Ĺ</l:l> |
-<l:l i="120">ĺ</l:l> |
-<l:l i="120">Ļ</l:l> |
-<l:l i="120">ļ</l:l> |
-<l:l i="120">Ľ</l:l> |
-<l:l i="120">ľ</l:l> |
-<l:l i="120">Ŀ</l:l> |
-<l:l i="120">ŀ</l:l> |
-<l:l i="120">Ł</l:l> |
-<l:l i="120">ł</l:l> |
-<l:l i="120">ƚ</l:l> |
-<l:l i="120">Lj</l:l> |
-<l:l i="120">ȴ</l:l> |
-<l:l i="120">ɫ</l:l> |
-<l:l i="120">ɬ</l:l> |
-<l:l i="120">ɭ</l:l> |
-<l:l i="120">Ḷ</l:l> |
-<l:l i="120">ḷ</l:l> |
-<l:l i="120">Ḹ</l:l> |
-<l:l i="120">ḹ</l:l> |
-<l:l i="120">Ḻ</l:l> |
-<l:l i="120">ḻ</l:l> |
-<l:l i="120">Ḽ</l:l> |
-<l:l i="120">ḽ</l:l> |
-<l:l i="130">M</l:l> |
-<l:l i="130">m</l:l> |
-<l:l i="130">ɱ</l:l> |
-<l:l i="130">Ḿ</l:l> |
-<l:l i="130">ḿ</l:l> |
-<l:l i="130">Ṁ</l:l> |
-<l:l i="130">ṁ</l:l> |
-<l:l i="130">Ṃ</l:l> |
-<l:l i="130">ṃ</l:l> |
-<l:l i="140">N</l:l> |
-<l:l i="140">n</l:l> |
-<l:l i="140">Ñ</l:l> |
-<l:l i="140">ñ</l:l> |
-<l:l i="140">Ń</l:l> |
-<l:l i="140">ń</l:l> |
-<l:l i="140">Ņ</l:l> |
-<l:l i="140">ņ</l:l> |
-<l:l i="140">Ň</l:l> |
-<l:l i="140">ň</l:l> |
-<l:l i="140">Ɲ</l:l> |
-<l:l i="140">ɲ</l:l> |
-<l:l i="140">ƞ</l:l> |
-<l:l i="140">Ƞ</l:l> |
-<l:l i="140">Nj</l:l> |
-<l:l i="140">Ǹ</l:l> |
-<l:l i="140">ǹ</l:l> |
-<l:l i="140">ȵ</l:l> |
-<l:l i="140">ɳ</l:l> |
-<l:l i="140">Ṅ</l:l> |
-<l:l i="140">ṅ</l:l> |
-<l:l i="140">Ṇ</l:l> |
-<l:l i="140">ṇ</l:l> |
-<l:l i="140">Ṉ</l:l> |
-<l:l i="140">ṉ</l:l> |
-<l:l i="140">Ṋ</l:l> |
-<l:l i="140">ṋ</l:l> |
-<l:l i="150">O</l:l> |
-<l:l i="150">o</l:l> |
-<l:l i="150">Ò</l:l> |
-<l:l i="150">ò</l:l> |
-<l:l i="150">Ó</l:l> |
-<l:l i="150">ó</l:l> |
-<l:l i="150">Ô</l:l> |
-<l:l i="150">ô</l:l> |
-<l:l i="150">Õ</l:l> |
-<l:l i="150">õ</l:l> |
-<l:l i="150">Ö</l:l> |
-<l:l i="150">ö</l:l> |
-<l:l i="150">Ø</l:l> |
-<l:l i="150">ø</l:l> |
-<l:l i="150">Ō</l:l> |
-<l:l i="150">ō</l:l> |
-<l:l i="150">Ŏ</l:l> |
-<l:l i="150">ŏ</l:l> |
-<l:l i="150">Ő</l:l> |
-<l:l i="150">ő</l:l> |
-<l:l i="150">Ɵ</l:l> |
-<l:l i="150">Ơ</l:l> |
-<l:l i="150">ơ</l:l> |
-<l:l i="150">Ǒ</l:l> |
-<l:l i="150">ǒ</l:l> |
-<l:l i="150">Ǫ</l:l> |
-<l:l i="150">ǫ</l:l> |
-<l:l i="150">Ǭ</l:l> |
-<l:l i="150">ǭ</l:l> |
-<l:l i="150">Ǿ</l:l> |
-<l:l i="150">ǿ</l:l> |
-<l:l i="150">Ȍ</l:l> |
-<l:l i="150">ȍ</l:l> |
-<l:l i="150">Ȏ</l:l> |
-<l:l i="150">ȏ</l:l> |
-<l:l i="150">Ȫ</l:l> |
-<l:l i="150">ȫ</l:l> |
-<l:l i="150">Ȭ</l:l> |
-<l:l i="150">ȭ</l:l> |
-<l:l i="150">Ȯ</l:l> |
-<l:l i="150">ȯ</l:l> |
-<l:l i="150">Ȱ</l:l> |
-<l:l i="150">ȱ</l:l> |
-<l:l i="150">Ṍ</l:l> |
-<l:l i="150">ṍ</l:l> |
-<l:l i="150">Ṏ</l:l> |
-<l:l i="150">ṏ</l:l> |
-<l:l i="150">Ṑ</l:l> |
-<l:l i="150">ṑ</l:l> |
-<l:l i="150">Ṓ</l:l> |
-<l:l i="150">ṓ</l:l> |
-<l:l i="150">Ọ</l:l> |
-<l:l i="150">ọ</l:l> |
-<l:l i="150">Ỏ</l:l> |
-<l:l i="150">ỏ</l:l> |
-<l:l i="150">Ố</l:l> |
-<l:l i="150">ố</l:l> |
-<l:l i="150">Ồ</l:l> |
-<l:l i="150">ồ</l:l> |
-<l:l i="150">Ổ</l:l> |
-<l:l i="150">ổ</l:l> |
-<l:l i="150">Ỗ</l:l> |
-<l:l i="150">ỗ</l:l> |
-<l:l i="150">Ộ</l:l> |
-<l:l i="150">ộ</l:l> |
-<l:l i="150">Ớ</l:l> |
-<l:l i="150">ớ</l:l> |
-<l:l i="150">Ờ</l:l> |
-<l:l i="150">ờ</l:l> |
-<l:l i="150">Ở</l:l> |
-<l:l i="150">ở</l:l> |
-<l:l i="150">Ỡ</l:l> |
-<l:l i="150">ỡ</l:l> |
-<l:l i="150">Ợ</l:l> |
-<l:l i="150">ợ</l:l> |
-<l:l i="160">P</l:l> |
-<l:l i="160">p</l:l> |
-<l:l i="160">Ƥ</l:l> |
-<l:l i="160">ƥ</l:l> |
-<l:l i="160">Ṕ</l:l> |
-<l:l i="160">ṕ</l:l> |
-<l:l i="160">Ṗ</l:l> |
-<l:l i="160">ṗ</l:l> |
-<l:l i="170">Q</l:l> |
-<l:l i="170">q</l:l> |
-<l:l i="170">ʠ</l:l> |
-<l:l i="180">R</l:l> |
-<l:l i="180">r</l:l> |
-<l:l i="180">Ŕ</l:l> |
-<l:l i="180">ŕ</l:l> |
-<l:l i="180">Ŗ</l:l> |
-<l:l i="180">ŗ</l:l> |
-<l:l i="180">Ř</l:l> |
-<l:l i="180">ř</l:l> |
-<l:l i="180">Ȑ</l:l> |
-<l:l i="180">ȑ</l:l> |
-<l:l i="180">Ȓ</l:l> |
-<l:l i="180">ȓ</l:l> |
-<l:l i="180">ɼ</l:l> |
-<l:l i="180">ɽ</l:l> |
-<l:l i="180">ɾ</l:l> |
-<l:l i="180">Ṙ</l:l> |
-<l:l i="180">ṙ</l:l> |
-<l:l i="180">Ṛ</l:l> |
-<l:l i="180">ṛ</l:l> |
-<l:l i="180">Ṝ</l:l> |
-<l:l i="180">ṝ</l:l> |
-<l:l i="180">Ṟ</l:l> |
-<l:l i="180">ṟ</l:l> |
-<l:l i="190">S</l:l> |
-<l:l i="190">s</l:l> |
-<l:l i="190">Ś</l:l> |
-<l:l i="190">ś</l:l> |
-<l:l i="190">Ŝ</l:l> |
-<l:l i="190">ŝ</l:l> |
-<l:l i="190">Ş</l:l> |
-<l:l i="190">ş</l:l> |
-<l:l i="190">Š</l:l> |
-<l:l i="190">š</l:l> |
-<l:l i="190">Ș</l:l> |
-<l:l i="190">ș</l:l> |
-<l:l i="190">ʂ</l:l> |
-<l:l i="190">Ṡ</l:l> |
-<l:l i="190">ṡ</l:l> |
-<l:l i="190">Ṣ</l:l> |
-<l:l i="190">ṣ</l:l> |
-<l:l i="190">Ṥ</l:l> |
-<l:l i="190">ṥ</l:l> |
-<l:l i="190">Ṧ</l:l> |
-<l:l i="190">ṧ</l:l> |
-<l:l i="190">Ṩ</l:l> |
-<l:l i="190">ṩ</l:l> |
-<l:l i="200">T</l:l> |
-<l:l i="200">t</l:l> |
-<l:l i="200">Ţ</l:l> |
-<l:l i="200">ţ</l:l> |
-<l:l i="200">Ť</l:l> |
-<l:l i="200">ť</l:l> |
-<l:l i="200">Ŧ</l:l> |
-<l:l i="200">ŧ</l:l> |
-<l:l i="200">ƫ</l:l> |
-<l:l i="200">Ƭ</l:l> |
-<l:l i="200">ƭ</l:l> |
-<l:l i="200">Ʈ</l:l> |
-<l:l i="200">ʈ</l:l> |
-<l:l i="200">Ț</l:l> |
-<l:l i="200">ț</l:l> |
-<l:l i="200">ȶ</l:l> |
-<l:l i="200">Ṫ</l:l> |
-<l:l i="200">ṫ</l:l> |
-<l:l i="200">Ṭ</l:l> |
-<l:l i="200">ṭ</l:l> |
-<l:l i="200">Ṯ</l:l> |
-<l:l i="200">ṯ</l:l> |
-<l:l i="200">Ṱ</l:l> |
-<l:l i="200">ṱ</l:l> |
-<l:l i="200">ẗ</l:l> |
-<l:l i="210">U</l:l> |
-<l:l i="210">u</l:l> |
-<l:l i="210">Ù</l:l> |
-<l:l i="210">ù</l:l> |
-<l:l i="210">Ú</l:l> |
-<l:l i="210">ú</l:l> |
-<l:l i="210">Û</l:l> |
-<l:l i="210">û</l:l> |
-<l:l i="210">Ü</l:l> |
-<l:l i="210">ü</l:l> |
-<l:l i="210">Ũ</l:l> |
-<l:l i="210">ũ</l:l> |
-<l:l i="210">Ū</l:l> |
-<l:l i="210">ū</l:l> |
-<l:l i="210">Ŭ</l:l> |
-<l:l i="210">ŭ</l:l> |
-<l:l i="210">Ů</l:l> |
-<l:l i="210">ů</l:l> |
-<l:l i="210">Ű</l:l> |
-<l:l i="210">ű</l:l> |
-<l:l i="210">Ų</l:l> |
-<l:l i="210">ų</l:l> |
-<l:l i="210">Ư</l:l> |
-<l:l i="210">ư</l:l> |
-<l:l i="210">Ǔ</l:l> |
-<l:l i="210">ǔ</l:l> |
-<l:l i="210">Ǖ</l:l> |
-<l:l i="210">ǖ</l:l> |
-<l:l i="210">Ǘ</l:l> |
-<l:l i="210">ǘ</l:l> |
-<l:l i="210">Ǚ</l:l> |
-<l:l i="210">ǚ</l:l> |
-<l:l i="210">Ǜ</l:l> |
-<l:l i="210">ǜ</l:l> |
-<l:l i="210">Ȕ</l:l> |
-<l:l i="210">ȕ</l:l> |
-<l:l i="210">Ȗ</l:l> |
-<l:l i="210">ȗ</l:l> |
-<l:l i="210">Ṳ</l:l> |
-<l:l i="210">ṳ</l:l> |
-<l:l i="210">Ṵ</l:l> |
-<l:l i="210">ṵ</l:l> |
-<l:l i="210">Ṷ</l:l> |
-<l:l i="210">ṷ</l:l> |
-<l:l i="210">Ṹ</l:l> |
-<l:l i="210">ṹ</l:l> |
-<l:l i="210">Ṻ</l:l> |
-<l:l i="210">ṻ</l:l> |
-<l:l i="210">Ụ</l:l> |
-<l:l i="210">ụ</l:l> |
-<l:l i="210">Ủ</l:l> |
-<l:l i="210">ủ</l:l> |
-<l:l i="210">Ứ</l:l> |
-<l:l i="210">ứ</l:l> |
-<l:l i="210">Ừ</l:l> |
-<l:l i="210">ừ</l:l> |
-<l:l i="210">Ử</l:l> |
-<l:l i="210">ử</l:l> |
-<l:l i="210">Ữ</l:l> |
-<l:l i="210">ữ</l:l> |
-<l:l i="210">Ự</l:l> |
-<l:l i="210">ự</l:l> |
-<l:l i="220">V</l:l> |
-<l:l i="220">v</l:l> |
-<l:l i="220">Ʋ</l:l> |
-<l:l i="220">ʋ</l:l> |
-<l:l i="220">Ṽ</l:l> |
-<l:l i="220">ṽ</l:l> |
-<l:l i="220">Ṿ</l:l> |
-<l:l i="220">ṿ</l:l> |
-<l:l i="230">W</l:l> |
-<l:l i="230">w</l:l> |
-<l:l i="230">Ŵ</l:l> |
-<l:l i="230">ŵ</l:l> |
-<l:l i="230">Ẁ</l:l> |
-<l:l i="230">ẁ</l:l> |
-<l:l i="230">Ẃ</l:l> |
-<l:l i="230">ẃ</l:l> |
-<l:l i="230">Ẅ</l:l> |
-<l:l i="230">ẅ</l:l> |
-<l:l i="230">Ẇ</l:l> |
-<l:l i="230">ẇ</l:l> |
-<l:l i="230">Ẉ</l:l> |
-<l:l i="230">ẉ</l:l> |
-<l:l i="230">ẘ</l:l> |
-<l:l i="240">X</l:l> |
-<l:l i="240">x</l:l> |
-<l:l i="240">Ẋ</l:l> |
-<l:l i="240">ẋ</l:l> |
-<l:l i="240">Ẍ</l:l> |
-<l:l i="240">ẍ</l:l> |
-<l:l i="250">Y</l:l> |
-<l:l i="250">y</l:l> |
-<l:l i="250">Ý</l:l> |
-<l:l i="250">ý</l:l> |
-<l:l i="250">ÿ</l:l> |
-<l:l i="250">Ÿ</l:l> |
-<l:l i="250">Ŷ</l:l> |
-<l:l i="250">ŷ</l:l> |
-<l:l i="250">Ƴ</l:l> |
-<l:l i="250">ƴ</l:l> |
-<l:l i="250">Ȳ</l:l> |
-<l:l i="250">ȳ</l:l> |
-<l:l i="250">Ẏ</l:l> |
-<l:l i="250">ẏ</l:l> |
-<l:l i="250">ẙ</l:l> |
-<l:l i="250">Ỳ</l:l> |
-<l:l i="250">ỳ</l:l> |
-<l:l i="250">Ỵ</l:l> |
-<l:l i="250">ỵ</l:l> |
-<l:l i="250">Ỷ</l:l> |
-<l:l i="250">ỷ</l:l> |
-<l:l i="250">Ỹ</l:l> |
-<l:l i="250">ỹ</l:l> |
-<l:l i="260">Z</l:l> |
-<l:l i="260">z</l:l> |
-<l:l i="260">Ź</l:l> |
-<l:l i="260">ź</l:l> |
-<l:l i="260">Ż</l:l> |
-<l:l i="260">ż</l:l> |
-<l:l i="260">Ž</l:l> |
-<l:l i="260">ž</l:l> |
-<l:l i="260">Ƶ</l:l> |
-<l:l i="260">ƶ</l:l> |
-<l:l i="260">Ȥ</l:l> |
-<l:l i="260">ȥ</l:l> |
-<l:l i="260">ʐ</l:l> |
-<l:l i="260">ʑ</l:l> |
-<l:l i="260">Ẑ</l:l> |
-<l:l i="260">ẑ</l:l> |
-<l:l i="260">Ẓ</l:l> |
-<l:l i="260">ẓ</l:l> |
-<l:l i="260">Ẕ</l:l> |
-<l:l i="260">ẕ</l:l> |
-</l:letters> |
-</l:l10n> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl (nonexistent) |
@@ -1,514 +0,0 @@ |
-<?xml version="1.0"?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- exclude-result-prefixes="doc" |
- version="1.0"> |
- |
-<!-- ******************************************************************** |
- $Id: table.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<!-- ==================================================================== --> |
- |
-<xsl:template name="blank.spans"> |
- <xsl:param name="cols" select="1"/> |
- <xsl:if test="$cols > 0"> |
- <xsl:text>0:</xsl:text> |
- <xsl:call-template name="blank.spans"> |
- <xsl:with-param name="cols" select="$cols - 1"/> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
- |
-<xsl:template name="calculate.following.spans"> |
- <xsl:param name="colspan" select="1"/> |
- <xsl:param name="spans" select="''"/> |
- |
- <xsl:choose> |
- <xsl:when test="$colspan > 0"> |
- <xsl:call-template name="calculate.following.spans"> |
- <xsl:with-param name="colspan" select="$colspan - 1"/> |
- <xsl:with-param name="spans" select="substring-after($spans,':')"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$spans"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="finaltd"> |
- <xsl:param name="spans"/> |
- <xsl:param name="col" select="0"/> |
- |
- <xsl:if test="$spans != ''"> |
- <xsl:choose> |
- <xsl:when test="starts-with($spans,'0:')"> |
- <xsl:call-template name="empty.table.cell"> |
- <xsl:with-param name="colnum" select="$col"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise></xsl:otherwise> |
- </xsl:choose> |
- |
- <xsl:call-template name="finaltd"> |
- <xsl:with-param name="spans" select="substring-after($spans,':')"/> |
- <xsl:with-param name="col" select="$col+1"/> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
- |
-<xsl:template name="sfinaltd"> |
- <xsl:param name="spans"/> |
- |
- <xsl:if test="$spans != ''"> |
- <xsl:choose> |
- <xsl:when test="starts-with($spans,'0:')">0:</xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="substring-before($spans,':')-1"/> |
- <xsl:text>:</xsl:text> |
- </xsl:otherwise> |
- </xsl:choose> |
- |
- <xsl:call-template name="sfinaltd"> |
- <xsl:with-param name="spans" select="substring-after($spans,':')"/> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
- |
-<xsl:template name="entry.colnum"> |
- <xsl:param name="entry" select="."/> |
- |
- <xsl:choose> |
- <xsl:when test="$entry/@spanname"> |
- <xsl:variable name="spanname" select="$entry/@spanname"/> |
- <xsl:variable name="spanspec" |
- select="($entry/ancestor::tgroup/spanspec[@spanname=$spanname] |
- |$entry/ancestor::entrytbl/spanspec[@spanname=$spanname])[last()]"/> |
- <xsl:variable name="colspec" |
- select="($entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest] |
- |$entry/ancestor::entrytbl/colspec[@colname=$spanspec/@namest])[last()]"/> |
- <xsl:call-template name="colspec.colnum"> |
- <xsl:with-param name="colspec" select="$colspec"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$entry/@colname"> |
- <xsl:variable name="colname" select="$entry/@colname"/> |
- <xsl:variable name="colspec" |
- select="($entry/ancestor::tgroup/colspec[@colname=$colname] |
- |$entry/ancestor::entrytbl/colspec[@colname=$colname])[last()]"/> |
- <xsl:call-template name="colspec.colnum"> |
- <xsl:with-param name="colspec" select="$colspec"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$entry/@namest"> |
- <xsl:variable name="namest" select="$entry/@namest"/> |
- <xsl:variable name="colspec" |
- select="($entry/ancestor::tgroup/colspec[@colname=$namest] |
- |$entry/ancestor::entrytbl/colspec[@colname=$namest])[last()]"/> |
- <xsl:call-template name="colspec.colnum"> |
- <xsl:with-param name="colspec" select="$colspec"/> |
- </xsl:call-template> |
- </xsl:when> |
- <!-- no idea, return 0 --> |
- <xsl:otherwise>0</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<doc:template name="entry.colnum" xmlns=""> |
-<refpurpose>Determine the column number in which a given entry occurs</refpurpose> |
-<refdescription id="entry.colnum-desc"> |
-<para>If an <tag>entry</tag> has a |
-<tag class="attribute">colname</tag> or |
-<tag class="attribute">namest</tag> attribute, this template |
-will determine the number of the column in which the entry should occur. |
-For other <tag>entry</tag>s, nothing is returned.</para> |
-</refdescription> |
-<refparameter id="entry.colnum-params"> |
-<variablelist> |
-<varlistentry><term>entry</term> |
-<listitem> |
-<para>The <tag>entry</tag>-element which is to be tested.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="entry.colnum-returns"> |
-<para>This template returns the column number if it can be determined, |
-or 0 (the empty string)</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="colspec.colnum"> |
- <xsl:param name="colspec" select="."/> |
- <xsl:choose> |
- <xsl:when test="$colspec/@colnum"> |
- <xsl:value-of select="$colspec/@colnum"/> |
- </xsl:when> |
- <xsl:when test="$colspec/preceding-sibling::colspec"> |
- <xsl:variable name="prec.colspec.colnum"> |
- <xsl:call-template name="colspec.colnum"> |
- <xsl:with-param name="colspec" |
- select="$colspec/preceding-sibling::colspec[1]"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="$prec.colspec.colnum + 1"/> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="calculate.colspan"> |
- <xsl:param name="entry" select="."/> |
- <xsl:variable name="spanname" select="$entry/@spanname"/> |
- <xsl:variable name="spanspec" |
- select="($entry/ancestor::tgroup/spanspec[@spanname=$spanname] |
- |$entry/ancestor::entrytbl/spanspec[@spanname=$spanname])[last()]"/> |
- |
- <xsl:variable name="namest"> |
- <xsl:choose> |
- <xsl:when test="@spanname"> |
- <xsl:value-of select="$spanspec/@namest"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$entry/@namest"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="nameend"> |
- <xsl:choose> |
- <xsl:when test="@spanname"> |
- <xsl:value-of select="$spanspec/@nameend"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$entry/@nameend"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="scol"> |
- <xsl:call-template name="colspec.colnum"> |
- <xsl:with-param name="colspec" |
- select="($entry/ancestor::tgroup/colspec[@colname=$namest] |
- |$entry/ancestor::entrytbl/colspec[@colname=$namest])[last()]"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="ecol"> |
- <xsl:call-template name="colspec.colnum"> |
- <xsl:with-param name="colspec" |
- select="($entry/ancestor::tgroup/colspec[@colname=$nameend] |
- |$entry/ancestor::entrytbl/colspec[@colname=$nameend])[last()]"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$namest != '' and $nameend != ''"> |
- <xsl:choose> |
- <xsl:when test="number($ecol) >= number($scol)"> |
- <xsl:value-of select="number($ecol) - number($scol) + 1"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="number($scol) - number($ecol) + 1"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="calculate.rowsep"> |
- <xsl:param name="entry" select="."/> |
- <xsl:param name="colnum" select="0"/> |
- |
- <xsl:call-template name="inherited.table.attribute"> |
- <xsl:with-param name="entry" select="$entry"/> |
- <xsl:with-param name="colnum" select="$colnum"/> |
- <xsl:with-param name="attribute" select="'rowsep'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="calculate.colsep"> |
- <xsl:param name="entry" select="."/> |
- <xsl:param name="colnum" select="0"/> |
- |
- <xsl:call-template name="inherited.table.attribute"> |
- <xsl:with-param name="entry" select="$entry"/> |
- <xsl:with-param name="colnum" select="$colnum"/> |
- <xsl:with-param name="attribute" select="'colsep'"/> |
- </xsl:call-template> |
-</xsl:template> |
- |
-<xsl:template name="inherited.table.attribute"> |
- <xsl:param name="entry" select="."/> |
- <xsl:param name="row" select="$entry/ancestor-or-self::row[1]"/> |
- <xsl:param name="colnum" select="0"/> |
- <xsl:param name="attribute" select="'colsep'"/> |
- |
- <xsl:variable name="tgroup" select="$row/parent::*/parent::tgroup[1]"/> |
- <xsl:variable name="tbody" select="$row/parent::*[1]"/> |
- |
- <xsl:variable name="table" select="($tgroup/ancestor::table |
- |$tgroup/ancestor::informaltable |
- |$entry/ancestor::entrytbl)[last()]"/> |
- |
- <xsl:variable name="entry.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$entry"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="row.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$row"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="span.value"> |
- <xsl:if test="$entry/@spanname"> |
- <xsl:variable name="spanname" select="$entry/@spanname"/> |
- <xsl:variable name="spanspec" |
- select="$tgroup/spanspec[@spanname=$spanname]"/> |
- <xsl:variable name="span.colspec" |
- select="$tgroup/colspec[@colname=$spanspec/@namest]"/> |
- |
- <xsl:variable name="spanspec.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$spanspec"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="scolspec.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$span.colspec"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$spanspec.value != ''"> |
- <xsl:value-of select="$spanspec.value"/> |
- </xsl:when> |
- <xsl:when test="$scolspec.value != ''"> |
- <xsl:value-of select="$scolspec.value"/> |
- </xsl:when> |
- <xsl:otherwise></xsl:otherwise> |
- </xsl:choose> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="namest.value"> |
- <xsl:if test="$entry/@namest"> |
- <xsl:variable name="namest" select="$entry/@namest"/> |
- <xsl:variable name="colspec" |
- select="$tgroup/colspec[@colname=$namest]"/> |
- |
- <xsl:variable name="inner.namest.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$colspec"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$inner.namest.value"> |
- <xsl:value-of select="$inner.namest.value"/> |
- </xsl:when> |
- <xsl:otherwise></xsl:otherwise> |
- </xsl:choose> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="tgroup.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$tgroup"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="tbody.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$tbody"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="table.value"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$table"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="default.value"> |
- <!-- This section used to say that rowsep and colsep have defaults based --> |
- <!-- on the frame setting. Further reflection and closer examination of the --> |
- <!-- CALS spec reveals I was mistaken. The default is "1" for rowsep and colsep. --> |
- <!-- For everything else, the default is the tgroup value --> |
- <xsl:choose> |
- <xsl:when test="$tgroup.value != ''"> |
- <xsl:value-of select="$tgroup.value"/> |
- </xsl:when> |
- <xsl:when test="$attribute = 'rowsep'">1</xsl:when> |
- <xsl:when test="$attribute = 'colsep'">1</xsl:when> |
- <xsl:otherwise><!-- empty --></xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="calc.colvalue"> |
- <xsl:if test="$colnum > 0"> |
- <xsl:call-template name="colnum.colspec"> |
- <xsl:with-param name="colnum" select="$colnum"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$entry.value != ''"> |
- <xsl:value-of select="$entry.value"/> |
- </xsl:when> |
- <xsl:when test="$row.value != ''"> |
- <xsl:value-of select="$row.value"/> |
- </xsl:when> |
- <xsl:when test="$span.value != ''"> |
- <xsl:value-of select="$span.value"/> |
- </xsl:when> |
- <xsl:when test="$namest.value != ''"> |
- <xsl:value-of select="$namest.value"/> |
- </xsl:when> |
- <xsl:when test="$calc.colvalue != ''"> |
- <xsl:value-of select="$calc.colvalue"/> |
- </xsl:when> |
- <xsl:when test="$tbody.value != ''"> |
- <xsl:value-of select="$tbody.value"/> |
- </xsl:when> |
- <xsl:when test="$tgroup.value != ''"> |
- <xsl:value-of select="$tgroup.value"/> |
- </xsl:when> |
- <xsl:when test="$table.value != ''"> |
- <xsl:value-of select="$table.value"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$default.value"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="colnum.colspec"> |
- <xsl:param name="colnum" select="0"/> |
- <xsl:param name="attribute" select="'colname'"/> |
- <xsl:param name="colspec.ancestor" |
- select="(ancestor::tgroup|ancestor::entrytbl) |
- [position() = last()]"/> |
- <xsl:param name="colspecs" select="$colspec.ancestor/colspec"/> |
- <xsl:param name="count" select="1"/> |
- |
- <xsl:choose> |
- <xsl:when test="not($colspecs) or $count > $colnum"> |
- <!-- nop --> |
- </xsl:when> |
- <xsl:when test="$colspecs[1]/@colnum"> |
- <xsl:choose> |
- <xsl:when test="$colspecs[1]/@colnum = $colnum"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$colspecs[1]"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="colnum.colspec"> |
- <xsl:with-param name="colnum" select="$colnum"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- <xsl:with-param name="colspecs" |
- select="$colspecs[position()>1]"/> |
- <xsl:with-param name="count" |
- select="$colspecs[1]/@colnum+1"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$count = $colnum"> |
- <xsl:call-template name="get-attribute"> |
- <xsl:with-param name="element" select="$colspecs[1]"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="colnum.colspec"> |
- <xsl:with-param name="colnum" select="$colnum"/> |
- <xsl:with-param name="attribute" select="$attribute"/> |
- <xsl:with-param name="colspecs" |
- select="$colspecs[position()>1]"/> |
- <xsl:with-param name="count" select="$count+1"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="get-attribute"> |
- <xsl:param name="element" select="."/> |
- <xsl:param name="attribute" select="''"/> |
- |
- <xsl:for-each select="$element/@*"> |
- <xsl:if test="local-name(.) = $attribute"> |
- <xsl:value-of select="."/> |
- </xsl:if> |
- </xsl:for-each> |
-</xsl:template> |
- |
-<xsl:template name="consume-row"> |
- <xsl:param name="spans"/> |
- |
- <xsl:if test="contains($spans,':')"> |
- <xsl:value-of select="substring-before($spans,':') - 1"/> |
- <xsl:text>:</xsl:text> |
- <xsl:call-template name="consume-row"> |
- <xsl:with-param name="spans" select="substring-after($spans,':')"/> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
- |
-<!-- Returns the table style for the context element --> |
-<xsl:template name="tabstyle"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:variable name="tgroup" select="$node/tgroup[1] | |
- $node/ancestor-or-self::tgroup[1]"/> |
- |
- <xsl:variable name="table" |
- select="($node/ancestor-or-self::table | |
- $node/ancestor-or-self::informaltable)[1]"/> |
- |
- <xsl:variable name="tabstyle"> |
- <xsl:choose> |
- <xsl:when test="$table/@tabstyle != ''"> |
- <xsl:value-of select="normalize-space($table/@tabstyle)"/> |
- </xsl:when> |
- <xsl:when test="$tgroup/@tgroupstyle != ''"> |
- <xsl:value-of select="normalize-space($tgroup/@tgroupstyle)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:value-of select="$tabstyle"/> |
-</xsl:template> |
- |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl (nonexistent) |
@@ -1,1981 +0,0 @@ |
-<?xml version='1.0'?> |
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
- xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
- xmlns:dyn="http://exslt.org/dynamic" |
- xmlns:saxon="http://icl.com/saxon" |
- exclude-result-prefixes="doc dyn saxon" |
- version='1.0'> |
- |
-<!-- ******************************************************************** |
- $Id: common.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- ******************************************************************** |
- |
- This file is part of the XSL DocBook Stylesheet distribution. |
- See ../README or http://docbook.sf.net/release/xsl/current/ for |
- copyright and other information. |
- |
- ******************************************************************** --> |
- |
-<doc:reference xmlns="" xml:id="base"> |
- <info> |
- <title>Common » Base Template Reference</title> |
- <releaseinfo role="meta"> |
- $Id: common.xsl,v 1.2 2008-07-14 18:28:27 texou Exp $ |
- </releaseinfo> |
- </info> |
- <!-- * yes, partintro is a valid child of a reference... --> |
- <partintro xml:id="partintro"> |
- <title>Introduction</title> |
- <para>This is technical reference documentation for the “base” |
- set of common templates in the DocBook XSL Stylesheets.</para> |
- <para>This is not intended to be user documentation. It is |
- provided for developers writing customization layers for the |
- stylesheets.</para> |
- </partintro> |
-</doc:reference> |
- |
-<!-- ==================================================================== --> |
-<!-- Establish strip/preserve whitespace rules --> |
- |
-<xsl:preserve-space elements="*"/> |
- |
-<xsl:strip-space elements=" |
-abstract affiliation anchor answer appendix area areaset areaspec |
-artheader article audiodata audioobject author authorblurb authorgroup |
-beginpage bibliodiv biblioentry bibliography biblioset blockquote book |
-bookbiblio bookinfo callout calloutlist caption caution chapter |
-citerefentry cmdsynopsis co collab colophon colspec confgroup |
-copyright dedication docinfo editor entrytbl epigraph equation |
-example figure footnote footnoteref formalpara funcprototype |
-funcsynopsis glossary glossdef glossdiv glossentry glosslist graphicco |
-group highlights imagedata imageobject imageobjectco important index |
-indexdiv indexentry indexterm info informalequation informalexample |
-informalfigure informaltable inlineequation inlinemediaobject |
-itemizedlist itermset keycombo keywordset legalnotice listitem lot |
-mediaobject mediaobjectco menuchoice msg msgentry msgexplan msginfo |
-msgmain msgrel msgset msgsub msgtext note objectinfo |
-orderedlist othercredit part partintro preface printhistory procedure |
-programlistingco publisher qandadiv qandaentry qandaset question |
-refentry reference refmeta refnamediv refsection refsect1 refsect1info refsect2 |
-refsect2info refsect3 refsect3info refsynopsisdiv refsynopsisdivinfo |
-revhistory revision row sbr screenco screenshot sect1 sect1info sect2 |
-sect2info sect3 sect3info sect4 sect4info sect5 sect5info section |
-sectioninfo seglistitem segmentedlist seriesinfo set setindex setinfo |
-shortcut sidebar simplelist simplesect spanspec step subject |
-subjectset substeps synopfragment table tbody textobject tfoot tgroup |
-thead tip toc tocchap toclevel1 toclevel2 toclevel3 toclevel4 |
-toclevel5 tocpart varargs variablelist varlistentry videodata |
-videoobject void warning subjectset |
- |
-classsynopsis |
-constructorsynopsis |
-destructorsynopsis |
-fieldsynopsis |
-methodparam |
-methodsynopsis |
-ooclass |
-ooexception |
-oointerface |
-simplemsgentry |
-manvolnum |
-"/> |
-<!-- ====================================================================== --> |
- |
-<doc:template name="is.component" xmlns=""> |
-<refpurpose>Tests if a given node is a component-level element</refpurpose> |
- |
-<refdescription id="is.component-desc"> |
-<para>This template returns '1' if the specified node is a component |
-(Chapter, Appendix, etc.), and '0' otherwise.</para> |
-</refdescription> |
- |
-<refparameter id="is.component-params"> |
-<variablelist> |
-<varlistentry><term>node</term> |
-<listitem> |
-<para>The node which is to be tested.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="is.component-returns"> |
-<para>This template returns '1' if the specified node is a component |
-(Chapter, Appendix, etc.), and '0' otherwise.</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="is.component"> |
- <xsl:param name="node" select="."/> |
- <xsl:choose> |
- <xsl:when test="local-name($node) = 'appendix' |
- or local-name($node) = 'article' |
- or local-name($node) = 'chapter' |
- or local-name($node) = 'preface' |
- or local-name($node) = 'bibliography' |
- or local-name($node) = 'glossary' |
- or local-name($node) = 'index'">1</xsl:when> |
- <xsl:otherwise>0</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="is.section" xmlns=""> |
-<refpurpose>Tests if a given node is a section-level element</refpurpose> |
- |
-<refdescription id="is.section-desc"> |
-<para>This template returns '1' if the specified node is a section |
-(Section, Sect1, Sect2, etc.), and '0' otherwise.</para> |
-</refdescription> |
- |
-<refparameter id="is.section-params"> |
-<variablelist> |
-<varlistentry><term>node</term> |
-<listitem> |
-<para>The node which is to be tested.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="is.section-returns"> |
-<para>This template returns '1' if the specified node is a section |
-(Section, Sect1, Sect2, etc.), and '0' otherwise.</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="is.section"> |
- <xsl:param name="node" select="."/> |
- <xsl:choose> |
- <xsl:when test="local-name($node) = 'section' |
- or local-name($node) = 'sect1' |
- or local-name($node) = 'sect2' |
- or local-name($node) = 'sect3' |
- or local-name($node) = 'sect4' |
- or local-name($node) = 'sect5' |
- or local-name($node) = 'refsect1' |
- or local-name($node) = 'refsect2' |
- or local-name($node) = 'refsect3' |
- or local-name($node) = 'simplesect'">1</xsl:when> |
- <xsl:otherwise>0</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="section.level" xmlns=""> |
-<refpurpose>Returns the hierarchical level of a section</refpurpose> |
- |
-<refdescription id="section.level-desc"> |
-<para>This template calculates the hierarchical level of a section. |
-The element <tag>sect1</tag> is at level 1, <tag>sect2</tag> is |
-at level 2, etc.</para> |
- |
-<para>Recursive sections are calculated down to the fifth level.</para> |
-</refdescription> |
- |
-<refparameter id="section.level-params"> |
-<variablelist> |
-<varlistentry><term>node</term> |
-<listitem> |
-<para>The section node for which the level should be calculated. |
-Defaults to the context node.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="section.level-returns"> |
-<para>The section level, <quote>1</quote>, <quote>2</quote>, etc. |
-</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="section.level"> |
- <xsl:param name="node" select="."/> |
- <xsl:choose> |
- <xsl:when test="local-name($node)='sect1'">1</xsl:when> |
- <xsl:when test="local-name($node)='sect2'">2</xsl:when> |
- <xsl:when test="local-name($node)='sect3'">3</xsl:when> |
- <xsl:when test="local-name($node)='sect4'">4</xsl:when> |
- <xsl:when test="local-name($node)='sect5'">5</xsl:when> |
- <xsl:when test="local-name($node)='section'"> |
- <xsl:choose> |
- <xsl:when test="$node/../../../../../../section">6</xsl:when> |
- <xsl:when test="$node/../../../../../section">5</xsl:when> |
- <xsl:when test="$node/../../../../section">4</xsl:when> |
- <xsl:when test="$node/../../../section">3</xsl:when> |
- <xsl:when test="$node/../../section">2</xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="local-name($node)='refsect1' or |
- local-name($node)='refsect2' or |
- local-name($node)='refsect3' or |
- local-name($node)='refsection' or |
- local-name($node)='refsynopsisdiv'"> |
- <xsl:call-template name="refentry.section.level"> |
- <xsl:with-param name="node" select="$node"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="local-name($node)='simplesect'"> |
- <xsl:choose> |
- <xsl:when test="$node/../../sect1">2</xsl:when> |
- <xsl:when test="$node/../../sect2">3</xsl:when> |
- <xsl:when test="$node/../../sect3">4</xsl:when> |
- <xsl:when test="$node/../../sect4">5</xsl:when> |
- <xsl:when test="$node/../../sect5">5</xsl:when> |
- <xsl:when test="$node/../../section"> |
- <xsl:choose> |
- <xsl:when test="$node/../../../../../section">5</xsl:when> |
- <xsl:when test="$node/../../../../section">4</xsl:when> |
- <xsl:when test="$node/../../../section">3</xsl:when> |
- <xsl:otherwise>2</xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template><!-- section.level --> |
- |
-<doc:template name="qanda.section.level" xmlns=""> |
-<refpurpose>Returns the hierarchical level of a QandASet</refpurpose> |
- |
-<refdescription id="qanda.section.level-desc"> |
-<para>This template calculates the hierarchical level of a QandASet. |
-</para> |
-</refdescription> |
- |
-<refreturn id="qanda.section.level-returns"> |
-<para>The level, <quote>1</quote>, <quote>2</quote>, etc. |
-</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="qanda.section.level"> |
- <xsl:variable name="section" |
- select="(ancestor::section |
- |ancestor::simplesect |
- |ancestor::sect5 |
- |ancestor::sect4 |
- |ancestor::sect3 |
- |ancestor::sect2 |
- |ancestor::sect1 |
- |ancestor::refsect3 |
- |ancestor::refsect2 |
- |ancestor::refsect1)[last()]"/> |
- |
- <xsl:choose> |
- <xsl:when test="count($section) = '0'">1</xsl:when> |
- <xsl:otherwise> |
- <xsl:variable name="slevel"> |
- <xsl:call-template name="section.level"> |
- <xsl:with-param name="node" select="$section"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="$slevel + 1"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- Finds the total section depth of a section in a refentry --> |
-<xsl:template name="refentry.section.level"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:variable name="RElevel"> |
- <xsl:call-template name="refentry.level"> |
- <xsl:with-param name="node" select="$node/ancestor::refentry[1]"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="levelinRE"> |
- <xsl:choose> |
- <xsl:when test="local-name($node)='refsynopsisdiv'">1</xsl:when> |
- <xsl:when test="local-name($node)='refsect1'">1</xsl:when> |
- <xsl:when test="local-name($node)='refsect2'">2</xsl:when> |
- <xsl:when test="local-name($node)='refsect3'">3</xsl:when> |
- <xsl:when test="local-name($node)='refsection'"> |
- <xsl:choose> |
- <xsl:when test="$node/../../../../../refsection">5</xsl:when> |
- <xsl:when test="$node/../../../../refsection">4</xsl:when> |
- <xsl:when test="$node/../../../refsection">3</xsl:when> |
- <xsl:when test="$node/../../refsection">2</xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:value-of select="$levelinRE + $RElevel"/> |
-</xsl:template> |
- |
-<!-- Finds the section depth of a refentry --> |
-<xsl:template name="refentry.level"> |
- <xsl:param name="node" select="."/> |
- <xsl:variable name="container" |
- select="($node/ancestor::section | |
- $node/ancestor::sect1 | |
- $node/ancestor::sect2 | |
- $node/ancestor::sect3 | |
- $node/ancestor::sect4 | |
- $node/ancestor::sect5)[last()]"/> |
- |
- <xsl:choose> |
- <xsl:when test="$container"> |
- <xsl:variable name="slevel"> |
- <xsl:call-template name="section.level"> |
- <xsl:with-param name="node" select="$container"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="$slevel + 1"/> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="qandadiv.section.level"> |
- <xsl:variable name="section.level"> |
- <xsl:call-template name="qanda.section.level"/> |
- </xsl:variable> |
- <xsl:variable name="anc.divs" select="ancestor::qandadiv"/> |
- |
- <xsl:value-of select="count($anc.divs) + number($section.level)"/> |
-</xsl:template> |
- |
-<xsl:template name="question.answer.label"> |
- <xsl:variable name="deflabel"> |
- <xsl:choose> |
- <xsl:when test="ancestor-or-self::*[@defaultlabel]"> |
- <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] |
- /@defaultlabel"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$qanda.defaultlabel"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="label" select="@label"/> |
- |
-<!-- |
- (hnr (hierarchical-number-recursive (normalize "qandadiv") node)) |
- |
- (parsect (ancestor-member node (section-element-list))) |
- |
- (defnum (if (and %qanda-inherit-numeration% |
- %section-autolabel%) |
- (if (node-list-empty? parsect) |
- (section-autolabel-prefix node) |
- (section-autolabel parsect)) |
- "")) |
- |
- (hnumber (let loop ((numlist hnr) (number defnum) |
- (sep (if (equal? defnum "") "" "."))) |
- (if (null? numlist) |
- number |
- (loop (cdr numlist) |
- (string-append number |
- sep |
- (number->string (car numlist))) |
- ".")))) |
- (cnumber (child-number (parent node))) |
- (number (string-append hnumber |
- (if (equal? hnumber "") |
- "" |
- ".") |
- (number->string cnumber)))) |
---> |
- |
- <xsl:choose> |
- <xsl:when test="$deflabel = 'qanda'"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key"> |
- <xsl:choose> |
- <xsl:when test="local-name(.) = 'question'">question</xsl:when> |
- <xsl:when test="local-name(.) = 'answer'">answer</xsl:when> |
- <xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when> |
- <xsl:otherwise>qandaset</xsl:otherwise> |
- </xsl:choose> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$deflabel = 'label'"> |
- <xsl:value-of select="$label"/> |
- </xsl:when> |
- <xsl:when test="$deflabel = 'number' |
- and local-name(.) = 'question'"> |
- <xsl:apply-templates select="ancestor::qandaset[1]" |
- mode="number"/> |
- <xsl:choose> |
- <xsl:when test="ancestor::qandadiv"> |
- <xsl:apply-templates select="ancestor::qandadiv[1]" |
- mode="number"/> |
- <xsl:apply-templates select="ancestor::qandaentry" |
- mode="number"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="ancestor::qandaentry" |
- mode="number"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- nothing --> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="qandaset" mode="number"> |
- <!-- FIXME: --> |
-</xsl:template> |
- |
-<xsl:template match="qandadiv" mode="number"> |
- <xsl:number level="multiple" from="qandaset" format="1."/> |
-</xsl:template> |
- |
-<xsl:template match="qandaentry" mode="number"> |
- <xsl:choose> |
- <xsl:when test="ancestor::qandadiv"> |
- <xsl:number level="single" from="qandadiv" format="1."/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:number level="single" from="qandaset" format="1."/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<xsl:template name="object.id"> |
- <xsl:param name="object" select="."/> |
- <xsl:choose> |
- <xsl:when test="$object/@id"> |
- <xsl:value-of select="$object/@id"/> |
- </xsl:when> |
- <xsl:when test="$object/@xml:id"> |
- <xsl:value-of select="$object/@xml:id"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="generate-id($object)"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="person.name"> |
- <!-- Formats a personal name. Handles corpauthor as a special case. --> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:variable name="style"> |
- <xsl:choose> |
- <xsl:when test="$node/@role"> |
- <xsl:value-of select="$node/@role"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'styles'"/> |
- <xsl:with-param name="name" select="'person-name'"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <!-- the personname element is a specialcase --> |
- <xsl:when test="$node/personname"> |
- <xsl:call-template name="person.name"> |
- <xsl:with-param name="node" select="$node/personname"/> |
- </xsl:call-template> |
- </xsl:when> |
- |
- <!-- handle corpauthor as a special case...--> |
- <!-- * MikeSmith 2007-06: I'm wondering if the person.name template --> |
- <!-- * actually ever gets called to handle corpauthor.. maybe --> |
- <!-- * we don't actually need to check for corpauthor here. --> |
- <xsl:when test="local-name($node)='corpauthor'"> |
- <xsl:apply-templates select="$node"/> |
- </xsl:when> |
- |
- <xsl:otherwise> |
- <xsl:choose> |
- <!-- Handle case when personname contains only general markup (DocBook 5.0) --> |
- <xsl:when test="$node/self::personname and not($node/firstname or $node/honorific or $node/lineage or $node/othername or $node/surname)"> |
- <xsl:apply-templates select="$node/node()"/> |
- </xsl:when> |
- <xsl:when test="$style = 'family-given'"> |
- <xsl:call-template name="person.name.family-given"> |
- <xsl:with-param name="node" select="$node"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$style = 'last-first'"> |
- <xsl:call-template name="person.name.last-first"> |
- <xsl:with-param name="node" select="$node"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="person.name.first-last"> |
- <xsl:with-param name="node" select="$node"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="person.name.family-given"> |
- <xsl:param name="node" select="."/> |
- |
- <!-- The family-given style applies a convention for identifying given --> |
- <!-- and family names in locales where it may be ambiguous --> |
- <xsl:apply-templates select="$node//surname[1]"/> |
- |
- <xsl:if test="$node//surname and $node//firstname"> |
- <xsl:text> </xsl:text> |
- </xsl:if> |
- |
- <xsl:apply-templates select="$node//firstname[1]"/> |
- |
- <xsl:text> [FAMILY Given]</xsl:text> |
-</xsl:template> |
- |
-<xsl:template name="person.name.last-first"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:apply-templates select="$node//surname[1]"/> |
- |
- <xsl:if test="$node//surname and $node//firstname"> |
- <xsl:text>, </xsl:text> |
- </xsl:if> |
- |
- <xsl:apply-templates select="$node//firstname[1]"/> |
-</xsl:template> |
- |
-<xsl:template name="person.name.first-last"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:if test="$node//honorific"> |
- <xsl:apply-templates select="$node//honorific[1]"/> |
- <xsl:value-of select="$punct.honorific"/> |
- </xsl:if> |
- |
- <xsl:if test="$node//firstname"> |
- <xsl:if test="$node//honorific"> |
- <xsl:text> </xsl:text> |
- </xsl:if> |
- <xsl:apply-templates select="$node//firstname[1]"/> |
- </xsl:if> |
- |
- <xsl:if test="$node//othername and $author.othername.in.middle != 0"> |
- <xsl:if test="$node//honorific or $node//firstname"> |
- <xsl:text> </xsl:text> |
- </xsl:if> |
- <xsl:apply-templates select="$node//othername[1]"/> |
- </xsl:if> |
- |
- <xsl:if test="$node//surname"> |
- <xsl:if test="$node//honorific or $node//firstname |
- or ($node//othername and $author.othername.in.middle != 0)"> |
- <xsl:text> </xsl:text> |
- </xsl:if> |
- <xsl:apply-templates select="$node//surname[1]"/> |
- </xsl:if> |
- |
- <xsl:if test="$node//lineage"> |
- <xsl:text>, </xsl:text> |
- <xsl:apply-templates select="$node//lineage[1]"/> |
- </xsl:if> |
-</xsl:template> |
- |
-<xsl:template name="person.name.list"> |
- <!-- Return a formatted string representation of the contents of |
- the current element. The current element must contain one or |
- more AUTHORs, CORPAUTHORs, OTHERCREDITs, and/or EDITORs. |
- |
- John Doe |
- or |
- John Doe and Jane Doe |
- or |
- John Doe, Jane Doe, and A. Nonymous |
- --> |
- <xsl:param name="person.list" |
- select="author|corpauthor|othercredit|editor"/> |
- <xsl:param name="person.count" select="count($person.list)"/> |
- <xsl:param name="count" select="1"/> |
- |
- <xsl:choose> |
- <xsl:when test="$count > $person.count"></xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="person.name"> |
- <xsl:with-param name="node" select="$person.list[position()=$count]"/> |
- </xsl:call-template> |
- |
- <xsl:choose> |
- <xsl:when test="$person.count = 2 and $count = 1"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'authorgroup'"/> |
- <xsl:with-param name="name" select="'sep2'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$person.count > 2 and $count+1 = $person.count"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'authorgroup'"/> |
- <xsl:with-param name="name" select="'seplast'"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$count < $person.count"> |
- <xsl:call-template name="gentext.template"> |
- <xsl:with-param name="context" select="'authorgroup'"/> |
- <xsl:with-param name="name" select="'sep'"/> |
- </xsl:call-template> |
- </xsl:when> |
- </xsl:choose> |
- |
- <xsl:call-template name="person.name.list"> |
- <xsl:with-param name="person.list" select="$person.list"/> |
- <xsl:with-param name="person.count" select="$person.count"/> |
- <xsl:with-param name="count" select="$count+1"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template><!-- person.name.list --> |
- |
-<!-- === synopsis ======================================================= --> |
-<!-- The following definitions match those given in the reference |
- documentation for DocBook V3.0 |
---> |
- |
-<xsl:variable name="arg.choice.opt.open.str">[</xsl:variable> |
-<xsl:variable name="arg.choice.opt.close.str">]</xsl:variable> |
-<xsl:variable name="arg.choice.req.open.str">{</xsl:variable> |
-<xsl:variable name="arg.choice.req.close.str">}</xsl:variable> |
-<xsl:variable name="arg.choice.plain.open.str"><xsl:text> </xsl:text></xsl:variable> |
-<xsl:variable name="arg.choice.plain.close.str"><xsl:text> </xsl:text></xsl:variable> |
-<xsl:variable name="arg.choice.def.open.str">[</xsl:variable> |
-<xsl:variable name="arg.choice.def.close.str">]</xsl:variable> |
-<xsl:variable name="arg.rep.repeat.str">...</xsl:variable> |
-<xsl:variable name="arg.rep.norepeat.str"></xsl:variable> |
-<xsl:variable name="arg.rep.def.str"></xsl:variable> |
-<xsl:variable name="arg.or.sep"> | </xsl:variable> |
-<xsl:variable name="cmdsynopsis.hanging.indent">4pi</xsl:variable> |
- |
-<!-- ====================================================================== --> |
- |
-<!-- |
-<xsl:template name="xref.g.subst"> |
- <xsl:param name="string"></xsl:param> |
- <xsl:param name="target" select="."/> |
- <xsl:variable name="subst">%g</xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="contains($string, $subst)"> |
- <xsl:value-of select="substring-before($string, $subst)"/> |
- <xsl:call-template name="gentext.element.name"> |
- <xsl:with-param name="element.name" select="local-name($target)"/> |
- </xsl:call-template> |
- <xsl:call-template name="xref.g.subst"> |
- <xsl:with-param name="string" |
- select="substring-after($string, $subst)"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$string"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="xref.t.subst"> |
- <xsl:param name="string"></xsl:param> |
- <xsl:param name="target" select="."/> |
- <xsl:variable name="subst">%t</xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="contains($string, $subst)"> |
- <xsl:call-template name="xref.g.subst"> |
- <xsl:with-param name="string" |
- select="substring-before($string, $subst)"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- <xsl:call-template name="title.xref"> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- <xsl:call-template name="xref.t.subst"> |
- <xsl:with-param name="string" |
- select="substring-after($string, $subst)"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="xref.g.subst"> |
- <xsl:with-param name="string" select="$string"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="xref.n.subst"> |
- <xsl:param name="string"></xsl:param> |
- <xsl:param name="target" select="."/> |
- <xsl:variable name="subst">%n</xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="contains($string, $subst)"> |
- <xsl:call-template name="xref.t.subst"> |
- <xsl:with-param name="string" |
- select="substring-before($string, $subst)"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- <xsl:call-template name="number.xref"> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- <xsl:call-template name="xref.t.subst"> |
- <xsl:with-param name="string" |
- select="substring-after($string, $subst)"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="xref.t.subst"> |
- <xsl:with-param name="string" select="$string"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="subst.xref.text"> |
- <xsl:param name="xref.text"></xsl:param> |
- <xsl:param name="target" select="."/> |
- |
- <xsl:call-template name="xref.n.subst"> |
- <xsl:with-param name="string" select="$xref.text"/> |
- <xsl:with-param name="target" select="$target"/> |
- </xsl:call-template> |
-</xsl:template> |
---> |
- |
-<!-- ====================================================================== --> |
- |
-<xsl:template name="filename-basename"> |
- <!-- We assume all filenames are really URIs and use "/" --> |
- <xsl:param name="filename"></xsl:param> |
- <xsl:param name="recurse" select="false()"/> |
- |
- <xsl:choose> |
- <xsl:when test="substring-after($filename, '/') != ''"> |
- <xsl:call-template name="filename-basename"> |
- <xsl:with-param name="filename" |
- select="substring-after($filename, '/')"/> |
- <xsl:with-param name="recurse" select="true()"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$filename"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="filename-extension"> |
- <xsl:param name="filename"></xsl:param> |
- <xsl:param name="recurse" select="false()"/> |
- |
- <!-- Make sure we only look at the base name... --> |
- <xsl:variable name="basefn"> |
- <xsl:choose> |
- <xsl:when test="$recurse"> |
- <xsl:value-of select="$filename"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="filename-basename"> |
- <xsl:with-param name="filename" select="$filename"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="substring-after($basefn, '.') != ''"> |
- <xsl:call-template name="filename-extension"> |
- <xsl:with-param name="filename" |
- select="substring-after($basefn, '.')"/> |
- <xsl:with-param name="recurse" select="true()"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$recurse"> |
- <xsl:value-of select="$basefn"/> |
- </xsl:when> |
- <xsl:otherwise></xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="select.mediaobject" xmlns=""> |
-<refpurpose>Selects and processes an appropriate media object from a list</refpurpose> |
- |
-<refdescription id="select.mediaobject-desc"> |
-<para>This template takes a list of media objects (usually the |
-children of a mediaobject or inlinemediaobject) and processes |
-the "right" object.</para> |
- |
-<para>This template relies on a template named |
-"select.mediaobject.index" to determine which object |
-in the list is appropriate.</para> |
- |
-<para>If no acceptable object is located, nothing happens.</para> |
-</refdescription> |
- |
-<refparameter id="select.mediaobject-params"> |
-<variablelist> |
-<varlistentry><term>olist</term> |
-<listitem> |
-<para>The node list of potential objects to examine.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="select.mediaobject-returns"> |
-<para>Calls <xsl:apply-templates> on the selected object.</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="select.mediaobject"> |
- <xsl:param name="olist" |
- select="imageobject|imageobjectco |
- |videoobject|audioobject|textobject"/> |
- |
- <xsl:variable name="mediaobject.index"> |
- <xsl:call-template name="select.mediaobject.index"> |
- <xsl:with-param name="olist" select="$olist"/> |
- <xsl:with-param name="count" select="1"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:if test="$mediaobject.index != ''"> |
- <xsl:apply-templates select="$olist[position() = $mediaobject.index]"/> |
- </xsl:if> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="select.mediaobject.index" xmlns=""> |
-<refpurpose>Selects the position of the appropriate media object from a list</refpurpose> |
- |
-<refdescription id="select.mediaobject.index-desc"> |
-<para>This template takes a list of media objects (usually the |
-children of a mediaobject or inlinemediaobject) and determines |
-the "right" object. It returns the position of that object |
-to be used by the calling template.</para> |
- |
-<para>If the parameter <parameter>use.role.for.mediaobject</parameter> |
-is nonzero, then it first checks for an object with |
-a role attribute of the appropriate value. It takes the first |
-of those. Otherwise, it takes the first acceptable object |
-through a recursive pass through the list.</para> |
- |
-<para>This template relies on a template named "is.acceptable.mediaobject" |
-to determine if a given object is an acceptable graphic. The semantics |
-of media objects is that the first acceptable graphic should be used. |
-</para> |
- |
-<para>If no acceptable object is located, no index is returned.</para> |
-</refdescription> |
- |
-<refparameter id="select.mediaobject.index-params"> |
-<variablelist> |
-<varlistentry><term>olist</term> |
-<listitem> |
-<para>The node list of potential objects to examine.</para> |
-</listitem> |
-</varlistentry> |
-<varlistentry><term>count</term> |
-<listitem> |
-<para>The position in the list currently being considered by the |
-recursive process.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="select.mediaobject.index-returns"> |
-<para>Returns the position in the original list of the selected object.</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="select.mediaobject.index"> |
- <xsl:param name="olist" |
- select="imageobject|imageobjectco |
- |videoobject|audioobject|textobject"/> |
- <xsl:param name="count">1</xsl:param> |
- |
- <xsl:choose> |
- <!-- Test for objects preferred by role --> |
- <xsl:when test="$use.role.for.mediaobject != 0 |
- and $preferred.mediaobject.role != '' |
- and $olist[@role = $preferred.mediaobject.role]"> |
- |
- <!-- Get the first hit's position index --> |
- <xsl:for-each select="$olist"> |
- <xsl:if test="@role = $preferred.mediaobject.role and |
- not(preceding-sibling::*[@role = $preferred.mediaobject.role])"> |
- <xsl:value-of select="position()"/> |
- </xsl:if> |
- </xsl:for-each> |
- </xsl:when> |
- |
- <xsl:when test="$use.role.for.mediaobject != 0 |
- and $olist[@role = $stylesheet.result.type]"> |
- <!-- Get the first hit's position index --> |
- <xsl:for-each select="$olist"> |
- <xsl:if test="@role = $stylesheet.result.type and |
- not(preceding-sibling::*[@role = $stylesheet.result.type])"> |
- <xsl:value-of select="position()"/> |
- </xsl:if> |
- </xsl:for-each> |
- </xsl:when> |
- <!-- Accept 'html' for $stylesheet.result.type = 'xhtml' --> |
- <xsl:when test="$use.role.for.mediaobject != 0 |
- and $stylesheet.result.type = 'xhtml' |
- and $olist[@role = 'html']"> |
- <!-- Get the first hit's position index --> |
- <xsl:for-each select="$olist"> |
- <xsl:if test="@role = 'html' and |
- not(preceding-sibling::*[@role = 'html'])"> |
- <xsl:value-of select="position()"/> |
- </xsl:if> |
- </xsl:for-each> |
- </xsl:when> |
- |
- <!-- If no selection by role, and there is only one object, use it --> |
- <xsl:when test="count($olist) = 1 and $count = 1"> |
- <xsl:value-of select="$count"/> |
- </xsl:when> |
- |
- <xsl:otherwise> |
- <!-- Otherwise select first acceptable object --> |
- <xsl:if test="$count <= count($olist)"> |
- <xsl:variable name="object" select="$olist[position()=$count]"/> |
- |
- <xsl:variable name="useobject"> |
- <xsl:choose> |
- <!-- The phrase is used only when contains TeX Math and output is FO --> |
- <xsl:when test="local-name($object)='textobject' and $object/phrase |
- and $object/@role='tex' and $stylesheet.result.type = 'fo' |
- and $tex.math.in.alt != ''"> |
- <xsl:text>1</xsl:text> |
- </xsl:when> |
- <!-- The phrase is never used --> |
- <xsl:when test="local-name($object)='textobject' and $object/phrase"> |
- <xsl:text>0</xsl:text> |
- </xsl:when> |
- <xsl:when test="local-name($object)='textobject' |
- and $object/ancestor::equation "> |
- <!-- The first textobject is not a reasonable fallback |
- for equation image --> |
- <xsl:text>0</xsl:text> |
- </xsl:when> |
- <!-- The first textobject is a reasonable fallback --> |
- <xsl:when test="local-name($object)='textobject' |
- and $object[not(@role) or @role!='tex']"> |
- <xsl:text>1</xsl:text> |
- </xsl:when> |
- <!-- don't use graphic when output is FO, TeX Math is used |
- and there is math in alt element --> |
- <xsl:when test="$object/ancestor::equation and |
- $object/ancestor::equation/alt[@role='tex'] |
- and $stylesheet.result.type = 'fo' |
- and $tex.math.in.alt != ''"> |
- <xsl:text>0</xsl:text> |
- </xsl:when> |
- <!-- If there's only one object, use it --> |
- <xsl:when test="$count = 1 and count($olist) = 1"> |
- <xsl:text>1</xsl:text> |
- </xsl:when> |
- <!-- Otherwise, see if this one is a useable graphic --> |
- <xsl:otherwise> |
- <xsl:choose> |
- <!-- peek inside imageobjectco to simplify the test --> |
- <xsl:when test="local-name($object) = 'imageobjectco'"> |
- <xsl:call-template name="is.acceptable.mediaobject"> |
- <xsl:with-param name="object" select="$object/imageobject"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="is.acceptable.mediaobject"> |
- <xsl:with-param name="object" select="$object"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$useobject='1'"> |
- <xsl:value-of select="$count"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="select.mediaobject.index"> |
- <xsl:with-param name="olist" select="$olist"/> |
- <xsl:with-param name="count" select="$count + 1"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:if> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<doc:template name="is.acceptable.mediaobject" xmlns=""> |
-<refpurpose>Returns '1' if the specified media object is recognized</refpurpose> |
- |
-<refdescription id="is.acceptable.mediaobject-desc"> |
-<para>This template examines a media object and returns '1' if the |
-object is recognized as a graphic.</para> |
-</refdescription> |
- |
-<refparameter id="is.acceptable.mediaobject-params"> |
-<variablelist> |
-<varlistentry><term>object</term> |
-<listitem> |
-<para>The media object to consider.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="is.acceptable.mediaobject-returns"> |
-<para>0 or 1</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="is.acceptable.mediaobject"> |
- <xsl:param name="object"></xsl:param> |
- |
- <xsl:variable name="filename"> |
- <xsl:call-template name="mediaobject.filename"> |
- <xsl:with-param name="object" select="$object"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="ext"> |
- <xsl:call-template name="filename-extension"> |
- <xsl:with-param name="filename" select="$filename"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <!-- there will only be one --> |
- <xsl:variable name="data" select="$object/videodata |
- |$object/imagedata |
- |$object/audiodata"/> |
- |
- <xsl:variable name="format" select="$data/@format"/> |
- |
- <xsl:variable name="graphic.format"> |
- <xsl:if test="$format"> |
- <xsl:call-template name="is.graphic.format"> |
- <xsl:with-param name="format" select="$format"/> |
- </xsl:call-template> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:variable name="graphic.ext"> |
- <xsl:if test="$ext"> |
- <xsl:call-template name="is.graphic.extension"> |
- <xsl:with-param name="ext" select="$ext"/> |
- </xsl:call-template> |
- </xsl:if> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$use.svg = 0 and $format = 'SVG'">0</xsl:when> |
- <xsl:when xmlns:svg="http://www.w3.org/2000/svg" |
- test="$use.svg != 0 and $object/svg:*">1</xsl:when> |
- <xsl:when test="$graphic.format = '1'">1</xsl:when> |
- <xsl:when test="$graphic.ext = '1'">1</xsl:when> |
- <xsl:otherwise>0</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="mediaobject.filename"> |
- <xsl:param name="object"></xsl:param> |
- |
- <xsl:variable name="data" select="$object/videodata |
- |$object/imagedata |
- |$object/audiodata |
- |$object"/> |
- |
- <xsl:variable name="filename"> |
- <xsl:choose> |
- <xsl:when test="$data[@fileref]"> |
- <xsl:apply-templates select="$data/@fileref"/> |
- </xsl:when> |
- <xsl:when test="$data[@entityref]"> |
- <xsl:value-of select="unparsed-entity-uri($data/@entityref)"/> |
- </xsl:when> |
- <xsl:otherwise></xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="real.ext"> |
- <xsl:call-template name="filename-extension"> |
- <xsl:with-param name="filename" select="$filename"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="ext"> |
- <xsl:choose> |
- <xsl:when test="$real.ext != ''"> |
- <xsl:value-of select="$real.ext"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$graphic.default.extension"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:variable> |
- |
- <xsl:variable name="graphic.ext"> |
- <xsl:call-template name="is.graphic.extension"> |
- <xsl:with-param name="ext" select="$ext"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$real.ext = ''"> |
- <xsl:choose> |
- <xsl:when test="$ext != ''"> |
- <xsl:value-of select="$filename"/> |
- <xsl:text>.</xsl:text> |
- <xsl:value-of select="$ext"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$filename"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="not($graphic.ext)"> |
- <xsl:choose> |
- <xsl:when test="$graphic.default.extension != ''"> |
- <xsl:value-of select="$filename"/> |
- <xsl:text>.</xsl:text> |
- <xsl:value-of select="$graphic.default.extension"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$filename"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$filename"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="check.id.unique" xmlns=""> |
-<refpurpose>Warn users about references to non-unique IDs</refpurpose> |
-<refdescription id="check.id.unique-desc"> |
-<para>If passed an ID in <varname>linkend</varname>, |
-<function>check.id.unique</function> prints |
-a warning message to the user if either the ID does not exist or |
-the ID is not unique.</para> |
-</refdescription> |
-</doc:template> |
- |
-<xsl:template name="check.id.unique"> |
- <xsl:param name="linkend"></xsl:param> |
- <xsl:if test="$linkend != ''"> |
- <xsl:variable name="targets" select="key('id',$linkend)"/> |
- <xsl:variable name="target" select="$targets[1]"/> |
- |
- <xsl:if test="count($targets)=0"> |
- <xsl:message> |
- <xsl:text>Error: no ID for constraint linkend: </xsl:text> |
- <xsl:value-of select="$linkend"/> |
- <xsl:text>.</xsl:text> |
- </xsl:message> |
- <!-- |
- <xsl:message> |
- <xsl:text>If the ID exists in your document, did your </xsl:text> |
- <xsl:text>XSLT Processor load the DTD?</xsl:text> |
- </xsl:message> |
- --> |
- </xsl:if> |
- |
- <xsl:if test="count($targets)>1"> |
- <xsl:message> |
- <xsl:text>Warning: multiple "IDs" for constraint linkend: </xsl:text> |
- <xsl:value-of select="$linkend"/> |
- <xsl:text>.</xsl:text> |
- </xsl:message> |
- </xsl:if> |
- </xsl:if> |
-</xsl:template> |
- |
-<doc:template name="check.idref.targets" xmlns=""> |
-<refpurpose>Warn users about incorrectly typed references</refpurpose> |
-<refdescription id="check.idref.targets-desc"> |
-<para>If passed an ID in <varname>linkend</varname>, |
-<function>check.idref.targets</function> makes sure that the element |
-pointed to by the link is one of the elements listed in |
-<varname>element-list</varname> and warns the user otherwise.</para> |
-</refdescription> |
-</doc:template> |
- |
-<xsl:template name="check.idref.targets"> |
- <xsl:param name="linkend"></xsl:param> |
- <xsl:param name="element-list"></xsl:param> |
- <xsl:if test="$linkend != ''"> |
- <xsl:variable name="targets" select="key('id',$linkend)"/> |
- <xsl:variable name="target" select="$targets[1]"/> |
- |
- <xsl:if test="count($target) > 0"> |
- <xsl:if test="not(contains(concat(' ', $element-list, ' '), local-name($target)))"> |
- <xsl:message> |
- <xsl:text>Error: linkend (</xsl:text> |
- <xsl:value-of select="$linkend"/> |
- <xsl:text>) points to "</xsl:text> |
- <xsl:value-of select="local-name($target)"/> |
- <xsl:text>" not (one of): </xsl:text> |
- <xsl:value-of select="$element-list"/> |
- </xsl:message> |
- </xsl:if> |
- </xsl:if> |
- </xsl:if> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
-<!-- Procedure Step Numeration --> |
- |
-<xsl:param name="procedure.step.numeration.formats" select="'1aiAI'"/> |
- |
-<xsl:template name="procedure.step.numeration"> |
- <xsl:param name="context" select="."/> |
- <xsl:variable name="format.length" |
- select="string-length($procedure.step.numeration.formats)"/> |
- <xsl:choose> |
- <xsl:when test="local-name($context) = 'substeps'"> |
- <xsl:variable name="ssdepth" |
- select="count($context/ancestor::substeps)"/> |
- <xsl:variable name="sstype" select="($ssdepth mod $format.length)+2"/> |
- <xsl:choose> |
- <xsl:when test="$sstype > $format.length"> |
- <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="substring($procedure.step.numeration.formats,$sstype,1)"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="local-name($context) = 'step'"> |
- <xsl:variable name="sdepth" |
- select="count($context/ancestor::substeps)"/> |
- <xsl:variable name="stype" select="($sdepth mod $format.length)+1"/> |
- <xsl:value-of select="substring($procedure.step.numeration.formats,$stype,1)"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message> |
- <xsl:text>Unexpected context in procedure.step.numeration: </xsl:text> |
- <xsl:value-of select="local-name($context)"/> |
- </xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template match="step" mode="number"> |
- <xsl:param name="rest" select="''"/> |
- <xsl:param name="recursive" select="1"/> |
- <xsl:variable name="format"> |
- <xsl:call-template name="procedure.step.numeration"/> |
- </xsl:variable> |
- <xsl:variable name="num"> |
- <xsl:number count="step" format="{$format}"/> |
- </xsl:variable> |
- <xsl:choose> |
- <xsl:when test="$recursive != 0 and ancestor::step"> |
- <xsl:apply-templates select="ancestor::step[1]" mode="number"> |
- <xsl:with-param name="rest" select="concat('.', $num, $rest)"/> |
- </xsl:apply-templates> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="concat($num, $rest)"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
-<!-- OrderedList Numeration --> |
-<xsl:template name="output-orderedlist-starting-number"> |
- <xsl:param name="list"/> |
- <xsl:param name="pi-start"/> |
- <xsl:choose> |
- <xsl:when test="not($list/@continuation = 'continues')"> |
- <xsl:choose> |
- <xsl:when test="@startingnumber"> |
- <xsl:value-of select="@startingnumber"/> |
- </xsl:when> |
- <xsl:when test="$pi-start != ''"> |
- <xsl:value-of select="$pi-start"/> |
- </xsl:when> |
- <xsl:otherwise>1</xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:variable name="prevlist" |
- select="$list/preceding::orderedlist[1]"/> |
- <xsl:choose> |
- <xsl:when test="count($prevlist) = 0">2</xsl:when> |
- <xsl:otherwise> |
- <xsl:variable name="prevlength" select="count($prevlist/listitem)"/> |
- <xsl:variable name="prevstart"> |
- <xsl:call-template name="orderedlist-starting-number"> |
- <xsl:with-param name="list" select="$prevlist"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="$prevstart + $prevlength"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="orderedlist-item-number"> |
- <!-- context node must be a listitem in an orderedlist --> |
- <xsl:param name="node" select="."/> |
- <xsl:choose> |
- <xsl:when test="$node/@override"> |
- <xsl:value-of select="$node/@override"/> |
- </xsl:when> |
- <xsl:when test="$node/preceding-sibling::listitem"> |
- <xsl:variable name="pnum"> |
- <xsl:call-template name="orderedlist-item-number"> |
- <xsl:with-param name="node" select="$node/preceding-sibling::listitem[1]"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="$pnum + 1"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="orderedlist-starting-number"> |
- <xsl:with-param name="list" select="parent::*"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="next.numeration"> |
- <xsl:param name="numeration" select="'default'"/> |
- <xsl:choose> |
- <!-- Change this list if you want to change the order of numerations --> |
- <xsl:when test="$numeration = 'arabic'">loweralpha</xsl:when> |
- <xsl:when test="$numeration = 'loweralpha'">lowerroman</xsl:when> |
- <xsl:when test="$numeration = 'lowerroman'">upperalpha</xsl:when> |
- <xsl:when test="$numeration = 'upperalpha'">upperroman</xsl:when> |
- <xsl:when test="$numeration = 'upperroman'">arabic</xsl:when> |
- <xsl:otherwise>arabic</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="list.numeration"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:choose> |
- <xsl:when test="$node/@numeration"> |
- <xsl:value-of select="$node/@numeration"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$node/ancestor::orderedlist"> |
- <xsl:call-template name="next.numeration"> |
- <xsl:with-param name="numeration"> |
- <xsl:call-template name="list.numeration"> |
- <xsl:with-param name="node" select="$node/ancestor::orderedlist[1]"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="next.numeration"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
-<!-- ItemizedList "Numeration" --> |
- |
-<xsl:template name="next.itemsymbol"> |
- <xsl:param name="itemsymbol" select="'default'"/> |
- <xsl:choose> |
- <!-- Change this list if you want to change the order of symbols --> |
- <xsl:when test="$itemsymbol = 'disc'">circle</xsl:when> |
- <xsl:when test="$itemsymbol = 'circle'">square</xsl:when> |
- <xsl:otherwise>disc</xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="list.itemsymbol"> |
- <xsl:param name="node" select="."/> |
- |
- <xsl:choose> |
- <xsl:when test="@override"> |
- <xsl:value-of select="@override"/> |
- </xsl:when> |
- <xsl:when test="$node/@mark"> |
- <xsl:value-of select="$node/@mark"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:choose> |
- <xsl:when test="$node/ancestor::itemizedlist"> |
- <xsl:call-template name="next.itemsymbol"> |
- <xsl:with-param name="itemsymbol"> |
- <xsl:call-template name="list.itemsymbol"> |
- <xsl:with-param name="node" select="$node/ancestor::itemizedlist[1]"/> |
- </xsl:call-template> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:call-template name="next.itemsymbol"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="copyright.years" xmlns=""> |
-<refpurpose>Print a set of years with collapsed ranges</refpurpose> |
- |
-<refdescription id="copyright.years-desc"> |
-<para>This template prints a list of year elements with consecutive |
-years printed as a range. In other words:</para> |
- |
-<screen><![CDATA[<year>1992</year> |
-<year>1993</year> |
-<year>1994</year>]]></screen> |
- |
-<para>is printed <quote>1992-1994</quote>, whereas:</para> |
- |
-<screen><![CDATA[<year>1992</year> |
-<year>1994</year>]]></screen> |
- |
-<para>is printed <quote>1992, 1994</quote>.</para> |
- |
-<para>This template assumes that all the year elements contain only |
-decimal year numbers, that the elements are sorted in increasing |
-numerical order, that there are no duplicates, and that all the years |
-are expressed in full <quote>century+year</quote> |
-(<quote>1999</quote> not <quote>99</quote>) notation.</para> |
-</refdescription> |
- |
-<refparameter id="copyright.years-params"> |
-<variablelist> |
-<varlistentry><term>years</term> |
-<listitem> |
-<para>The initial set of year elements.</para> |
-</listitem> |
-</varlistentry> |
-<varlistentry><term>print.ranges</term> |
-<listitem> |
-<para>If non-zero, multi-year ranges are collapsed. If zero, all years |
-are printed discretely.</para> |
-</listitem> |
-</varlistentry> |
-<varlistentry><term>single.year.ranges</term> |
-<listitem> |
-<para>If non-zero, two consecutive years will be printed as a range, |
-otherwise, they will be printed discretely. In other words, a single |
-year range is <quote>1991-1992</quote> but discretely it's |
-<quote>1991, 1992</quote>.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
- |
-<refreturn id="copyright.years-returns"> |
-<para>This template returns the formatted list of years.</para> |
-</refreturn> |
-</doc:template> |
- |
-<xsl:template name="copyright.years"> |
- <xsl:param name="years"/> |
- <xsl:param name="print.ranges" select="1"/> |
- <xsl:param name="single.year.ranges" select="0"/> |
- <xsl:param name="firstyear" select="0"/> |
- <xsl:param name="nextyear" select="0"/> |
- |
- <!-- |
- <xsl:message terminate="no"> |
- <xsl:text>CY: </xsl:text> |
- <xsl:value-of select="count($years)"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$firstyear"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$nextyear"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$print.ranges"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$single.year.ranges"/> |
- <xsl:text> (</xsl:text> |
- <xsl:value-of select="$years[1]"/> |
- <xsl:text>)</xsl:text> |
- </xsl:message> |
- --> |
- |
- <xsl:choose> |
- <xsl:when test="$print.ranges = 0 and count($years) > 0"> |
- <xsl:choose> |
- <xsl:when test="count($years) = 1"> |
- <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/> |
- <xsl:text>, </xsl:text> |
- <xsl:call-template name="copyright.years"> |
- <xsl:with-param name="years" |
- select="$years[position() > 1]"/> |
- <xsl:with-param name="print.ranges" select="$print.ranges"/> |
- <xsl:with-param name="single.year.ranges" |
- select="$single.year.ranges"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="count($years) = 0"> |
- <xsl:variable name="lastyear" select="$nextyear - 1"/> |
- <xsl:choose> |
- <xsl:when test="$firstyear = 0"> |
- <!-- there weren't any years at all --> |
- </xsl:when> |
- <xsl:when test="$firstyear = $lastyear"> |
- <xsl:value-of select="$firstyear"/> |
- </xsl:when> |
- <xsl:when test="$single.year.ranges = 0 |
- and $lastyear = $firstyear + 1"> |
- <xsl:value-of select="$firstyear"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$lastyear"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$firstyear"/> |
- <xsl:text>-</xsl:text> |
- <xsl:value-of select="$lastyear"/> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:when> |
- <xsl:when test="$firstyear = 0"> |
- <xsl:call-template name="copyright.years"> |
- <xsl:with-param name="years" |
- select="$years[position() > 1]"/> |
- <xsl:with-param name="firstyear" select="$years[1]"/> |
- <xsl:with-param name="nextyear" select="$years[1] + 1"/> |
- <xsl:with-param name="print.ranges" select="$print.ranges"/> |
- <xsl:with-param name="single.year.ranges" |
- select="$single.year.ranges"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="$nextyear = $years[1]"> |
- <xsl:call-template name="copyright.years"> |
- <xsl:with-param name="years" |
- select="$years[position() > 1]"/> |
- <xsl:with-param name="firstyear" select="$firstyear"/> |
- <xsl:with-param name="nextyear" select="$nextyear + 1"/> |
- <xsl:with-param name="print.ranges" select="$print.ranges"/> |
- <xsl:with-param name="single.year.ranges" |
- select="$single.year.ranges"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <!-- we have years left, but they aren't in the current range --> |
- <xsl:choose> |
- <xsl:when test="$nextyear = $firstyear + 1"> |
- <xsl:value-of select="$firstyear"/> |
- <xsl:text>, </xsl:text> |
- </xsl:when> |
- <xsl:when test="$single.year.ranges = 0 |
- and $nextyear = $firstyear + 2"> |
- <xsl:value-of select="$firstyear"/> |
- <xsl:text>, </xsl:text> |
- <xsl:value-of select="$nextyear - 1"/> |
- <xsl:text>, </xsl:text> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$firstyear"/> |
- <xsl:text>-</xsl:text> |
- <xsl:value-of select="$nextyear - 1"/> |
- <xsl:text>, </xsl:text> |
- </xsl:otherwise> |
- </xsl:choose> |
- <xsl:call-template name="copyright.years"> |
- <xsl:with-param name="years" |
- select="$years[position() > 1]"/> |
- <xsl:with-param name="firstyear" select="$years[1]"/> |
- <xsl:with-param name="nextyear" select="$years[1] + 1"/> |
- <xsl:with-param name="print.ranges" select="$print.ranges"/> |
- <xsl:with-param name="single.year.ranges" |
- select="$single.year.ranges"/> |
- </xsl:call-template> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ====================================================================== --> |
- |
-<doc:template name="find.path.params" xmlns=""> |
-<refpurpose>Search in a table for the "best" match for the node</refpurpose> |
- |
-<refdescription id="find.path.params-desc"> |
-<para>This template searches in a table for the value that most-closely |
-(in the typical best-match sense of XSLT) matches the current (element) |
-node location.</para> |
-</refdescription> |
-</doc:template> |
- |
-<xsl:template name="find.path.params"> |
- <xsl:param name="node" select="."/> |
- <xsl:param name="table" select="''"/> |
- <xsl:param name="location"> |
- <xsl:call-template name="xpath.location"> |
- <xsl:with-param name="node" select="$node"/> |
- </xsl:call-template> |
- </xsl:param> |
- |
- <xsl:variable name="value"> |
- <xsl:call-template name="lookup.key"> |
- <xsl:with-param name="key" select="$location"/> |
- <xsl:with-param name="table" select="$table"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:choose> |
- <xsl:when test="$value != ''"> |
- <xsl:value-of select="$value"/> |
- </xsl:when> |
- <xsl:when test="contains($location, '/')"> |
- <xsl:call-template name="find.path.params"> |
- <xsl:with-param name="node" select="$node"/> |
- <xsl:with-param name="table" select="$table"/> |
- <xsl:with-param name="location" select="substring-after($location, '/')"/> |
- </xsl:call-template> |
- </xsl:when> |
- </xsl:choose> |
-</xsl:template> |
- |
-<xsl:template name="relative-uri"> |
- <xsl:param name="filename" select="."/> |
- <xsl:param name="destdir" select="''"/> |
- |
- <xsl:variable name="srcurl"> |
- <xsl:call-template name="strippath"> |
- <xsl:with-param name="filename"> |
- <xsl:call-template name="xml.base.dirs"> |
- <xsl:with-param name="base.elem" |
- select="$filename/ancestor-or-self::* |
- [@xml:base != ''][1]"/> |
- </xsl:call-template> |
- <xsl:value-of select="$filename"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="srcurl.trimmed"> |
- <xsl:call-template name="trim.common.uri.paths"> |
- <xsl:with-param name="uriA" select="$srcurl"/> |
- <xsl:with-param name="uriB" select="$destdir"/> |
- <xsl:with-param name="return" select="'A'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="destdir.trimmed"> |
- <xsl:call-template name="trim.common.uri.paths"> |
- <xsl:with-param name="uriA" select="$srcurl"/> |
- <xsl:with-param name="uriB" select="$destdir"/> |
- <xsl:with-param name="return" select="'B'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:variable name="depth"> |
- <xsl:call-template name="count.uri.path.depth"> |
- <xsl:with-param name="filename" select="$destdir.trimmed"/> |
- </xsl:call-template> |
- </xsl:variable> |
- |
- <xsl:call-template name="copy-string"> |
- <xsl:with-param name="string" select="'../'"/> |
- <xsl:with-param name="count" select="$depth"/> |
- </xsl:call-template> |
- <xsl:value-of select="$srcurl.trimmed"/> |
- |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<xsl:template name="xml.base.dirs"> |
- <xsl:param name="base.elem" select="NONODE"/> |
- |
- <!-- Recursively resolve xml:base attributes, up to a |
- full path with : in uri --> |
- <xsl:if test="$base.elem/ancestor::*[@xml:base != ''] and |
- not(contains($base.elem/@xml:base, ':'))"> |
- <xsl:call-template name="xml.base.dirs"> |
- <xsl:with-param name="base.elem" |
- select="$base.elem/ancestor::*[@xml:base != ''][1]"/> |
- </xsl:call-template> |
- </xsl:if> |
- <xsl:call-template name="getdir"> |
- <xsl:with-param name="filename" select="$base.elem/@xml:base"/> |
- </xsl:call-template> |
- |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<xsl:template name="strippath"> |
- <xsl:param name="filename" select="''"/> |
- <xsl:choose> |
- <!-- Leading .. are not eliminated --> |
- <xsl:when test="starts-with($filename, '../')"> |
- <xsl:value-of select="'../'"/> |
- <xsl:call-template name="strippath"> |
- <xsl:with-param name="filename" select="substring-after($filename, '../')"/> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:when test="contains($filename, '/../')"> |
- <xsl:call-template name="strippath"> |
- <xsl:with-param name="filename"> |
- <xsl:call-template name="getdir"> |
- <xsl:with-param name="filename" select="substring-before($filename, '/../')"/> |
- </xsl:call-template> |
- <xsl:value-of select="substring-after($filename, '/../')"/> |
- </xsl:with-param> |
- </xsl:call-template> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:value-of select="$filename"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<xsl:template name="getdir"> |
- <xsl:param name="filename" select="''"/> |
- <xsl:if test="contains($filename, '/')"> |
- <xsl:value-of select="substring-before($filename, '/')"/> |
- <xsl:text>/</xsl:text> |
- <xsl:call-template name="getdir"> |
- <xsl:with-param name="filename" select="substring-after($filename, '/')"/> |
- </xsl:call-template> |
- </xsl:if> |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<doc:template name="string.upper" xmlns=""> |
-<refpurpose>Converts a string to all uppercase letters</refpurpose> |
- |
-<refdescription id="string.upper-desc"> |
-<para>Given a string, this template does a language-aware conversion |
-of that string to all uppercase letters, based on the values of the |
-<literal>lowercase.alpha</literal> and |
-<literal>uppercase.alpha</literal> gentext keys for the current |
-locale. It affects only those characters found in the values of |
-<literal>lowercase.alpha</literal> and |
-<literal>uppercase.alpha</literal>. All other characters are left |
-unchanged.</para> |
-</refdescription> |
- |
-<refparameter id="string.upper-params"> |
-<variablelist> |
-<varlistentry><term>string</term> |
-<listitem> |
-<para>The string to convert to uppercase.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
-</doc:template> |
-<xsl:template name="string.upper"> |
- <xsl:param name="string" select="''"/> |
- <xsl:variable name="lowercase.alpha"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'lowercase.alpha'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:variable name="uppercase.alpha"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'uppercase.alpha'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="translate($string,$lowercase.alpha,$uppercase.alpha)"/> |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<doc:template name="string.lower" xmlns=""> |
-<refpurpose>Converts a string to all lowercase letters</refpurpose> |
- |
-<refdescription id="string.lower-desc"> |
-<para>Given a string, this template does a language-aware conversion |
-of that string to all lowercase letters, based on the values of the |
-<literal>uppercase.alpha</literal> and |
-<literal>lowercase.alpha</literal> gentext keys for the current |
-locale. It affects only those characters found in the values of |
-<literal>uppercase.alpha</literal> and |
-<literal>lowercase.alpha</literal>. All other characters are left |
-unchanged.</para> |
-</refdescription> |
- |
-<refparameter id="string.lower-params"> |
-<variablelist> |
-<varlistentry><term>string</term> |
-<listitem> |
-<para>The string to convert to lowercase.</para> |
-</listitem> |
-</varlistentry> |
-</variablelist> |
-</refparameter> |
-</doc:template> |
-<xsl:template name="string.lower"> |
- <xsl:param name="string" select="''"/> |
- <xsl:variable name="uppercase.alpha"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'uppercase.alpha'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:variable name="lowercase.alpha"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="'lowercase.alpha'"/> |
- </xsl:call-template> |
- </xsl:variable> |
- <xsl:value-of select="translate($string,$uppercase.alpha,$lowercase.alpha)"/> |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<doc:template name="select.choice.separator" xmlns=""> |
- <refpurpose>Returns localized choice separator</refpurpose> |
- <refdescription id="select.choice.separator-desc"> |
- <para>This template enables auto-generation of an appropriate |
- localized "choice" separator (for example, "and" or "or") before |
- the final item in an inline list (though it could also be useful |
- for generating choice separators for non-inline lists).</para> |
- <para>It currently works by evaluating a processing instruction |
- (PI) of the form <?dbchoice choice="foo"?> : |
- <itemizedlist> |
- <listitem> |
- <simpara>if the value of the <tag>choice</tag> |
- pseudo-attribute is "and" or "or", returns a localized "and" |
- or "or"</simpara> |
- </listitem> |
- <listitem> |
- <simpara>otherwise returns the literal value of the |
- <tag>choice</tag> pseudo-attribute</simpara> |
- </listitem> |
- </itemizedlist> |
- The latter is provided only as a temporary workaround because the |
- locale files do not currently have translations for the word |
- <wordasword>or</wordasword>. So if you want to generate a a |
- logical "or" separator in French (for example), you currently need |
- to do this: |
- <literallayout><?dbchoice choice="ou"?></literallayout> |
- </para> |
- <warning> |
- <para>The <tag>dbchoice</tag> processing instruction is |
- an unfortunate hack; support for it may disappear in the future |
- (particularly if and when a more appropriate means for marking |
- up "choice" lists becomes available in DocBook).</para> |
- </warning> |
- </refdescription> |
-</doc:template> |
-<xsl:template name="select.choice.separator"> |
- <xsl:variable name="choice"> |
- <xsl:call-template name="pi.dbchoice_choice"/> |
- </xsl:variable> |
- <xsl:choose> |
- <!-- if value of $choice is "and" or "or", translate to equivalent in --> |
- <!-- current locale --> |
- <xsl:when test="$choice = 'and' or $choice = 'or'"> |
- <xsl:call-template name="gentext"> |
- <xsl:with-param name="key" select="$choice"/> |
- </xsl:call-template> |
- </xsl:when> |
- <!-- otherwise, just output value of $choice, whatever it is --> |
- <xsl:otherwise> |
- <xsl:value-of select="$choice"/> |
- </xsl:otherwise> |
- </xsl:choose> |
-</xsl:template> |
- |
-<!-- ===================================== --> |
- |
-<doc:template name="evaluate.info.profile" xmlns=""> |
- <refpurpose>Evaluates an info profile</refpurpose> |
- <refdescription id="evaluate.info.profile-desc"> |
- <para>This template evaluates an "info profile" matching the XPath |
- expression given by the <parameter>profile</parameter> |
- parameter. It relies on the XSLT <function>evaluate()</function> |
- extension function.</para> |
- |
- <para>The value of the <parameter>profile</parameter> parameter |
- can include the literal string <literal>$info</literal>. If found |
- in the value of the <parameter>profile</parameter> parameter, the |
- literal string <literal>$info</literal> string is replaced with |
- the value of the <parameter>info</parameter> parameter, which |
- should be a set of <replaceable>*info</replaceable> nodes; the |
- expression is then evaluated using the XSLT |
- <function>evaluate()</function> extension function.</para> |
- </refdescription> |
- <refparameter id="evaluate.info.profile-params"> |
- <variablelist> |
- <varlistentry> |
- <term>profile</term> |
- <listitem> |
- <para>A string representing an XPath expression </para> |
- </listitem> |
- </varlistentry> |
- <varlistentry> |
- <term>info</term> |
- <listitem> |
- <para>A set of *info nodes</para> |
- </listitem> |
- </varlistentry> |
- </variablelist> |
- </refparameter> |
- |
- <refreturn id="evaluate.info.profile-returns"> |
- <para>Returns a node (the result of evaluating the |
- <parameter>profile</parameter> parameter)</para> |
- </refreturn> |
-</doc:template> |
- <xsl:template name="evaluate.info.profile"> |
- <xsl:param name="profile"/> |
- <xsl:param name="info"/> |
- <xsl:choose> |
- <!-- * xsltproc and Xalan both support dyn:evaluate() --> |
- <xsl:when test="function-available('dyn:evaluate')"> |
- <xsl:apply-templates |
- select="dyn:evaluate($profile)" mode="get.refentry.metadata"/> |
- </xsl:when> |
- <!-- * Saxon has its own evaluate() & doesn't support dyn:evaluate() --> |
- <xsl:when test="function-available('saxon:evaluate')"> |
- <xsl:apply-templates |
- select="saxon:evaluate($profile)" mode="get.refentry.metadata"/> |
- </xsl:when> |
- <xsl:otherwise> |
- <xsl:message terminate="yes"> |
-Error: The "info profiling" mechanism currently requires an XSLT |
-engine that supports the evaluate() XSLT extension function. Your XSLT |
-engine does not support it. |
-</xsl:message> |
- </xsl:otherwise> |
- </xsl:choose> |
- </xsl:template> |
-</xsl:stylesheet> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml (nonexistent) |
@@ -1,654 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn" english-language-name="Chinese Simplified"> |
- |
-<!-- * This file is generated automatically. --> |
-<!-- * To submit changes to this file upstream (to the DocBook Project) --> |
-<!-- * do not submit an edited version of this file. Instead, submit an --> |
-<!-- * edited version of the source file at the following location: --> |
-<!-- * --> |
-<!-- * https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/zh_cn.xml --> |
-<!-- * --> |
-<!-- * E-mail the edited zh_cn.xml source file to: --> |
-<!-- * --> |
-<!-- * docbook-developers@lists.sourceforge.net --> |
- |
-<!-- ******************************************************************** --> |
- |
-<!-- This file is part of the XSL DocBook Stylesheet distribution. --> |
-<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> |
-<!-- copyright and other information. --> |
- |
-<!-- ******************************************************************** --> |
-<!-- In these files, % with a letter is used for a placeholder: --> |
-<!-- %t is the current element's title --> |
-<!-- %s is the current element's subtitle (if applicable)--> |
-<!-- %n is the current element's number label--> |
-<!-- %p is the current element's page number (if applicable)--> |
-<!-- ******************************************************************** --> |
- |
- |
-<l:gentext key="Abstract" text="摘要"/> |
-<l:gentext key="abstract" text="摘要"/> |
-<l:gentext key="Answer" text="答:"/> |
-<l:gentext key="answer" text="答:"/> |
-<l:gentext key="Appendix" text="附录"/> |
-<l:gentext key="appendix" text="附录"/> |
-<l:gentext key="Article" text="文章"/> |
-<l:gentext key="article" text="文章"/> |
-<l:gentext key="Author" text="Author" lang="en"/> |
-<l:gentext key="Bibliography" text="参考书目"/> |
-<l:gentext key="bibliography" text="参考书目"/> |
-<l:gentext key="Book" text="书"/> |
-<l:gentext key="book" text="书"/> |
-<l:gentext key="CAUTION" text="小心"/> |
-<l:gentext key="Caution" text="小心"/> |
-<l:gentext key="caution" text="小心"/> |
-<l:gentext key="Chapter" text="章"/> |
-<l:gentext key="chapter" text="章"/> |
-<l:gentext key="Colophon" text="Colophon"/> |
-<l:gentext key="colophon" text="Colophon"/> |
-<l:gentext key="Copyright" text="版权"/> |
-<l:gentext key="copyright" text="版权"/> |
-<l:gentext key="Dedication" text="题词"/> |
-<l:gentext key="dedication" text="题词"/> |
-<l:gentext key="Edition" text="版"/> |
-<l:gentext key="edition" text="版"/> |
-<l:gentext key="Editor" text="编者"/> |
-<l:gentext key="Equation" text="公式"/> |
-<l:gentext key="equation" text="公式"/> |
-<l:gentext key="Example" text="例"/> |
-<l:gentext key="example" text="例"/> |
-<l:gentext key="Figure" text="图"/> |
-<l:gentext key="figure" text="图"/> |
-<l:gentext key="Glossary" text="术语表"/> |
-<l:gentext key="glossary" text="术语表"/> |
-<l:gentext key="GlossSee" text="见"/> |
-<l:gentext key="glosssee" text="见"/> |
-<l:gentext key="GlossSeeAlso" text="参见"/> |
-<l:gentext key="glossseealso" text="参见"/> |
-<l:gentext key="IMPORTANT" text="重要"/> |
-<l:gentext key="important" text="重要"/> |
-<l:gentext key="Important" text="重要"/> |
-<l:gentext key="Index" text="索引"/> |
-<l:gentext key="index" text="索引"/> |
-<l:gentext key="ISBN" text="ISBN"/> |
-<l:gentext key="isbn" text="ISBN"/> |
-<l:gentext key="LegalNotice" text="法律通告"/> |
-<l:gentext key="legalnotice" text="法律通告"/> |
-<l:gentext key="MsgAud" text="受众"/> |
-<l:gentext key="msgaud" text="受众"/> |
-<l:gentext key="MsgLevel" text="级别"/> |
-<l:gentext key="msglevel" text="级别"/> |
-<l:gentext key="MsgOrig" text="出处"/> |
-<l:gentext key="msgorig" text="出处"/> |
-<l:gentext key="NOTE" text="注意"/> |
-<l:gentext key="Note" text="注意"/> |
-<l:gentext key="note" text="注意"/> |
-<l:gentext key="Part" text="部分"/> |
-<l:gentext key="part" text="部分"/> |
-<l:gentext key="Preface" text="前言"/> |
-<l:gentext key="preface" text="前言"/> |
-<l:gentext key="Procedure" text="过程"/> |
-<l:gentext key="procedure" text="过程"/> |
-<l:gentext key="ProductionSet" text="产品"/> |
-<l:gentext key="PubDate" text="出版日期"/> |
-<l:gentext key="pubdate" text="出版日期"/> |
-<l:gentext key="Published" text="出版方"/> |
-<l:gentext key="published" text="出版方"/> |
-<l:gentext key="Publisher" text="出版者"/> |
-<l:gentext key="Qandadiv" text="质保"/> |
-<l:gentext key="qandadiv" text="质保"/> |
-<l:gentext key="QandASet" text="常见问题"/> |
-<l:gentext key="Question" text="问:"/> |
-<l:gentext key="question" text="问:"/> |
-<l:gentext key="RefEntry" text=""/> |
-<l:gentext key="refentry" text=""/> |
-<l:gentext key="Reference" text="参考"/> |
-<l:gentext key="reference" text="参考"/> |
-<l:gentext key="References" text="参考"/> |
-<l:gentext key="RefName" text="名称"/> |
-<l:gentext key="refname" text="名称"/> |
-<l:gentext key="RefSection" text=""/> |
-<l:gentext key="refsection" text=""/> |
-<l:gentext key="RefSynopsisDiv" text="大纲"/> |
-<l:gentext key="refsynopsisdiv" text="大纲"/> |
-<l:gentext key="RevHistory" text="修订历史"/> |
-<l:gentext key="revhistory" text="修订历史"/> |
-<l:gentext key="revision" text="修订"/> |
-<l:gentext key="Revision" text="修订"/> |
-<l:gentext key="sect1" text="节"/> |
-<l:gentext key="sect2" text="节"/> |
-<l:gentext key="sect3" text="节"/> |
-<l:gentext key="sect4" text="节"/> |
-<l:gentext key="sect5" text="节"/> |
-<l:gentext key="section" text="节"/> |
-<l:gentext key="Section" text="节"/> |
-<l:gentext key="see" text="见"/> |
-<l:gentext key="See" text="见"/> |
-<l:gentext key="seealso" text="参见"/> |
-<l:gentext key="Seealso" text="参见"/> |
-<l:gentext key="SeeAlso" text="参见"/> |
-<l:gentext key="set" text="Set"/> |
-<l:gentext key="Set" text="Set"/> |
-<l:gentext key="setindex" text="Set Index"/> |
-<l:gentext key="SetIndex" text="Set Index"/> |
-<l:gentext key="Sidebar" text=""/> |
-<l:gentext key="sidebar" text="sidebar"/> |
-<l:gentext key="step" text="步骤"/> |
-<l:gentext key="Step" text="步骤"/> |
-<l:gentext key="table" text="表"/> |
-<l:gentext key="Table" text="表"/> |
-<l:gentext key="task" text="任务"/> |
-<l:gentext key="Task" text="任务"/> |
-<l:gentext key="tip" text="提示"/> |
-<l:gentext key="TIP" text="提示"/> |
-<l:gentext key="Tip" text="提示"/> |
-<l:gentext key="Warning" text="警告"/> |
-<l:gentext key="warning" text="警告"/> |
-<l:gentext key="WARNING" text="警告"/> |
-<l:gentext key="and" text="和"/> |
-<l:gentext key="by" text="由"/> |
-<l:gentext key="Edited" text="编辑时间"/> |
-<l:gentext key="edited" text="编辑时间"/> |
-<l:gentext key="Editedby" text="编辑者"/> |
-<l:gentext key="editedby" text="编辑者"/> |
-<l:gentext key="in" text="于"/> |
-<l:gentext key="lastlistcomma" text=""/> |
-<l:gentext key="listcomma" text="、"/> |
-<l:gentext key="nonexistantelement" text="不存在的元素"/> |
-<l:gentext key="notes" text="备注"/> |
-<l:gentext key="Notes" text="备注"/> |
-<l:gentext key="Pgs" text="页"/> |
-<l:gentext key="pgs" text="页"/> |
-<l:gentext key="Revisedby" text="修订者:"/> |
-<l:gentext key="revisedby" text="修订者:"/> |
-<l:gentext key="TableNotes" text="表注"/> |
-<l:gentext key="tablenotes" text="表注"/> |
-<l:gentext key="TableofContents" text="目录"/> |
-<l:gentext key="tableofcontents" text="目录"/> |
-<l:gentext key="unexpectedelementname" text="未预期的名称"/> |
-<l:gentext key="unsupported" text="不支持"/> |
-<l:gentext key="xrefto" text="xref to"/> |
-<l:gentext key="Authors" text="作者"/> |
-<l:gentext key="copyeditor" text="版权编辑"/> |
-<l:gentext key="graphicdesigner" text="美术编辑"/> |
-<l:gentext key="productioneditor" text="产品编辑"/> |
-<l:gentext key="technicaleditor" text="技术编辑"/> |
-<l:gentext key="translator" text="译者"/> |
-<l:gentext key="listofequations" text="公式清单"/> |
-<l:gentext key="ListofEquations" text="公式清单"/> |
-<l:gentext key="ListofExamples" text="范例清单"/> |
-<l:gentext key="listofexamples" text="范例清单"/> |
-<l:gentext key="ListofFigures" text="插图清单"/> |
-<l:gentext key="listoffigures" text="插图清单"/> |
-<l:gentext key="ListofProcedures" text="过程清单"/> |
-<l:gentext key="listofprocedures" text="过程清单"/> |
-<l:gentext key="listoftables" text="表格清单"/> |
-<l:gentext key="ListofTables" text="表格清单"/> |
-<l:gentext key="ListofUnknown" text="未知清单"/> |
-<l:gentext key="listofunknown" text="未知清单"/> |
-<l:gentext key="nav-home" text="起始页"/> |
-<l:gentext key="nav-next" text="下一页"/> |
-<l:gentext key="nav-next-sibling" text="快进"/> |
-<l:gentext key="nav-prev" text="上一页"/> |
-<l:gentext key="nav-prev-sibling" text="快退"/> |
-<l:gentext key="nav-up" text="上一级"/> |
-<l:gentext key="nav-toc" text="目录"/> |
-<l:gentext key="Draft" text="草稿"/> |
-<l:gentext key="above" text="以上"/> |
-<l:gentext key="below" text="以下"/> |
-<l:gentext key="sectioncalled" text="一节"/> |
-<l:gentext key="index symbols" text="符号"/> |
-<l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> |
-<l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> |
-<l:gentext key="normalize.sort.input" text="AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ" lang="en"/> |
-<l:gentext key="normalize.sort.output" text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ" lang="en"/> |
-<l:dingbat key="startquote" text="“"/> |
-<l:dingbat key="endquote" text="”"/> |
-<l:dingbat key="nestedstartquote" text="‘"/> |
-<l:dingbat key="nestedendquote" text="’"/> |
-<l:dingbat key="singlestartquote" text="‘"/> |
-<l:dingbat key="singleendquote" text="’"/> |
-<l:dingbat key="bullet" text="·"/> |
-<l:gentext key="hyphenation-character" text="-"/> |
-<l:gentext key="hyphenation-push-character-count" text="2"/> |
-<l:gentext key="hyphenation-remain-character-count" text="2"/> |
-<l:context name="styles"><l:template name="person-name" text="first-last"/> |
-</l:context> |
-<l:context name="title"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="%t"/> |
-<l:template name="appendix" text="附录 %n. %t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="biblioentry" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliolist" text="%t"/> |
-<l:template name="bibliomixed" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="第 %n 章 %t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="公式 %n. %t"/> |
-<l:template name="example" text="例 %n. %t"/> |
-<l:template name="figure" text="图 %n. %t"/> |
-<l:template name="foil" text="%t" lang="en"/> |
-<l:template name="foilgroup" text="%t" lang="en"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="glosslist" text="%t"/> |
-<l:template name="glossentry" text="%t"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text=""/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="第 %n 部分 %t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="procedure.formal" text="过程 %n. %t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="productionset.formal" text="产品 %n"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="%t"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="%t"/> |
-<l:template name="refentry" text="%t"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsection" text="%t"/> |
-<l:template name="refsect1" text="%t"/> |
-<l:template name="refsect2" text="%t"/> |
-<l:template name="refsect3" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="refsynopsisdivinfo" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="step" text="%t"/> |
-<l:template name="table" text="表 %n. %t"/> |
-<l:template name="task" text="%t"/> |
-<l:template name="tasksummary" text="%t" lang="en"/> |
-<l:template name="taskprerequisites" text="%t" lang="en"/> |
-<l:template name="taskrelated" text="%t" lang="en"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text=""/> |
-<l:template name="warning" text="%t"/> |
-</l:context> |
-<l:context name="title-unnumbered"><l:template name="appendix" text="%t"/> |
-<l:template name="article/appendix" text="%t"/> |
-<l:template name="bridgehead" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="sect1" text="%t"/> |
-<l:template name="sect2" text="%t"/> |
-<l:template name="sect3" text="%t"/> |
-<l:template name="sect4" text="%t"/> |
-<l:template name="sect5" text="%t"/> |
-<l:template name="section" text="%t"/> |
-<l:template name="simplesect" text="%t"/> |
-<l:template name="part" text="%t" lang="en"/> |
-</l:context> |
-<l:context name="title-numbered"><l:template name="appendix" text="附录 %n. %t"/> |
-<l:template name="article/appendix" text="%n. %t"/> |
-<l:template name="bridgehead" text="%n. %t"/> |
-<l:template name="chapter" text="第 %n 章 %t"/> |
-<l:template name="part" text="部分 %n. %t"/> |
-<l:template name="sect1" text="%n. %t"/> |
-<l:template name="sect2" text="%n. %t"/> |
-<l:template name="sect3" text="%n. %t"/> |
-<l:template name="sect4" text="%n. %t"/> |
-<l:template name="sect5" text="%n. %t"/> |
-<l:template name="section" text="%n. %t"/> |
-<l:template name="simplesect" text="%t"/> |
-</l:context> |
-<l:context name="subtitle"><l:template name="appendix" text="%s"/> |
-<l:template name="article" text="%s"/> |
-<l:template name="bibliodiv" text="%s"/> |
-<l:template name="biblioentry" text="%s"/> |
-<l:template name="bibliography" text="%s"/> |
-<l:template name="bibliomixed" text="%s"/> |
-<l:template name="bibliomset" text="%s"/> |
-<l:template name="biblioset" text="%s"/> |
-<l:template name="book" text="%s"/> |
-<l:template name="chapter" text="%s"/> |
-<l:template name="colophon" text="%s"/> |
-<l:template name="dedication" text="%s"/> |
-<l:template name="glossary" text="%s"/> |
-<l:template name="glossdiv" text="%s"/> |
-<l:template name="index" text="%s"/> |
-<l:template name="indexdiv" text="%s"/> |
-<l:template name="lot" text="%s"/> |
-<l:template name="part" text="%s"/> |
-<l:template name="partintro" text="%s"/> |
-<l:template name="preface" text="%s"/> |
-<l:template name="refentry" text="%s"/> |
-<l:template name="reference" text="%s"/> |
-<l:template name="refsection" text="%s"/> |
-<l:template name="refsect1" text="%s"/> |
-<l:template name="refsect2" text="%s"/> |
-<l:template name="refsect3" text="%s"/> |
-<l:template name="refsynopsisdiv" text="%s"/> |
-<l:template name="sect1" text="%s"/> |
-<l:template name="sect2" text="%s"/> |
-<l:template name="sect3" text="%s"/> |
-<l:template name="sect4" text="%s"/> |
-<l:template name="sect5" text="%s"/> |
-<l:template name="section" text="%s"/> |
-<l:template name="set" text="%s"/> |
-<l:template name="setindex" text="%s"/> |
-<l:template name="sidebar" text="%s"/> |
-<l:template name="simplesect" text="%s"/> |
-<l:template name="toc" text="%s"/> |
-</l:context> |
-<l:context name="xref"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="答: %n"/> |
-<l:template name="appendix" text="%t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="constraintdef" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="%t"/> |
-<l:template name="example" text="%t"/> |
-<l:template name="figure" text="%t"/> |
-<l:template name="foil" text="%t" lang="en"/> |
-<l:template name="foilgroup" text="%t" lang="en"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text="%n"/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="%t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="问: %n"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="问: %n"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="table" text="%t"/> |
-<l:template name="task" text="%t" lang="en"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text="%n"/> |
-<l:template name="warning" text="%t"/> |
-<l:template name="olink.document.citation" text=" in %o" lang="en"/> |
-<l:template name="olink.page.citation" text=" (page %p)" lang="en"/> |
-<l:template name="page.citation" text=" [%p]"/> |
-<l:template name="page" text="(第 %p 页)"/> |
-<l:template name="docname" text=" in %o" lang="en"/> |
-<l:template name="docnamelong" text=" in the document titled %o" lang="en"/> |
-<l:template name="pageabbrev" text="(第 %p 页)"/> |
-<l:template name="Page" text="第 %p 页"/> |
-<l:template name="bridgehead" text="“%t”一节"/> |
-<l:template name="refsection" text="“%t”一节"/> |
-<l:template name="refsect1" text="“%t”一节"/> |
-<l:template name="refsect2" text="“%t”一节"/> |
-<l:template name="refsect3" text="“%t”一节"/> |
-<l:template name="sect1" text="“%t”一节"/> |
-<l:template name="sect2" text="“%t”一节"/> |
-<l:template name="sect3" text="“%t”一节"/> |
-<l:template name="sect4" text="“%t”一节"/> |
-<l:template name="sect5" text="“%t”一节"/> |
-<l:template name="section" text="“%t”一节"/> |
-<l:template name="simplesect" text="“%t”一节"/> |
-</l:context> |
-<l:context name="xref-number"><l:template name="answer" text="答: %n"/> |
-<l:template name="appendix" text="附录 %n"/> |
-<l:template name="bridgehead" text="第 %n 节"/> |
-<l:template name="chapter" text="第 %n 章"/> |
-<l:template name="equation" text="公式 %n"/> |
-<l:template name="example" text="例 %n"/> |
-<l:template name="figure" text="图 %n"/> |
-<l:template name="part" text="第 %n 部分"/> |
-<l:template name="procedure" text="过程 %n"/> |
-<l:template name="productionset" text="产品 %n"/> |
-<l:template name="qandadiv" text="质保 %n"/> |
-<l:template name="qandaentry" text="问: %n"/> |
-<l:template name="question" text="问: %n"/> |
-<l:template name="sect1" text="第 %n 节"/> |
-<l:template name="sect2" text="第 %n 节"/> |
-<l:template name="sect3" text="第 %n 节"/> |
-<l:template name="sect4" text="第 %n 节"/> |
-<l:template name="sect5" text="第 %n 节"/> |
-<l:template name="section" text="第 %n 节"/> |
-<l:template name="table" text="表 %n"/> |
-</l:context> |
-<l:context name="xref-number-and-title"><l:template name="appendix" text="附录 %n, %t"/> |
-<l:template name="bridgehead" text="第 %n 节 “%t”"/> |
-<l:template name="chapter" text="第 %n 章 %t"/> |
-<l:template name="equation" text="公式 %n “%t”"/> |
-<l:template name="example" text="例 %n “%t”"/> |
-<l:template name="figure" text="图 %n “%t”"/> |
-<l:template name="part" text="第 %n 部分 “%t”"/> |
-<l:template name="procedure" text="过程 %n, “%t”"/> |
-<l:template name="productionset" text="产品 %n, “%t”"/> |
-<l:template name="qandadiv" text="质保 %n, “%t”"/> |
-<l:template name="refsect1" text="“%t”一节"/> |
-<l:template name="refsect2" text="“%t”一节"/> |
-<l:template name="refsect3" text="“%t”一节"/> |
-<l:template name="refsection" text="“%t”一节"/> |
-<l:template name="sect1" text="第 %n 节 “%t”"/> |
-<l:template name="sect2" text="第 %n 节 “%t”"/> |
-<l:template name="sect3" text="第 %n 节 “%t”"/> |
-<l:template name="sect4" text="第 %n 节 “%t”"/> |
-<l:template name="sect5" text="第 %n 节 “%t”"/> |
-<l:template name="section" text="第 %n 节 “%t”"/> |
-<l:template name="simplesect" text="“%t”一节"/> |
-<l:template name="table" text="表 %n “%t”"/> |
-</l:context> |
-<l:context name="authorgroup"><l:template name="sep" text="、"/> |
-<l:template name="sep2" text="和"/> |
-<l:template name="seplast" text="和"/> |
-</l:context> |
-<l:context name="glossary"><l:template name="see" text="见%t"/> |
-<l:template name="seealso" text="参见%t"/> |
-</l:context> |
-<l:context name="msgset"><l:template name="MsgAud" text="受众:"/> |
-<l:template name="MsgLevel" text="级别:"/> |
-<l:template name="MsgOrig" text="出处:"/> |
-</l:context> |
-<l:context name="datetime"><l:template name="format" text="Y-m-d"/> |
-</l:context> |
-<l:context name="termdef"><l:template name="prefix" text="[Definition: " lang="en"/> |
-<l:template name="suffix" text="]" lang="en"/> |
-</l:context> |
-<l:context name="datetime-full"><l:template name="January" text="一月"/> |
-<l:template name="February" text="二月"/> |
-<l:template name="March" text="三月"/> |
-<l:template name="April" text="四月"/> |
-<l:template name="May" text="五月"/> |
-<l:template name="June" text="六月"/> |
-<l:template name="July" text="七月"/> |
-<l:template name="August" text="八月"/> |
-<l:template name="September" text="九月"/> |
-<l:template name="October" text="十月"/> |
-<l:template name="November" text="十一月"/> |
-<l:template name="December" text="十二月"/> |
-<l:template name="Monday" text="星期一"/> |
-<l:template name="Tuesday" text="星期二"/> |
-<l:template name="Wednesday" text="星期三"/> |
-<l:template name="Thursday" text="星期四"/> |
-<l:template name="Friday" text="星期五"/> |
-<l:template name="Saturday" text="星期六"/> |
-<l:template name="Sunday" text="星期日"/> |
-</l:context> |
-<l:context name="datetime-abbrev"><l:template name="Jan" text="一月"/> |
-<l:template name="Feb" text="二月"/> |
-<l:template name="Mar" text="三月"/> |
-<l:template name="Apr" text="四月"/> |
-<l:template name="May" text="五月"/> |
-<l:template name="Jun" text="六月"/> |
-<l:template name="Jul" text="七月"/> |
-<l:template name="Aug" text="八月"/> |
-<l:template name="Sep" text="九月"/> |
-<l:template name="Oct" text="十月"/> |
-<l:template name="Nov" text="十一月"/> |
-<l:template name="Dec" text="十二月"/> |
-<l:template name="Mon" text="周一"/> |
-<l:template name="Tue" text="周二"/> |
-<l:template name="Wed" text="周三"/> |
-<l:template name="Thu" text="周四"/> |
-<l:template name="Fri" text="周五"/> |
-<l:template name="Sat" text="周六"/> |
-<l:template name="Sun" text="周日"/> |
-</l:context> |
-<l:context name="htmlhelp"><l:template name="langcode" text="0x0804 Chinese (CHINA)"/> |
-</l:context> |
-<l:context name="index"><l:template name="term-separator" text=", " lang="en"/> |
-<l:template name="number-separator" text=", " lang="en"/> |
-<l:template name="range-separator" text="-" lang="en"/> |
-</l:context> |
-<l:context name="iso690"><l:template name="lastfirst.sep" text=", " lang="en"/> |
-<l:template name="alt.person.two.sep" text=" – " lang="en"/> |
-<l:template name="alt.person.last.sep" text=" – " lang="en"/> |
-<l:template name="alt.person.more.sep" text=" – " lang="en"/> |
-<l:template name="primary.editor" text=" (ed.)" lang="en"/> |
-<l:template name="primary.many" text=", et al." lang="en"/> |
-<l:template name="primary.sep" text=". " lang="en"/> |
-<l:template name="submaintitle.sep" text=": " lang="en"/> |
-<l:template name="title.sep" text=". " lang="en"/> |
-<l:template name="othertitle.sep" text=", " lang="en"/> |
-<l:template name="medium1" text=" [" lang="en"/> |
-<l:template name="medium2" text="]" lang="en"/> |
-<l:template name="secondary.person.sep" text="; " lang="en"/> |
-<l:template name="secondary.sep" text=". " lang="en"/> |
-<l:template name="respons.sep" text=". " lang="en"/> |
-<l:template name="edition.sep" text=". " lang="en"/> |
-<l:template name="edition.serial.sep" text=", " lang="en"/> |
-<l:template name="issuing.range" text="-" lang="en"/> |
-<l:template name="issuing.div" text=", " lang="en"/> |
-<l:template name="issuing.sep" text=". " lang="en"/> |
-<l:template name="partnr.sep" text=". " lang="en"/> |
-<l:template name="placepubl.sep" text=": " lang="en"/> |
-<l:template name="publyear.sep" text=", " lang="en"/> |
-<l:template name="pubinfo.sep" text=". " lang="en"/> |
-<l:template name="spec.pubinfo.sep" text=", " lang="en"/> |
-<l:template name="upd.sep" text=", " lang="en"/> |
-<l:template name="datecit1" text=" [cited " lang="en"/> |
-<l:template name="datecit2" text="]" lang="en"/> |
-<l:template name="extent.sep" text=". " lang="en"/> |
-<l:template name="locs.sep" text=", " lang="en"/> |
-<l:template name="location.sep" text=". " lang="en"/> |
-<l:template name="serie.sep" text=". " lang="en"/> |
-<l:template name="notice.sep" text=". " lang="en"/> |
-<l:template name="access" text="Available " lang="en"/> |
-<l:template name="acctoo" text="Also available " lang="en"/> |
-<l:template name="onwww" text="from World Wide Web" lang="en"/> |
-<l:template name="oninet" text="from Internet" lang="en"/> |
-<l:template name="access.end" text=": " lang="en"/> |
-<l:template name="link1" text="<" lang="en"/> |
-<l:template name="link2" text=">" lang="en"/> |
-<l:template name="access.sep" text=". " lang="en"/> |
-<l:template name="isbn" text="ISBN " lang="en"/> |
-<l:template name="issn" text="ISSN " lang="en"/> |
-<l:template name="stdnum.sep" text=". " lang="en"/> |
-<l:template name="patcountry.sep" text=". " lang="en"/> |
-<l:template name="pattype.sep" text=", " lang="en"/> |
-<l:template name="patnum.sep" text=". " lang="en"/> |
-<l:template name="patdate.sep" text=". " lang="en"/> |
-</l:context><l:letters><l:l i="-1"/> |
-<l:l i="0">其它</l:l> |
-<l:l i="10">A</l:l> |
-<l:l i="10">a</l:l> |
-<l:l i="20">B</l:l> |
-<l:l i="20">b</l:l> |
-<l:l i="30">C</l:l> |
-<l:l i="30">c</l:l> |
-<l:l i="40">D</l:l> |
-<l:l i="40">d</l:l> |
-<l:l i="50">E</l:l> |
-<l:l i="50">e</l:l> |
-<l:l i="60">F</l:l> |
-<l:l i="60">f</l:l> |
-<l:l i="70">G</l:l> |
-<l:l i="70">g</l:l> |
-<l:l i="80">H</l:l> |
-<l:l i="80">h</l:l> |
-<l:l i="90">I</l:l> |
-<l:l i="90">i</l:l> |
-<l:l i="100">J</l:l> |
-<l:l i="100">j</l:l> |
-<l:l i="110">K</l:l> |
-<l:l i="110">k</l:l> |
-<l:l i="120">L</l:l> |
-<l:l i="120">l</l:l> |
-<l:l i="130">M</l:l> |
-<l:l i="130">m</l:l> |
-<l:l i="140">N</l:l> |
-<l:l i="140">n</l:l> |
-<l:l i="150">O</l:l> |
-<l:l i="150">o</l:l> |
-<l:l i="160">P</l:l> |
-<l:l i="160">p</l:l> |
-<l:l i="170">Q</l:l> |
-<l:l i="170">q</l:l> |
-<l:l i="180">R</l:l> |
-<l:l i="180">r</l:l> |
-<l:l i="190">S</l:l> |
-<l:l i="190">s</l:l> |
-<l:l i="200">T</l:l> |
-<l:l i="200">t</l:l> |
-<l:l i="210">U</l:l> |
-<l:l i="210">u</l:l> |
-<l:l i="220">V</l:l> |
-<l:l i="220">v</l:l> |
-<l:l i="230">W</l:l> |
-<l:l i="230">w</l:l> |
-<l:l i="240">X</l:l> |
-<l:l i="240">x</l:l> |
-<l:l i="250">Y</l:l> |
-<l:l i="250">y</l:l> |
-<l:l i="260">Z</l:l> |
-<l:l i="260">z</l:l> |
-</l:letters> |
-</l:l10n> |
Index: stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml |
=================================================================== |
--- stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml (revision 5897) |
+++ stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml (nonexistent) |
@@ -1,1223 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en" english-language-name="English"> |
- |
-<!-- * This file is generated automatically. --> |
-<!-- * To submit changes to this file upstream (to the DocBook Project) --> |
-<!-- * do not submit an edited version of this file. Instead, submit an --> |
-<!-- * edited version of the source file at the following location: --> |
-<!-- * --> |
-<!-- * https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/en.xml --> |
-<!-- * --> |
-<!-- * E-mail the edited en.xml source file to: --> |
-<!-- * --> |
-<!-- * docbook-developers@lists.sourceforge.net --> |
- |
-<!-- ******************************************************************** --> |
- |
-<!-- This file is part of the XSL DocBook Stylesheet distribution. --> |
-<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> |
-<!-- copyright and other information. --> |
- |
-<!-- ******************************************************************** --> |
-<!-- In these files, % with a letter is used for a placeholder: --> |
-<!-- %t is the current element's title --> |
-<!-- %s is the current element's subtitle (if applicable)--> |
-<!-- %n is the current element's number label--> |
-<!-- %p is the current element's page number (if applicable)--> |
-<!-- ******************************************************************** --> |
- |
- |
-<l:gentext key="Abstract" text="Abstract"/> |
-<l:gentext key="abstract" text="Abstract"/> |
-<l:gentext key="Answer" text="A:"/> |
-<l:gentext key="answer" text="A:"/> |
-<l:gentext key="Appendix" text="Appendix"/> |
-<l:gentext key="appendix" text="Appendix"/> |
-<l:gentext key="Article" text="Article"/> |
-<l:gentext key="article" text="Article"/> |
-<l:gentext key="Author" text="Author"/> |
-<l:gentext key="Bibliography" text="Bibliography"/> |
-<l:gentext key="bibliography" text="Bibliography"/> |
-<l:gentext key="Book" text="Book"/> |
-<l:gentext key="book" text="Book"/> |
-<l:gentext key="CAUTION" text="CAUTION"/> |
-<l:gentext key="Caution" text="Caution"/> |
-<l:gentext key="caution" text="Caution"/> |
-<l:gentext key="Chapter" text="Chapter"/> |
-<l:gentext key="chapter" text="Chapter"/> |
-<l:gentext key="Colophon" text="Colophon"/> |
-<l:gentext key="colophon" text="Colophon"/> |
-<l:gentext key="Copyright" text="Copyright"/> |
-<l:gentext key="copyright" text="Copyright"/> |
-<l:gentext key="Dedication" text="Dedication"/> |
-<l:gentext key="dedication" text="Dedication"/> |
-<l:gentext key="Edition" text="Edition"/> |
-<l:gentext key="edition" text="Edition"/> |
-<l:gentext key="Editor" text="Editor"/> |
-<l:gentext key="Equation" text="Equation"/> |
-<l:gentext key="equation" text="Equation"/> |
-<l:gentext key="Example" text="Example"/> |
-<l:gentext key="example" text="Example"/> |
-<l:gentext key="Figure" text="Figure"/> |
-<l:gentext key="figure" text="Figure"/> |
-<l:gentext key="Glossary" text="Glossary"/> |
-<l:gentext key="glossary" text="Glossary"/> |
-<l:gentext key="GlossSee" text="See"/> |
-<l:gentext key="glosssee" text="See"/> |
-<l:gentext key="GlossSeeAlso" text="See Also"/> |
-<l:gentext key="glossseealso" text="See Also"/> |
-<l:gentext key="IMPORTANT" text="IMPORTANT"/> |
-<l:gentext key="important" text="Important"/> |
-<l:gentext key="Important" text="Important"/> |
-<l:gentext key="Index" text="Index"/> |
-<l:gentext key="index" text="Index"/> |
-<l:gentext key="ISBN" text="ISBN"/> |
-<l:gentext key="isbn" text="ISBN"/> |
-<l:gentext key="LegalNotice" text="Legal Notice"/> |
-<l:gentext key="legalnotice" text="Legal Notice"/> |
-<l:gentext key="MsgAud" text="Audience"/> |
-<l:gentext key="msgaud" text="Audience"/> |
-<l:gentext key="MsgLevel" text="Level"/> |
-<l:gentext key="msglevel" text="Level"/> |
-<l:gentext key="MsgOrig" text="Origin"/> |
-<l:gentext key="msgorig" text="Origin"/> |
-<l:gentext key="NOTE" text="NOTE"/> |
-<l:gentext key="Note" text="Note"/> |
-<l:gentext key="note" text="Note"/> |
-<l:gentext key="Part" text="Part"/> |
-<l:gentext key="part" text="Part"/> |
-<l:gentext key="Preface" text="Preface"/> |
-<l:gentext key="preface" text="Preface"/> |
-<l:gentext key="Procedure" text="Procedure"/> |
-<l:gentext key="procedure" text="Procedure"/> |
-<l:gentext key="ProductionSet" text="Production"/> |
-<l:gentext key="PubDate" text="Publication Date"/> |
-<l:gentext key="pubdate" text="Publication date"/> |
-<l:gentext key="Published" text="Published"/> |
-<l:gentext key="published" text="Published"/> |
-<l:gentext key="Publisher" text="Publisher"/> |
-<l:gentext key="Qandadiv" text="Q & A"/> |
-<l:gentext key="qandadiv" text="Q & A"/> |
-<l:gentext key="QandASet" text="Frequently Asked Questions"/> |
-<l:gentext key="Question" text="Q:"/> |
-<l:gentext key="question" text="Q:"/> |
-<l:gentext key="RefEntry" text=""/> |
-<l:gentext key="refentry" text=""/> |
-<l:gentext key="Reference" text="Reference"/> |
-<l:gentext key="reference" text="Reference"/> |
-<l:gentext key="References" text="References"/> |
-<l:gentext key="RefName" text="Name"/> |
-<l:gentext key="refname" text="Name"/> |
-<l:gentext key="RefSection" text=""/> |
-<l:gentext key="refsection" text=""/> |
-<l:gentext key="RefSynopsisDiv" text="Synopsis"/> |
-<l:gentext key="refsynopsisdiv" text="Synopsis"/> |
-<l:gentext key="RevHistory" text="Revision History"/> |
-<l:gentext key="revhistory" text="Revision History"/> |
-<l:gentext key="revision" text="Revision"/> |
-<l:gentext key="Revision" text="Revision"/> |
-<l:gentext key="sect1" text="Section"/> |
-<l:gentext key="sect2" text="Section"/> |
-<l:gentext key="sect3" text="Section"/> |
-<l:gentext key="sect4" text="Section"/> |
-<l:gentext key="sect5" text="Section"/> |
-<l:gentext key="section" text="Section"/> |
-<l:gentext key="Section" text="Section"/> |
-<l:gentext key="see" text="see"/> |
-<l:gentext key="See" text="See"/> |
-<l:gentext key="seealso" text="see also"/> |
-<l:gentext key="Seealso" text="See also"/> |
-<l:gentext key="SeeAlso" text="See Also"/> |
-<l:gentext key="set" text="Set"/> |
-<l:gentext key="Set" text="Set"/> |
-<l:gentext key="setindex" text="Set Index"/> |
-<l:gentext key="SetIndex" text="Set Index"/> |
-<l:gentext key="Sidebar" text=""/> |
-<l:gentext key="sidebar" text="sidebar"/> |
-<l:gentext key="step" text="step"/> |
-<l:gentext key="Step" text="Step"/> |
-<l:gentext key="table" text="Table"/> |
-<l:gentext key="Table" text="Table"/> |
-<l:gentext key="task" text="Task"/> |
-<l:gentext key="Task" text="Task"/> |
-<l:gentext key="tip" text="Tip"/> |
-<l:gentext key="TIP" text="TIP"/> |
-<l:gentext key="Tip" text="Tip"/> |
-<l:gentext key="Warning" text="Warning"/> |
-<l:gentext key="warning" text="Warning"/> |
-<l:gentext key="WARNING" text="WARNING"/> |
-<l:gentext key="and" text="and"/> |
-<l:gentext key="by" text="by"/> |
-<l:gentext key="Edited" text="Edited"/> |
-<l:gentext key="edited" text="Edited"/> |
-<l:gentext key="Editedby" text="Edited by"/> |
-<l:gentext key="editedby" text="Edited by"/> |
-<l:gentext key="in" text="in"/> |
-<l:gentext key="lastlistcomma" text=","/> |
-<l:gentext key="listcomma" text=","/> |
-<l:gentext key="nonexistantelement" text="non-existant element"/> |
-<l:gentext key="notes" text="Notes"/> |
-<l:gentext key="Notes" text="Notes"/> |
-<l:gentext key="Pgs" text="Pgs."/> |
-<l:gentext key="pgs" text="Pgs."/> |
-<l:gentext key="Revisedby" text="Revised by: "/> |
-<l:gentext key="revisedby" text="Revised by: "/> |
-<l:gentext key="TableNotes" text="Notes"/> |
-<l:gentext key="tablenotes" text="Notes"/> |
-<l:gentext key="TableofContents" text="Table of Contents"/> |
-<l:gentext key="tableofcontents" text="Table of Contents"/> |
-<l:gentext key="unexpectedelementname" text="Unexpected element name"/> |
-<l:gentext key="unsupported" text="unsupported"/> |
-<l:gentext key="xrefto" text="xref to"/> |
-<l:gentext key="Authors" text="Authors"/> |
-<l:gentext key="copyeditor" text="Copy Editor"/> |
-<l:gentext key="graphicdesigner" text="Graphic Designer"/> |
-<l:gentext key="productioneditor" text="Production Editor"/> |
-<l:gentext key="technicaleditor" text="Technical Editor"/> |
-<l:gentext key="translator" text="Translator"/> |
-<l:gentext key="listofequations" text="List of Equations"/> |
-<l:gentext key="ListofEquations" text="List of Equations"/> |
-<l:gentext key="ListofExamples" text="List of Examples"/> |
-<l:gentext key="listofexamples" text="List of Examples"/> |
-<l:gentext key="ListofFigures" text="List of Figures"/> |
-<l:gentext key="listoffigures" text="List of Figures"/> |
-<l:gentext key="ListofProcedures" text="List of Procedures"/> |
-<l:gentext key="listofprocedures" text="List of Procedures"/> |
-<l:gentext key="listoftables" text="List of Tables"/> |
-<l:gentext key="ListofTables" text="List of Tables"/> |
-<l:gentext key="ListofUnknown" text="List of Unknown"/> |
-<l:gentext key="listofunknown" text="List of Unknown"/> |
-<l:gentext key="nav-home" text="Home"/> |
-<l:gentext key="nav-next" text="Next"/> |
-<l:gentext key="nav-next-sibling" text="Fast Forward"/> |
-<l:gentext key="nav-prev" text="Prev"/> |
-<l:gentext key="nav-prev-sibling" text="Fast Backward"/> |
-<l:gentext key="nav-up" text="Up"/> |
-<l:gentext key="nav-toc" text="ToC"/> |
-<l:gentext key="Draft" text="Draft"/> |
-<l:gentext key="above" text="above"/> |
-<l:gentext key="below" text="below"/> |
-<l:gentext key="sectioncalled" text="the section called"/> |
-<l:gentext key="index symbols" text="Symbols"/> |
-<l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> |
-<l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> |
-<l:gentext key="normalize.sort.input" text="AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ"/> |
-<l:gentext key="normalize.sort.output" text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ"/> |
-<l:dingbat key="startquote" text="“"/> |
-<l:dingbat key="endquote" text="”"/> |
-<l:dingbat key="nestedstartquote" text="‘"/> |
-<l:dingbat key="nestedendquote" text="’"/> |
-<l:dingbat key="singlestartquote" text="‘"/> |
-<l:dingbat key="singleendquote" text="’"/> |
-<l:dingbat key="bullet" text="•"/> |
-<l:gentext key="hyphenation-character" text="-"/> |
-<l:gentext key="hyphenation-push-character-count" text="2"/> |
-<l:gentext key="hyphenation-remain-character-count" text="2"/> |
-<l:context name="styles"><l:template name="person-name" text="first-last"/> |
-</l:context> |
-<l:context name="title"><l:template name="abstract" text="%t"/> |
-<l:template name="answer" text="%t"/> |
-<l:template name="appendix" text="Appendix %n. %t"/> |
-<l:template name="article" text="%t"/> |
-<l:template name="authorblurb" text="%t"/> |
-<l:template name="bibliodiv" text="%t"/> |
-<l:template name="biblioentry" text="%t"/> |
-<l:template name="bibliography" text="%t"/> |
-<l:template name="bibliolist" text="%t"/> |
-<l:template name="bibliomixed" text="%t"/> |
-<l:template name="bibliomset" text="%t"/> |
-<l:template name="biblioset" text="%t"/> |
-<l:template name="blockquote" text="%t"/> |
-<l:template name="book" text="%t"/> |
-<l:template name="calloutlist" text="%t"/> |
-<l:template name="caution" text="%t"/> |
-<l:template name="chapter" text="Chapter %n. %t"/> |
-<l:template name="colophon" text="%t"/> |
-<l:template name="dedication" text="%t"/> |
-<l:template name="equation" text="Equation %n. %t"/> |
-<l:template name="example" text="Example %n. %t"/> |
-<l:template name="figure" text="Figure %n. %t"/> |
-<l:template name="foil" text="%t"/> |
-<l:template name="foilgroup" text="%t"/> |
-<l:template name="formalpara" text="%t"/> |
-<l:template name="glossary" text="%t"/> |
-<l:template name="glossdiv" text="%t"/> |
-<l:template name="glosslist" text="%t"/> |
-<l:template name="glossentry" text="%t"/> |
-<l:template name="important" text="%t"/> |
-<l:template name="index" text="%t"/> |
-<l:template name="indexdiv" text="%t"/> |
-<l:template name="itemizedlist" text="%t"/> |
-<l:template name="legalnotice" text="%t"/> |
-<l:template name="listitem" text=""/> |
-<l:template name="lot" text="%t"/> |
-<l:template name="msg" text="%t"/> |
-<l:template name="msgexplan" text="%t"/> |
-<l:template name="msgmain" text="%t"/> |
-<l:template name="msgrel" text="%t"/> |
-<l:template name="msgset" text="%t"/> |
-<l:template name="msgsub" text="%t"/> |
-<l:template name="note" text="%t"/> |
-<l:template name="orderedlist" text="%t"/> |
-<l:template name="part" text="Part %n. %t"/> |
-<l:template name="partintro" text="%t"/> |
-<l:template name="preface" text="%t"/> |
-<l:template name="procedure" text="%t"/> |
-<l:template name="procedure.formal" text="Procedure %n. %t"/> |
-<l:template name="productionset" text="%t"/> |
-<l:template name="productionset.formal" text="Production %n"/> |
-<l:template name="qandadiv" text="%t"/> |
-<l:template name="qandaentry" text="%t"/> |
-<l:template name="qandaset" text="%t"/> |
-<l:template name="question" text="%t"/> |
-<l:template name="refentry" text="%t"/> |
-<l:template name="reference" text="%t"/> |
-<l:template name="refsection" text="%t"/> |
-<l:template name="refsect1" text="%t"/> |
-<l:template name="refsect2" text="%t"/> |
-<l:template name="refsect3" text="%t"/> |
-<l:template name="refsynopsisdiv" text="%t"/> |
-<l:template name="refsynopsisdivinfo" text="%t"/> |
-<l:template name="segmentedlist" text="%t"/> |
-<l:template name="set" text="%t"/> |
-<l:template name="setindex" text="%t"/> |
-<l:template name="sidebar" text="%t"/> |
-<l:template name="step" text="%t"/> |
-<l:template name="table" text="Table %n. %t"/> |
-<l:template name="task" text="%t"/> |
-<l:template name="tasksummary" text="%t"/> |
-<l:template name="taskprerequisites" text="%t"/> |
-<l:template name="taskrelated" text="%t"/> |
-<l:template name="tip" text="%t"/> |
-<l:template name="toc" text="%t"/> |
-<l:template name="variablelist" text="%t"/> |
-<l:template name="varlistentry" text=""/> |
-<l:template name="warning" text="%t"/> |
-</l:context> |
-<l:context name="title-unnumbered"><l:template name="appendix" text="%t"/> |
-<l:template name="article/appendix" text="%t"/> |
-<l:template name="bridgehead" text="%t"/> |
-<l:template name="chapter" text="%t"/> |
-<l:template name="sect1" text="%t"/> |
-<l:template name="sect2" text="%t"/> |
-<l:template name="sect3" text="%t"/> |
-<l:template name="sect4" text="%t"/> |
-<l:template name="sect5" text="%t"/> |
-<l:template name="section" text="%t"/> |
-<l:template name="simplesect" text="%t"/> |
-<l:template name="part" text="%t"/> |
-</l:context> |
-<l:context name="title-numbered"><l:template name="appendix" text="Appendix %n. %t"/> |
-<l:template name="article/appendix" text="%n. %t"/> |
-<l:template name="bridgehead" text="%n. %t"/> |
-<l:template name="chapter" text="Chapter %n. %t"/> |
-<l:template name=&quo |
---|