xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pepping <spepp...@leverkruid.nl>
Subject Re: hyphenation in single syllable language?
Date Thu, 11 Nov 2004 20:44:23 GMT
On Thu, Nov 11, 2004 at 05:13:37PM +0100, Andreas L. Delmelle wrote:
> > From: Hoang Tuan Nguy?n D?ng [mailto:tuanndh@gmail.com]
> >
> 
> 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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message