This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Desactivate wrap
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "docbook-apps" <docbook-apps at lists dot oasis-open dot org>, "Jacques Foucry" <jacques at foucry dot net>
- Date: Thu, 12 May 2005 08:54:53 -0700
- Subject: Re: [docbook-apps] Desactivate wrap
- References: <A094DFF5-7CB9-4023-88C6-DEC49C6EA141@foucry.net>
Hi,
The wrap-option is an inheritable property, but "off" is not a valid value.
It should be "no-wrap".
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Jacques Foucry" <jacques@foucry.net>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, May 12, 2005 6:58 AM
Subject: [docbook-apps] Desactivate wrap
Hello,
I've put in my custom layer the warp option on :
<xsl:attribute-set name="monospace.verbatim.properties">
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
<xsl:attribute name="hyphenation-character">↵</
xsl:attribute>
</xsl:attribute-set>
It work and I am very happy with it. But inside a table, I need to
desactivate wrap and hyyphenation. (do not have some spare "-" inside
command line statement).
I tried with the table.properties
<xsl:template name="table.properties">
<xsl:choose>
<xsl:when test="@tabstyle='no_wrap'">
<xsl:attribute name="wrap-option">off</xsl:attribute>
</xsl:when>
<xsl:otherwise>inherit</xsl:otherwise>
</xsl:choose>
</xsl:template>
but it doen'nt work.
How can I do that ?
Thanks in advance,
Jacques
--
INFLATION : c'est devoir vivre en payant les prix de l'an prochain
avec les
revenus de l'an passé.
P. Desproges
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org