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] Tables-text wrap

That depends on whether the text includes spaces or not.  If it does, then
lines will break automatically on the spaces.  If not, then you may need to
turn on hyphenation.  You can do that for the whole document by setting the
'hyphenate' stylesheet parameter to 'true'.  Or you can do it for tables in
the table.properties attribute-set:

<xsl:attribute-set name="table.properties">
  <xsl:attribute name="hyphenate">true</xsl:attribute>

You can also insert zero-width space characters (&#x200B;) in your text
strings, which will form break points for the lines.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Lisa Girard" <lgirard@its.caltech.edu>
To: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, May 22, 2005 1:39 PM
Subject: [docbook-apps] Tables-text wrap

> I'm trying to markup tables in DocBook. The text in some of the
> entries is fairly long and I would like it to wrap. Can you tell me
> the best way to do this?
> Thank you in advance,
> Lisa
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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