|
List Info
Thread: Re: Column problems
|
|
| Re: Column problems |

|
2007-07-20 14:48:26 |
|
| Bob - apologies, I found one source of the problems:
somewhere down the line I had lost the <title> and since I
couldn't validate, XEP did the best it could with an invalid
document.
I've now set up to validate with relames.jar and (with a title)
it now validates OK, XEP handles it fine, and my points 1. and 2. are
now resolved.
However, point 3. is still unresolved
3. the 'wrap' code
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>
does not wrap the long lines in the <literallayout> in
<blockquote> elements.
Ron
--
Ron Catterall, Phd, DSc
email: ron catterall.net
Prolongacion de Hidalgo 140
http://catterall.net/
San Felipe del Agua
tel:
+52 951 520 1821
Oaxaca 68020
Mexico
fax:
+1 530 348 8309
|
| Re: Column problems |

|
2007-07-20 15:48:53 |
|
|
The wrap-option works for me, when the text
has spaces in it to permit breaks, or when hyphenation is turned
on.
If you have spaces and still get no breaks, I would
take a peak inside the FO output to see if the wrap-option property is actually
making it into the FO for the literallayout.
----- Original Message -----
Sent: Friday, July 20, 2007 12:48
PM
Subject: Re: [docbook-apps] Column
problems
Bob - apologies, I found one source of the problems: somewhere down
the line I had lost the <title> and since I couldn't validate, XEP did
the best it could with an invalid document.
I've now set up to validate with relames.jar and (with a title) it now
validates OK, XEP handles it fine, and my points 1. and 2. are now
resolved.
However, point 3. is still unresolved
3. the 'wrap' code
<xsl:attribute-set name="verbatim.properties"> <xsl:attribute
name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>
does not wrap the long lines in the <literallayout> in
<blockquote> elements.
Ron --
Ron Catterall, Phd, DSc
email:
ron catterall.net Prolongacion de Hidalgo
140
http://catterall.net/ San Felipe del
Agua
tel: +52 951
520 1821 Oaxaca 68020
Mexico
fax: +1 530
348 8309 |
| Re: Column problems |

|
2007-07-20 22:02:14 |
|
| Bob
I had a:
<fo:block
id="{$id}"
wrap-option='no-wrap'
in:
<xsl:template match="literallayout">
in an earlier
customization file
Which apparently took precedence over the later one in
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
All OK now, many thanks. Was it a precedence problem?
Ron
The
wrap-option works for me, when the text has spaces in it to
permit breaks, or when hyphenation is turned
on.
If you have
spaces and still get no breaks, I would take a peak inside the FO
output to see if the wrap-option property is actually making it into
the FO for the literallayout.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs sagehill.net">bobs sagehill.net
----- Original Message -----
From: ron catterall.net">Ron
Catterall
To: bobs sagehill.net">Bob
Stayton
Cc: lists.oasis-open.org"
>docbook-apps lists.oasis-open.org
Sent: Friday, July 20, 2007 12:48 PM
Subject: Re: [docbook-apps] Column
problems
Bob - apologies, I found one source of the problems:
somewhere down the line I had lost the <title> and since I
couldn't validate, XEP did the best it could with an invalid
document.
I've now set up to validate with relames.jar and (with a
title) it now validates OK, XEP handles it fine, and my points 1. and
2. are now resolved.
However, point 3. is still unresolved
3. the 'wrap' code
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>
does not wrap the long lines in the <literallayout>
in <blockquote> elements.
Ron
--
Ron Catterall, Phd, DSc
email: ron catterall.net
Prolongacion de Hidalgo 140
http://catterall.net/
San Felipe del Agua
tel:
+52 951 520 1821
Oaxaca 68020
Mexico
fax:
+1 530 348 8309
--
Ron Catterall, Phd, DSc
email: ron catterall.net
Prolongacion de Hidalgo 140
http://catterall.net/
San Felipe del Agua
tel:
+52 951 520 1821
Oaxaca 68020
Mexico
fax:
+1 530 348 8309
|
| Re: Column problems |

|
2007-07-22 14:43:13 |
|
|
Hi Ron,
Indeed, a literal attribute on an element has
precedence over an attribute in a referenced attribute-set.
----- Original Message -----
Sent: Friday, July 20, 2007 8:02 PM
Subject: Re: [docbook-apps] Column
problems
Bob
I had a:
<fo:block id="{$id}"
wrap-option='no-wrap'
in:
<xsl:template match="literallayout">
in an earlier customization
file
Which apparently took precedence over the later one in
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
All OK now, many thanks. Was it a precedence problem?
Ron
The
wrap-option works for me, when the text has spaces in it to permit
breaks, or when hyphenation is turned on.
If you have spaces
and still get no breaks, I would take a peak inside the FO output to see if
the wrap-option property is actually making it into the FO for the
literallayout.
Bob Stayton Sagehill
Enterprises DocBook Consulting sagehill.net">bobs sagehill.net
----- Original Message -----
From: ron catterall.net">Ron
Catterall
To: bobs sagehill.net">Bob
Stayton
Cc: lists.oasis-open.org">docbook-apps lists.oasis-open.org
Sent: Friday, July 20, 2007 12:48 PM
Subject: Re: [docbook-apps] Column problems
Bob - apologies, I found one source of the problems:
somewhere down the line I had lost the <title> and since I couldn't
validate, XEP did the best it could with an invalid document.
I've now set up to validate with relames.jar and (with a
title) it now validates OK, XEP handles it fine, and my points 1. and 2.
are now resolved.
However, point 3. is still unresolved
3. the 'wrap' code
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>
does not wrap the long lines in the <literallayout> in
<blockquote> elements.
Ron
--
Ron Catterall, Phd, DSc
email:
ron catterall.net Prolongacion de Hidalgo
140
http://catterall.net/ San Felipe del
Agua
tel: +52
951 520 1821 Oaxaca 68020
Mexico
fax: +1
530 348 8309
--
Ron Catterall, Phd, DSc
email:
ron catterall.net Prolongacion de Hidalgo
140
http://catterall.net/ San Felipe del
Agua
tel: +52 951
520 1821 Oaxaca 68020
Mexico
fax: +1 530
348 8309 |
[1-4]
|
|