You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by lexa2009 <me...@gmail.com> on 2010/06/08 14:56:44 UTC

Re: FOP, hypenation. How to compile hyph pattern? my own

hello. i download fop-0.95 src and now i can compile hyp.
a make su.xml and place it in fop_dir\hyph
it contains
<?xml version="1.0" encoding="UTF-8"?>
<hyphenation-info>
<hyphen-min before="0" after="0"/>
<patterns> <!-- just type <return> if you're not using INITEX
-->
m5o
mot5her
mo5ther
moth5er
m5
<!-- end of additional patterns.
--></patterns>
</hyphenation-info>

than i use 
>ant compile-hyphenation
, so i have su.hyp in fop_dir\build\classes\hyph
i put this file to fop_dir\hyph and use 
>ant jar-hyphenation 
so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and try
hyph
i have xsl-fo with this block
<fo:block text-indent="0.5cm" hyphenate="true" language="en">
mothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermother
</fo:block>
but it do not work. what i do wrong?
-- 
View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28817469.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by lexa2009 <me...@gmail.com>.
any idias? what i do wrong? can u write full path of obtaining pattern and
making document?

lexa2009 wrote:
> 
> 
> 
> lexa2009 wrote:
>> 
>> thx, i try.
>> C:\...\fop-0.95\build>jar -tvf fop-hyph.
>> jar
>>      0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>    349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>      0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> here it is..
>> in lib the same result
>> C:\...\fop-0.95\lib>jar -tvf fop-hyph.ja
>> r
>>      0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>    349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>      0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> J.Pietschmann wrote:
>>> 
>>> On 09.06.2010 22:11, lexa2009 wrote:
>>>>
>>>> ops, i am sorry. i use language="su", but do not work. i test also with
>>>> english standart hyph pattern(en.hyph), but it also do not work. here
>>>> was my
>>>> mistake that i type "en" instead of "su"
>>> 
>>> You wrote
>>>> than i use
>>>>> ant compile-hyphenation
>>>> , so i have su.hyp in fop_dir\build\classes\hyph
>>>> i put this file to fop_dir\hyph and use
>>>>> ant jar-hyphenation
>>>> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
>>>> try
>>> 
>>> The 'ant jar-hyphenation' gets the *.hyp files from
>>> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
>>> jar could be empty, check whether the hyp file is in
>>> the jar (use jar -tvf fop-hyph.jar).
>>> 
>>> J.Pietschmann
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28922579.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by lexa2009 <me...@gmail.com>.
any idias? what i do wrong? can u write full path of obtaining pattern and
making document?

lexa2009 wrote:
> 
> 
> 
> lexa2009 wrote:
>> 
>> thx, i try.
>> C:\...\fop-0.95\build>jar -tvf fop-hyph.
>> jar
>>      0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>    349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>      0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> here it is..
>> in lib the same result
>> C:\...\fop-0.95\lib>jar -tvf fop-hyph.ja
>> r
>>      0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>    349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>      0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> J.Pietschmann wrote:
>>> 
>>> On 09.06.2010 22:11, lexa2009 wrote:
>>>>
>>>> ops, i am sorry. i use language="su", but do not work. i test also with
>>>> english standart hyph pattern(en.hyph), but it also do not work. here
>>>> was my
>>>> mistake that i type "en" instead of "su"
>>> 
>>> You wrote
>>>> than i use
>>>>> ant compile-hyphenation
>>>> , so i have su.hyp in fop_dir\build\classes\hyph
>>>> i put this file to fop_dir\hyph and use
>>>>> ant jar-hyphenation
>>>> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
>>>> try
>>> 
>>> The 'ant jar-hyphenation' gets the *.hyp files from
>>> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
>>> jar could be empty, check whether the hyp file is in
>>> the jar (use jar -tvf fop-hyph.jar).
>>> 
>>> J.Pietschmann
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28922578.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by lexa2009 <me...@gmail.com>.


lexa2009 wrote:
> 
> thx, i try.
> C:\...\fop-0.95\build>jar -tvf fop-hyph.
> jar
>      0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>    349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>      0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
> 
> here it is..
> in lib the same result
> C:\...\fop-0.95\lib>jar -tvf fop-hyph.ja
> r
>      0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>    349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>      0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
> 
> J.Pietschmann wrote:
>> 
>> On 09.06.2010 22:11, lexa2009 wrote:
>>>
>>> ops, i am sorry. i use language="su", but do not work. i test also with
>>> english standart hyph pattern(en.hyph), but it also do not work. here
>>> was my
>>> mistake that i type "en" instead of "su"
>> 
>> You wrote
>>> than i use
>>>> ant compile-hyphenation
>>> , so i have su.hyp in fop_dir\build\classes\hyph
>>> i put this file to fop_dir\hyph and use
>>>> ant jar-hyphenation
>>> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
>>> try
>> 
>> The 'ant jar-hyphenation' gets the *.hyp files from
>> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
>> jar could be empty, check whether the hyp file is in
>> the jar (use jar -tvf fop-hyph.jar).
>> 
>> J.Pietschmann
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28851711.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by lexa2009 <me...@gmail.com>.
thx, i try.
C:\...\fop-0.95\build>jar -tvf fop-hyph.
jar
     0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
   349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
     0 Tue Jun 08 16:33:30 MSD 2010 hyph/
  2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
 43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
  2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp

here is it..

J.Pietschmann wrote:
> 
> On 09.06.2010 22:11, lexa2009 wrote:
>>
>> ops, i am sorry. i use language="su", but do not work. i test also with
>> english standart hyph pattern(en.hyph), but it also do not work. here was
>> my
>> mistake that i type "en" instead of "su"
> 
> You wrote
>> than i use
>>> ant compile-hyphenation
>> , so i have su.hyp in fop_dir\build\classes\hyph
>> i put this file to fop_dir\hyph and use
>>> ant jar-hyphenation
>> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
>> try
> 
> The 'ant jar-hyphenation' gets the *.hyp files from
> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
> jar could be empty, check whether the hyp file is in
> the jar (use jar -tvf fop-hyph.jar).
> 
> J.Pietschmann
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28851635.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by "J.Pietschmann" <j3...@yahoo.de>.
On 09.06.2010 22:11, lexa2009 wrote:
>
> ops, i am sorry. i use language="su", but do not work. i test also with
> english standart hyph pattern(en.hyph), but it also do not work. here was my
> mistake that i type "en" instead of "su"

You wrote
> than i use
>> ant compile-hyphenation
> , so i have su.hyp in fop_dir\build\classes\hyph
> i put this file to fop_dir\hyph and use
>> ant jar-hyphenation
> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and try

The 'ant jar-hyphenation' gets the *.hyp files from
fop_dir\build\classes\hyph, if you moved the su.hyp file, the
jar could be empty, check whether the hyp file is in
the jar (use jar -tvf fop-hyph.jar).

J.Pietschmann


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by lexa2009 <me...@gmail.com>.
ops, i am sorry. i use language="su", but do not work. i test also with
english standart hyph pattern(en.hyph), but it also do not work. here was my
mistake that i type "en" instead of "su"



J.Pietschmann wrote:
> 
> On 08.06.2010 14:56, lexa2009 wrote:
>> , so i have su.hyp in fop_dir\build\classes\hyph
> ...
>> i have xsl-fo with this block
>> <fo:block text-indent="0.5cm" hyphenate="true" language="en">
> 
> If your hyphenation file is named su.hyph, you should try
>   language="su"
> instead (even though 'su' isn't a valid ISO language code).
> Have a look at the hyph/readme file.
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28835277.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: FOP, hypenation. How to compile hyph pattern? my own

Posted by "J.Pietschmann" <j3...@yahoo.de>.
On 08.06.2010 14:56, lexa2009 wrote:
> , so i have su.hyp in fop_dir\build\classes\hyph
...
> i have xsl-fo with this block
> <fo:block text-indent="0.5cm" hyphenate="true" language="en">

If your hyphenation file is named su.hyph, you should try
  language="su"
instead (even though 'su' isn't a valid ISO language code).
Have a look at the hyph/readme file.

J.Pietschmann

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