<xsl:stylesheet exclude-result-prefixes="d" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" 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="d:set|d:book|d:part|d:reference|d:preface|d:chapter|d:appendix|d:article |d:glossary|d:bibliography|d:index|d:setindex |d:refentry |d:sect1|d:sect2|d:sect3|d:sect4|d:sect5|d: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="self::d:index and $generate.index = 0"/> <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 d:section|d:sect1|d:refentry |d:article|d:bibliography|d:glossary |d: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>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 10838 | Robert Cowham |
Populate //guest/robert_cowham/perforce/utils/p4convert/... from //guest/perforce_software/p4convert/.... |
||
//guest/perforce_software/p4convert/docs/_build/docbook-xsl-ns-1.78.1/fo/ptc.xsl | |||||
#1 | 10706 | Paul Allen | Add document '_build' files. |