xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Mall" ...@arcus.com.au>
Subject RE: Using system hyphenation rules with additional custom exceptions
Date Mon, 08 Sep 2014 15:16:56 GMT
I think you can use the Unicode soft hyphen (Unicode U+00AD) in Fop to achieve the same as
what you did below in LaTex with the \- notation.

Manuel

-----Original Message-----
From: Martin Doucha [mailto:next_ghost@quick.cz] 
Sent: Saturday, 6 September 2014 11:32 PM
To: fop-users@xmlgraphics.apache.org
Subject: Using system hyphenation rules with additional custom exceptions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I need to add a few custom exceptions for hyphenation because the standard hyphenation rules
generate incorrect hyphenation of some foreign words. But I want FOP to load the system-wide
hyphenation rules as well. When I tried to write a hyphenation XML with just the exceptions
and no rules, FOP either crashed or didn't hyphenate anything but the excepted words (depending
on whether or not there was an empty <patterns/> tag in the XML).

Is there some way to make FOP merge multiple hyphenation files for the same language or do
I have to copy the whole system hyphenation file for my language and add my exceptions to
the copy?

In LaTeX, I could solve this problem by simply hy\-phen\-a\-ting the word in the sources like
this. FOP should also have some easy way to define hyphenation exceptions that doesn't involve
copying system files.

Regards,
Martin Doucha
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUCyjdAAoJEETC23Hm5VDd3/QIAJiZ5bs8qhy7denZkJCe1+sl
GXMg5bWn6X6ni3o2kdGu5ByqJkN67soAFiEOlJHPnLyXySjK07JJLmyCmz0bVHYN
kT9T3Egocte8e4bObKMWuOkb//ZDwXbJySFpj2m/fsxdAI3boADNFG9PMLlJv9hi
O/1mjvt5uKMeLD5PpfyS8WNnjwDkN1zMDCRsFEYqiWuYD96B7cdeZ4FmBQ6bBAvZ
3cjLkt3UWOw7poLuHgFUAR2WnfDY5XP2g/i0dpB0lg93rvWNfXBeslSKZwvyFxJU
DTxpEHrWJKWhgEmZTfcG71s272uhU2q6cMP1IW4HnnyjczPR5ATAFnnHqrzzh2w=
=dbxQ
-----END PGP SIGNATURE-----

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


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

Mime
View raw message