Couldn't find hyphenation pattern

View: New views
5 Messages — Rating Filter:   Alert me  

Couldn't find hyphenation pattern

by kralik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!
I have a problem with FOP Trunk.
If I run FOP, it transform my document, but without hyphenation.
Statement of FOP always ends with following message:
Couldn't find hyphenation pattern cs

In previous version (0.91beta) was hyphenation OK. I assumed, that hyphenation of Czech and Slovak words is also implemented in Trunk.
Example from my XSL file:
<xsl:template match="Text">
	<fo:block hyphenate="true" text-align="justify" language="cs">
		<xsl:apply-templates select="*|text()"/>
	</fo:block>
</xsl:template>

Where could be mistake?
Regards,
Pavel Tyl

Re: Couldn't find hyphenation pattern

by cbowditch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kralik wrote:

> Hello!
> I have a problem with FOP Trunk.
> If I run FOP, it transform my document, but without hyphenation.
> Statement of FOP always ends with following message:
> *Couldn't find hyphenation pattern cs*

Did you download the fop-hyph.jar available separately from OFFO?

The hypenation patterns are now distributed in fop-hyph.jar because they
are not compatible with Apache's License. OFFO home page can be found here:

http://offo.sourceforge.net/

<snip/>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: Couldn't find hyphenation pattern

by Jeremias Maerki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't see any problems with hyphenation in the latest FOP Trunk. I
suspect the JAR file with the hyphenation patterns (from
http://offo.sf.net) is not on your classpath. It may have gone lost when
you went from 0.91beta to Trunk.

On 05.04.2006 11:45:45 kralik wrote:

>
> Hello!
>
> I have a problem with FOP Trunk.
> If I run FOP, it transform my document, but without hyphenation.
> Statement of FOP always ends with following message:
>  
> Couldn't find hyphenation pattern cs
>
> In previous version (0.91beta) was hyphenation OK. I assumed, that
> hyphenation of Czech and Slovak words is also implemented in Trunk.
>  
> Example from my XSL file:
>
>
> <xsl:template match="Text">
> <fo:block hyphenate="true" text-align="justify" language="cs">
> <xsl:apply-templates select="*|text()"/>
> </fo:block>
> </xsl:template>
>
> Where could be mistake?


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: Couldn't find hyphenation pattern

by kralik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

With "OFFO" is now hyphenation OK.
But in FOP 0.91beta I had no file fo-hyph.jar in my lib folder or in classpath and hyphenation was OK too.
I don't understand it.

Pavel Tyl

Parent Message unknown RE: Couldn't find hyphenation pattern

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: kralik [mailto:kralik@...]
> Sent: Wednesday, April 05, 2006 2:01 PM

> With "OFFO" is now hyphenation OK.
> But in FOP 0.91beta I had no file fo-hyph.jar in my lib
> folder or in classpath and hyphenation was OK too.
> I don't understand it.

Some hyphenation languages are yet enbedded in FOP (see table in fine) (v0.20.5, but I suppose it is the same with v0.91b).
That can explain why you can hyphenate without Offo...

Pascal

code   name                TEX   offo   FOP
---------------------------------------------
ca     catalan             ca          
cs     tchèque             cz    cs    
da     danois              dk    da    
de     allemand            de-t  de    
       allemand            de-n  de_DR  
et     estonien            ee
eu     basque              ba          
grc    grec ancien         GRA
el     grec monotonique    GRM   el    
el     grec polytonique    GRP          
en     anglais                   en     en
en-UK  anglais britanique  uk    en_GB
en-US  anglais américain   us    en_US
es     espagnol            es    es     es
fi     finnois             fi    fi     fi
fr     français            fr    fr    
ga     irlandais           ga          
hr     croate              hr
hsb    haut sorabe         sor
hu     hongrois            hu    hu     hu
ia     interlingua         ia          
id     indonésien          in          
is     islandais           is          
it     italien             it    it     it
la     latin               la          
mn     mongole             mn          
nl     néerlandais         ne    nl    
no     norvégien           no    no    
pl     polonais            pl    pl     pl
pt     portugais           pt    pt     pt
ru     russe               ru    ru     ru
       serbo-croate        sh          
sr     serbe               sr
sv     suédois             se          
tr     turq                tk
uk     ukrénien            ukr

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...