On Thu, Nov 11, 2004 at 05:13:37PM +0100, Andreas L. Delmelle wrote: > > From: Hoang Tuan Nguy?n D?ng [mailto:[EMAIL PROTECTED] > > > > Hi, > > <snip /> > > i've try your suggest but there is no change :(. > > fist at all, i've change my locale in docbook source from 'vi' to > > 'en', the hyphenation is work well, my word isn't split ! > > > > But when i try to copy en.xml to vi.xml and define hyphenation-dir in > > userconfig.xml; when fop-ing, there is no error messages about > > building hyphenation tree for language vi; but the word is split in > > PDF document !!!! > > I'm a bit confused here... So, you are 'copying' the XML containing the > English hyphenation patterns to a new file 'vi.xml'? :-/ > As I see it, this will have exactly the effect I described as 'using English > hyph patterns for Vietnamese text'. Unless the 'vi.xml' is made to contain > information specifically about hyphenation in Vietnamese, it's always going > to lead to undesired results. > > > > > When i add those lines: > > <xsl:attribute-set name='hypenateText'> > > <xsl:attribute name='hyphenate'>false</xsl:attribute> > > <xsl:attribute name='language'>vi</xsl:attribute> > > </xsl:attribute-set> > > in my xsl stylesheet ang generate fo file with this; nothing change!! If you would have no file vi.xml and declare the language of the vietnamese text parts to be 'vi', those parts should not be hyphenated.
Regards, Simon -- Simon Pepping home page: http://www.leverkruid.nl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
