OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] underscore, strikethough


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"

> bold/underscore, 

<fo:inline font-weight="bold"

> italic/underscore,

<fo:inline font-style="italic"

> italic/strikethrough.

<fo:inline font-style="italic"

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">


w  http://logicsquad.net/
h  http://paul.hoadley.name/

PGP signature

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]