This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] Hyphenation character


Following up my own post: Looks like FOP removed some hyphenation "patterns" in their latest releases for licensing reasons. (See http://archives.apache.org/eyebrowse/ReadMsg?listName=fop-dev@xml.apache.org&msgNo=4509 )

My workaround is currently to disable hyphenation using the "hyphenate" parameter in the print stylesheet driver file:

  <xsl:param name="hyphenate">false</xsl:param>


> -----Original Message-----
> From: Rankine, Alastair J (Alastair) 
> Sent: Monday, May 12, 2003 1:39 PM
> To: Ian Moor; docbook apps list
> Subject: RE: [docbook-apps] Hyphenation character
> 
> 
> I had the same problem using FOP 0.20.5rc. Upgrading to FOP 
> 0.20.5rc2 is a possible workaround - although it does seem to 
> disable hyphenation altogether, and results in a lot of these 
> errors output from FOP:
> 
>      [java] [ERROR] Couldn't find hyphenation pattern en
>      [java] [ERROR] Error building hyphenation tree for language en
> 
> I had a look at the .fo output from the stylesheets (and 
> Saxon), and it seems to be OK. Not that I know too much about 
> XSL-FO, but there is a hyphenation-character attribute which 
> seems to be set appropriately, _provided_ that the file is 
> opened as UTF-8. Maybe the earlier FOP release is getting 
> confused as to the file encoding, and not opening it as 
> UTF-8? Maybe it's fixed in 0.20.5rc2, and the above error is 
> a separate problem?
> 
> 
> > -----Original Message-----
> > From: Ian Moor [mailto:iwm@doc.ic.ac.uk]
> > Sent: Saturday, May 10, 2003 11:08 AM
> > To: docbook apps list
> > Subject: [docbook-apps] Hyphenation character
> > 
> > 
> > I am using xalan and fop, I have moved to stylesheet 1.61  
> > and now the hyphens printed in 
> > both pdf and ps as # 
> >     Ian Moor
> > Ian W Moor                   Department of Computing,
> > iwm@doc.ic.ac.uk           Imperial College.
> >                                     180 Queensgate
> >                                      London SW7 2AZ UK.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > 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
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]