[xep-support] Problems with XEP 4.0

Martin Bryan martin.bryan at csw.co.uk
Wed Aug 24 00:09:18 PDT 2005


Couple of questions that are foxing me:

1) How can I generate Em and En spaces with XEP 4.0?

2) Why won't nested inlines justify or hyphenate?

Using the normal nesting processes of XSL I generate nested inlines of
the form:

<fo:block text-align="justify" width="84mm" font-size="10pt">
The PhEur 2002 describes almond oil as the fatty oil obtained by cold
expression from
the ripe seeds of <fo:inline font-style="italic" text-align="inherit"
hyphenate="true">Prunus dulcis <fo:inline font-style="normal"
text-align="inherit">(Miller)</fo:inline></fo:inline><fo:inline
font-style="italic" text-align="inherit" hyphenate="true"> <fo:inline
font-style="normal" text-align="inherit">DA
Webb</fo:inline></fo:inline><fo:inline font-style="italic"
text-align="inherit" hyphenate="true">
<fo:inline font-style="normal"
text-align="inherit">var</fo:inline></fo:inline><fo:inline
font-style="italic" text-align="inherit" hyphenate="true">.
dulcis</fo:inline> or <fo:inline font-style="italic"
text-align="inherit" hyphenate="true">Prunus
dulcis <fo:inline font-style="normal"
text-align="inherit">(Miller)</fo:inline></fo:inline><fo:inline
font-style="italic" text-align="inherit" hyphenate="true"> <fo:inline
font-style="normal" text-align="inherit">DA
Webb</fo:inline></fo:inline><fo:inline font-style="italic"
text-align="inherit" hyphenate="true"> <fo:inline font-style="normal"
text-align="inherit">var</fo:inline></fo:inline><fo:inline
font-style="italic" text-align="inherit" hyphenate="true">. amara
<fo:inline font-style="normal"
text-align="inherit">(DC)</fo:inline></fo:inline><fo:inline
font-style="italic" text-align="inherit" hyphenate="true"> <fo:inline
font-style="normal"
text-align="inherit">Buchheim</fo:inline></fo:inline> or
a mixture of both varieties.</fo:block> 

In this case I get the inline blocks starting a line on their own.

If I simplify this by removing nesting to:

<fo:block text-align="justify" width="84mm" font-size="10pt">
The PhEur 2002 describes almond oil as the fatty oil obtained by cold
expression from
the ripe seeds of <fo:inline font-style="italic" text-align="inherit"
hyphenate="true">Prunus dulcis </fo:inline><fo:inline
font-style="normal" text-align="inherit">(Miller)</fo:inline> <fo:inline
font-style="normal" text-align="inherit">DA Webb
var</fo:inline><fo:inline font-style="italic" text-align="inherit"
hyphenate="true">. dulcis</fo:inline> or <fo:inline font-style="italic"
text-align="inherit" hyphenate="true">Prunus dulcis
</fo:inline><fo:inline font-style="normal" text-align="inherit">(Miller)
DA Webb var</fo:inline><fo:inline font-style="italic"
text-align="inherit" hyphenate="true">. amara </fo:inline><fo:inline
font-style="normal" text-align="inherit">(DC)</fo:inline> <fo:inline
font-style="normal" text-align="inherit">Buchheim</fo:inline> or a
mixture of both varieties.</fo:block> 

then the text will wrap and justify correctly.

Automated unnesting is a pain. Is there any solution that can be quickly
applied to this problem?

Martin Bryan, Senior Technical Consultant

***********************************************
Registered Office and Contact Address:
CSW Group Ltd
4240 Nash Court
Oxford Business Park South
Oxford
OX4 2RU
Tel: +44/0 775 266 8589  Fax: +44/0 1865 337433
Web: <http://www.csw.co.uk>

Registered in England No. 4198197
 
Legal Disclaimer: <http://www.csw.co.uk/disclaimer.htm>

***********************************************




-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list