[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] underscore, strikethough
Hello, The actual XSL-FO to produce these styles is fairly straightforward: On Sat, Mar 26, 2005 at 11:48:12AM +0200, Sean Wheller wrote: > For FO: Anyone have a solution to produce and underscore and > strikethrough? <fo:inline text-decoration="underline">underline</fo:inline> <fo:inline text-decoration="strikethrough">strikethrough</fo:inline> > Would be nice to also have combinations of bold/italic, <fo:inline font-weight="bold" font-style="italic">bold/italic</fo:inline> > bold/underscore, <fo:inline font-weight="bold" text-decoration="underline">bold/underline</fo:inline> > italic/underscore, <fo:inline font-style="italic" text-decoration="underline">italic/underline</fo:inline> > italic/strikethrough. <fo:inline font-style="italic" text-decoration="strikethrough">italic/strikethrough</fo:inline> Is that what you meant, though? To get these as DocBook output, you could provide, say, custom templates for the 'phrase' element with various 'role' attributes. For example: <xsl:template match="phrase[@role='italic-strikethrough']"> <fo:inline font-style="italic" text-decoration="strikethrough"> <xsl:apply-templates/> </fo:inline> </xsl:template> -- Paul. w http://logicsquad.net/ h http://paul.hoadley.name/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]