This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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/
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |