[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: howto set xref to figures in italic
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 / Stephan Wiesner <stephan@stephan-wiesner.de> was heard to say: | Hi list, | can anybody, please show me how to set the font for the title of | figures/tables when using xrefs to point at them to italic? xrefs to | sections/chapters are already in italic and I want to standardize that | for all xrefs. Add a template like this one to your customization layer. Change fo:inline to i for HTML. <xsl:template match="figure|table|example|equation" mode="insert.title.markup"> <xsl:param name="purpose"/> <xsl:param name="xrefstyle"/> <xsl:param name="title"/> <xsl:choose> <xsl:when test="$purpose = 'xref'"> <fo:inline font-style="italic"> <xsl:copy-of select="$title"/> </fo:inline> </xsl:when> <xsl:otherwise> <xsl:copy-of select="$title"/> </xsl:otherwise> </xsl:choose> </xsl:template> Be seeing you, norm - -- Norman Walsh <ndw@nwalsh.com> | We cannot put off living until we http://www.oasis-open.org/docbook/ | are ready. The most salient Chair, DocBook Technical Committee | characteristic of life is its | coerciveness: it is always urgent, | 'here and now' without any | possible postponement. Life is | fired at us point blank.--José | Ortega Y Gasset -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/> iD8DBQE+LqMaOyltUcwYWjsRAno3AKCYi0N8LPz6QtHYA21I+mk9JBbDPwCfesfI u18I5gFGp54AS++3lExub6A= =Hcl1 -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC