So far we have only needed one extension, fotex:bookmark. It allows PassiveTeX to create sensible Acrobat bookmarks. It needs attributes to pass on the level of bookmark, an ID, and the bookmark text. An example of use follows:
<xsl:template match="div2"> <fo:block> <xsl:apply-templates select="head"/> <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" fotex-bookmark-level="2" fotex-bookmark-label="{@id}"> <xsl:value-of select="head"/> </fotex:bookmark> </fo:block> </xsl:template>