cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Discretionary hyphen not working in PE

kristian.vantas
1-Newbie

Discretionary hyphen not working in PE

I have an XSLT script which will convert our XML into a PE ready version. It converts into a ​, which has, in the past/for years, allowed the composition to honor that to be the preferred word breaking point. At some point this stopped working, however, but I'm not sure when.

Is this the preferred method to get discretionary hyphens to output using PE?


<xsl:template match="processing-instruction('Pub')[.='_hyphen-point']">
<xsl:text>​</xsl:text>
</xsl:template>


Kristian Van Tassell
LMD Tools

Siemens Industry Sector
Siemens Product Lifecycle Management Software Inc.
5939 Rice Creek Parkway
Shoreview, MN 55126 United States
Tel. :+1 (651) 855-6194
Fax :+1 (651) 855-6280
- <-%20>
www.siemens.com/plm

1 REPLY 1

Hi Kristian,


Firstly, U+200B is zero-width space and not discretionary hyphen. For discretionary hyphen (soft hyphen) you should use character U+00AD (­).


Secondly, recent Arbortext releases now ship with two formatting engines. The original FOSI engine is used when selected in Styler, for XSL-FO, or for FOSI stylesheets. The new APP engine is used by default in Styler, or for .3F stylesheets.


I tested ­ in the APP engine and it worked as I expected it to. I didn't get around to testing FOSI yet.


// Gareth Oakes
// Chief Architect, GPSL
// www.gpsl.co

Announcements