Tuning hyphenation

2018-09-05 Thread Gabor Kovesdan
Hello, I use FOP to render PDF from my Java programming book. I need hyphenation because it is a must for high-quality printed books but some parts of the text should not be hyphenated, e.g. Java keywords. They are rendered with a monospace font set by a tag. What I would like to do is to

Re: Custom hyphenation files

2016-02-12 Thread Mathieu Malaterre
On Fri, Feb 12, 2016 at 5:37 PM, John Brown wrote: > Exception in thread "main" java.lang.StackOverflowError > at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:191) > at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244) > ...[line above repeat

Custom hyphenation files

2016-02-12 Thread John Brown
I was tring to follow the instructions for manually installing OFFO hyphenation files. https://xmlgraphics.apache.org/fop/1.0/hyphenation.html shows how to use the source files (not the compiled fop-hyph.jar). I did the following: 1) I renamed $FOP_HOME/lib/fop-hyph.jar. 2) I copied en_GB.xml

hyphenation exceptions

2015-09-03 Thread Michał Jaworski
Hi, old question but perhaps some new solutions are possible in 2.0. Is it possible to force part of a fo:block not to be hyphenated? I don't want to create generic hyphenation exception but just have something like \hyphenation{something} in Tex. As far as I know fo:inline doesn't

Re: Hyphenation Jar License Issues

2015-07-30 Thread Andreas L. Delmelle
Hi Sripathi > On 30 Jul 2015, at 13:23, sripathi wrote: > > Thanks for your reply Luis..I want to use en-us pattern files,these are comes > under 'Other-Free' license.Am not aware of 'Other-Free' license,is this is > free? > Can i use these pattern file in my commercial application.Please sugge

Re: Hyphenation Jar License Issues

2015-07-30 Thread sripathi
View this message in context: http://apache-fop.1065347.n5.nabble.com/Hyphenation-Jar-License-Issues-tp42674p42688.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgra

Re: Hyphenation Jar License Issues

2015-07-29 Thread Luis Bernardo
The licenses are the ones listed in http://tug.org/tex-hyphen/#languages. It is for you to decide whether the licenses are OK for your project. On Wed, Jul 29, 2015 at 2:21 PM, sripathi wrote: > Hi All, > >In Apache FOP site mentioning like,for hyphenation,we need to downl

Hyphenation Jar License Issues

2015-07-29 Thread sripathi
Hi All, In Apache FOP site mentioning like,for hyphenation,we need to download the Hyphenation patterns from OFFO,and also mentioning like, the user is responsible to settle the license issues, to use the fop-hyph.jar, what type of licensing terms i need to set.Please help me on this.. Many

hyphenation

2015-06-08 Thread Michał Jaworski
Hi All, it's great that version 2.0 appeared after years. Question are there any changes in hyphenation principles. We've been using version 1.1 after switching to 2.0 hyphenation is not working for PL at all. Tried almost everything including compiling my own hyphenation jar file

Re: hyphenation

2015-06-06 Thread Michał Jaworski
s are loaded at all. This is getting really strange. I cannot reproduce that behaviour. I still get a log message like "SEVERE: Couldn't find hyphenation pattern for lang="qq""... ? Tested with a fresh fop-2.0 binary distribution. The error message appears both with and with

Re: hyphenation

2015-06-06 Thread Andreas Delmelle
ange. I cannot reproduce that behaviour. I still get a log message like "SEVERE: Couldn't find hyphenation pattern for lang="qq""... ? Tested with a fresh fop-2.0 binary distribution. The error message appears both with and without the same fop-hyph.jar from offo place

Re: hyphenation

2015-06-06 Thread Michał Jaworski
Hi, sorry rectification, exception is thrown when using not existing languages. I've missed it between warnings produced by Helvetivca font. Nevertheless the root problem remains for languages like pl, cz hyphenation is not performed regardless of font used. Michał Jaworski W dniu 20

Re: hyphenation

2015-06-06 Thread Michał Jaworski
ot;qq" was visible on the console as an error in 2.0 case nothing happens. Question if patterns are loaded at all. Michał Jaworski W dniu 2015-06-06 o 19:34, Andreas Delmelle pisze: Hi On 06 Jun 2015, at 09:46, Michał Jaworski wrote: Hi, hyphenation jar (taken from offo page) was simpl

Re: hyphenation

2015-06-06 Thread Andreas Delmelle
Hi > On 06 Jun 2015, at 09:46, Michał Jaworski wrote: > > Hi, > > hyphenation jar (taken from offo page) was simply drop into lib dir. Fop is > called from the command line. Seems that works for en, doesn't work for pl. > My current example is very simple and att

Re: hyphenation

2015-06-06 Thread Michał Jaworski
Hi, hyphenation jar (taken from offo page) was simply drop into lib dir. Fop is called from the command line. Seems that works for en, doesn't work for pl. My current example is very simple and attached at the end. The same example processed under ver 1.1 works fine. As I've menti

Re: hyphenation

2015-06-05 Thread Andreas Delmelle
> On 05 Jun 2015, at 18:22, Michał Jaworski wrote: > > it's great that version 2.0 appeared after years. Question are there any > changes in hyphenation principles. I don't think anything changed specifically in that area, but there may be other changes in play tha

hyphenation

2015-06-05 Thread Michał Jaworski
Hi All, it's great that version 2.0 appeared after years. Question are there any changes in hyphenation principles. We've been using version 1.1 after switching to 2.0 hyphenation is not working for PL language at all (similar for EN using examples from binary distribution). Tr

Re: Hyphenation pattern Lincensing issues

2015-01-07 Thread jfrm.mau...@gmail.com
Le 07/01/2015 20:07, Luis Bernardo a écrit : Hi, See if http://tug.org/tex-hyphen/#languages answers your question. You can also try to contact the authors of the pattern you are using or ask at tex-hyp...@tug.org. Thanks a lot. Regards -- Jean-François MAUREL PIMECA http://www.pimeca.com

Re: Hyphenation pattern Lincensing issues

2015-01-07 Thread Luis Bernardo
See if http://tug.org/tex-hyphen/#languages answers your question. You can also try to contact the authors of the pattern you are using or ask at tex-hyp...@tug.org. On 1/7/15 3:45 PM, jfrm.mau...@gmail.com wrote: Le 07/01/2015 14:58, Simon Steiner a écrit : Hi, " Many of the hyphen

Re: Hyphenation pattern Lincensing issues

2015-01-07 Thread jfrm.mau...@gmail.com
Le 07/01/2015 16:38, Simon Steiner a écrit : I updated the link, Latex project may know more about licensing for a specific file. Thank you. -- Jean-François MAUREL PIMECA http://www.pimeca.com - To unsubscribe, e-mail: fop

RE: Hyphenation pattern Lincensing issues

2015-01-07 Thread Simon Steiner
Hi, I updated the link, Latex project may know more about licensing for a specific file. Thanks -Original Message- From: jfrm.mau...@gmail.com [mailto:jfrm.mau...@gmail.com] Sent: 07 January 2015 14:46 To: fop-users@xmlgraphics.apache.org Subject: Re: Hyphenation pattern Lincensing

Re: Hyphenation pattern Lincensing issues

2015-01-07 Thread jfrm.mau...@gmail.com
Le 07/01/2015 14:58, Simon Steiner a écrit : Hi, " Many of the hyphenation files distributed with TeX and its offspring are licenced under the LaTeX Project Public License (LPPL), which prevents them from being distributed with Apache software." Thank you for your answer. I

RE: Hyphenation pattern Lincensing issues

2015-01-07 Thread Simon Steiner
Hi, " Many of the hyphenation files distributed with TeX and its offspring are licenced under the LaTeX Project Public License (LPPL), which prevents them from being distributed with Apache software. " https://xmlgraphics.apache.org/fop/trunk/hyphenation.html#license-issu

Hyphenation pattern Lincensing issues

2015-01-07 Thread jfrm.mau...@gmail.com
Hi, I am using hyphenation pattern with FOP 1.1 from fop-hyph.jar downloaded from OFFO site for french language (fr). Could you please tell me what are the actual licensing issues for this configuration ? I could not find something specific for this case in fop site neither in offo site

RE: Using system hyphenation rules with additional custom exceptions

2014-09-08 Thread Manuel Mall
@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

Using system hyphenation rules with additional custom exceptions

2014-09-08 Thread Martin Doucha
-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

New release of Offo hyphenation patterns for FOP

2014-01-14 Thread Simon Pepping
Hi, I am pleased to announce a new release, version 2.1, of the OFFO hyphenation patterns for FOP. This release contains the updated patterns published on the CTAN website, http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/. You may download the patterns from http

AW: AW: Hyphenation

2013-03-05 Thread markus.sticker.epos
@xmlgraphics.apache.org Betreff: Re: AW: Hyphenation Modifying LineLayoutManager is definitely not the correct approach. I would suggest you create a new hyphenation data set adding the new rules you need to use. On Tue, Mar 5, 2013 at 1:29 AM, wrote: Hi, sorry Soft Hyphenation is nto an

Re: AW: Hyphenation

2013-03-05 Thread Glenn Adams
Modifying LineLayoutManager is definitely not the correct approach. I would suggest you create a new hyphenation data set adding the new rules you need to use. On Tue, Mar 5, 2013 at 1:29 AM, wrote: > Hi, > > ** ** > > sorry Soft Hyphenation is nto an option, because the

AW: AW: Hyphenation

2013-03-05 Thread markus.sticker.epos
Hi, sorry Soft Hyphenation is nto an option, because the „words“ are no longer searchable by the adobe reader. So the adhoc rules will be the right choise, so I will try to insert a kind of adhoc breaking before the exception will be thrown. Do you know a possiblity to find the best

Re: AW: Hyphenation

2013-03-04 Thread Glenn Adams
I think it better to require the author to insert SOFT HYPHEN (­) rather than encode more adhoc rules into the existing code. On Thu, Feb 28, 2013 at 9:28 AM, wrote: > Hi Robert, > > ** ** > > I‘ve got some more cases with the hyphenation issue. > > So, is it p

AW: AW: Hyphenation

2013-02-28 Thread markus.sticker.epos
Hi Robert, I've got some more cases with the hyphenation issue. So, is it possible to extent the hyphenation patch with things like "0x" and identifierers with numbers used like characters (R2D2_C3PO or TAB2D_3_260) . I also get problems with things like abc_d

AW: AW: Hyphenation

2013-01-23 Thread markus.sticker.epos
[mailto:psancho@gmail.com] Gesendet: Mittwoch, 23. Januar 2013 08:56 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: Hyphenation Hi Markus, you can insert a ZWSP (​) everywhere you want a break opportunity. This is a best practice when there is no matching hyphenation pattern. 2013/1/22

Re: AW: Hyphenation

2013-01-22 Thread Pascal Sancho
Hi Markus, you can insert a ZWSP (​) everywhere you want a break opportunity. This is a best practice when there is no matching hyphenation pattern. 2013/1/22 : > Hi, > > > > I did some tests with different sources. The “_” is working very well. But > I’ve got an issue for

AW: AW: Hyphenation

2013-01-22 Thread markus.sticker.epos
rbody needs technical documentation hyphenation pattern. Best Regards Markus Von: Robert Meyer [mailto:rme...@hotmail.co.uk] Gesendet: Dienstag, 22. Januar 2013 14:52 An: fop-users@xmlgraphics.apache.org Betreff: RE: AW: Hyphenation Hi Markus, Patches remain separate from any build un

AW: AW: Hyphenation

2013-01-22 Thread markus.sticker.epos
Hi Robert, thank you for your reply. Ok, I will try it. Best Regards Markus Von: Robert Meyer [mailto:rme...@hotmail.co.uk] Gesendet: Dienstag, 22. Januar 2013 14:52 An: fop-users@xmlgraphics.apache.org Betreff: RE: AW: Hyphenation Hi Markus, Patches remain separate from

RE: AW: Hyphenation

2013-01-22 Thread Robert Meyer
what's in the patch will be to download the patch file yourself and merge it manually or use a tool e.g. in Linux / Mac OS you can use "patch -p0 < patch.diff". Regards, Robert Subject: AW: Hyphenation Date: Tue, 22 Jan 2013 09:07:05 +0100 From: markus.sticker.e...@zf

AW: Hyphenation

2013-01-22 Thread markus.sticker.epos
co.uk] Gesendet: Montag, 21. Januar 2013 17:54 An: fop-users@xmlgraphics.apache.org Betreff: RE: Hyphenation Hi, Not sure about the first one, but there was a patch I submitted a couple of weeks ago regarding FOP not breaking words with an underline. This can be seen here: https://issues.apach

RE: Hyphenation

2013-01-21 Thread Robert Meyer
the fix whenever someone gets around to looking at it. Regards, Robert Meyer Subject: Hyphenation Date: Mon, 21 Jan 2013 17:25:42 +0100 From: markus.sticker.e...@zf.com To: fop-users@xmlgraphics.apache.org Hi there, I wonder about the hyphenation in fop or offo, because if I try to hyphenate

Hyphenation

2013-01-21 Thread markus.sticker.epos
Hi there, I wonder about the hyphenation in fop or offo, because if I try to hyphenate computermonitor = com-puter-mon-it-or and computer_monitor = computer_monitor So I tried to extend the rules but I didn't get a better result. I tried to add more patterns in the

Re: Apache™ FOP: Hyphenation license

2012-12-14 Thread Luis Bernardo
FOP does not do hyphenation by itself. For that you need to have the fop-hyph.jar (that you can download from http://offo.sourceforge.net/hyphenation/) present. So the license is the one in that same site (there are different licenses for different languages). On 12/14/12 6:59 PM, Support

Apache™ FOP: Hyphenation license

2012-12-14 Thread Support SBA
Hello, I’m investigating about Apache™ FOP: Hyphenation. I searched on the website but didn’t find the license and the license version used for the package. Can you please provide me this information ? Regards, www.prometil.com Equipe Process Méthodes & Outils Pro

Re: fop and hyphenation produces NullPointerException [SOLVED with workaround]

2012-07-24 Thread Wilhelm
dOfNode(__PageSequence.java:120) >>> at org.apache.fop.fo <http://org.apache.fop.fo> >>> >>> <http://org.apache.fop.fo>.__FOTreeBuilder$MainFOHandler.__endElement(FOTreeBuilder.java:__349) >>> at org.apache.fo

Re: fop and hyphenation produces NullPointerException

2012-07-24 Thread Wilhelm
at >>> >>> org.apache.fop.area.__AreaTreeHandler.__endPageSequence(__AreaTreeHandler.java:238) >>> at >>> >>> org.apache.fop.fo.pagination.__PageSequence.endOfNode(__PageSequence.java:120) >>>

Re: fop and hyphenation produces NullPointerException

2012-07-23 Thread mehdi houshmand
_addChildElements(__FlowLayoutManager.java:129) > >>> at > >>> > >>> > org.apache.fop.layoutmgr.__FlowLayoutManager.__getNextKnuthElements(__FlowLayoutManager.java:70) > >>> at > >>> > >>> >

Re: fop and hyphenation produces NullPointerException

2012-07-23 Thread Pascal Sancho
reaker.java:337) >>> at >>> >>> org.apache.fop.layoutmgr.__PageBreaker.doLayout(__PageBreaker.java:85) >>> at >>> >>> org.apache.fop.layoutmgr.__PageSequenceLayoutManager.__activateLayo

Re: fop and hyphenation produces NullPointerException

2012-07-23 Thread mehdi houshmand
gt; endElement(__**TransformerIdentityImpl.java:_**_1102) >> at >> org.apache.xerces.parsers.__**AbstractSAXParser.endElement(_** >> _Unknown >> Sour

Re: fop and hyphenation produces NullPointerException

2012-07-21 Thread Wilhelm
using fop-1.0 oder fop-1.1rc1 I get NullPointerExceptions if I enable hyphenation (language=de). Any hints? -- Wilhelm --__--__- To unsubscribe, e-mail: fop-

Re: fop and hyphenation produces NullPointerException

2012-07-21 Thread mehdi houshmand
parsers.**AbstractSAXParser.parse(**Unknown > Source) > at > org.apache.xerces.jaxp.**SAXParserImpl$JAXPSAXParser.**parse(Unknown > Source) > at org.apache.xalan.transformer.**TransformerIdentityImpl.** > transform(**TransformerIdentityImpl.java:**485) >

Re: fop and hyphenation produces NullPointerException

2012-07-21 Thread Wilhelm
:130) at org.apache.fop.cli.Main.startFOP(Main.java:174) at org.apache.fop.cli.Main.main(Main.java:205) Quoting Wilhelm : Hi, using fop-1.0 oder fop-1.1rc1 I get NullPointerExceptions if I enable hyphenation (language=de). Any hints? -- Wilhelm

Re: fop and hyphenation produces NullPointerException

2012-07-21 Thread rsargent
Show the stack trace. Quoting Wilhelm : Hi, using fop-1.0 oder fop-1.1rc1 I get NullPointerExceptions if I enable hyphenation (language=de). Any hints? -- Wilhelm - To unsubscribe, e-mail: fop-users-unsubscr

fop and hyphenation produces NullPointerException

2012-07-21 Thread Wilhelm
Hi, using fop-1.0 oder fop-1.1rc1 I get NullPointerExceptions if I enable hyphenation (language=de). Any hints? -- Wilhelm - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e

Re: How to prevent hyphenation after hyphens?

2012-06-13 Thread Pascal Sancho
t&#x2011;second first&#x2011;second first&#x2011;second > first&#x2011;second first&#x2011;second first&#x2011;second > first&#x2011;second first&#x2011;second first&#x2011;second > first&#x2011;second first&#x2011;second > > > a

RE: How to prevent hyphenation after hyphens?

2012-06-13 Thread SNawa
st&#x2011;second first&#x2011;second first&#x2011;second first&#x2011;second and I get next result http://old.nabble.com/file/p34004367/%2523.png Why is '#' inserted? Amick, Eric wrote: > > Hyphenation means adding a hyphen to text, so the hyphenate property w

Re: How to prevent hyphenation after hyphens?

2012-06-12 Thread kinda...@gmail.com
Hi, You can define in the hyphenation rules how many characters before and after an hyphen. If you define something like 2 for each property, then the hyphenation patern will skip over any existing hyphenated word in the text. You will have to check the manuals on the precise rules, etc

RE: How to prevent hyphenation after hyphens?

2012-06-12 Thread Amick, Eric
Hyphenation means adding a hyphen to text, so the hyphenate property won't help. Most likely your best bet is changing the hyphens in the text to non-breaking hyphens (Unicode U+2011), presumably in the style sheet if you're using one. If that doesn't work, you can try wrapping

How to prevent hyphenation after hyphens?

2012-06-12 Thread SNawa
-second first-second first-second first-second first-second first-second Output looks like http://old.nabble.com/file/p34000343/hyphens.png How to prevent hyphenation after hyphens? I want that the first and second words stay in the same line Thanks -- View this message in context: http

Re: Norwegian hyphenation rules

2011-09-16 Thread Lars Bjørndal
Hi, Simon! You wrote: > Yes, I realized that FOP_HYPHENATION_PATH is used in debian and > ubuntu, and in fop's own startup script, and apparently not in fedora. > Does the fedora script have no option to add the path to the > hyphenation jar file, other than modifying the script

Re: Norwegian hyphenation rules

2011-09-14 Thread Simon Pepping
Yes, I realized that FOP_HYPHENATION_PATH is used in debian and ubuntu, and in fop's own startup script, and apparently not in fedora. Does the fedora script have no option to add the path to the hyphenation jar file, other than modifying the script? Simon On Wed, Sep 14, 2011 at 11:03

Re: Norwegian hyphenation rules

2011-09-14 Thread Lars Bjørndal
, I've tried both, language="no" and language="nb". In >> both cases, I get the following output while running fop: >> >> 11.sep.2011 20:14:51 org.apache.fop.hyphenation.Hyphenator >> getHyphenationTree >> SEVERE: Couldn't f

Re: Norwegian hyphenation rules

2011-09-13 Thread Simon Pepping
me/lrs/fop/fop-hyph.jar"'. > > In the .fo file, I've tried both, language="no" and language="nb". In > both cases, I get the following output while running fop: > > 11.sep.2011 20:14:51 org.apache.fop.hyphenation.Hyphenator &

Re: Norwegian hyphenation rules

2011-09-11 Thread Lars Bjørndal
Hi Simon Pepping writes: > Pattern file nb: Norwegian Bokmal hyphenation patterns > Pattern file nn: Norwegian Nynorsk hyphenation patterns > > In the note 'Configuring FOP for hyphenation' on the installation > pages you can find instructions on how to enable these for

Re: Norwegian hyphenation rules

2011-09-08 Thread Simon Pepping
Pattern file nb: Norwegian Bokmal hyphenation patterns Pattern file nn: Norwegian Nynorsk hyphenation patterns In the note 'Configuring FOP for hyphenation' on the installation pages you can find instructions on how to enable these for language="no". Simon On Tue, Sep 06

Norwegian hyphenation rules

2011-09-06 Thread Lars Bjørndal
I'd like to add support for Norwegian hyphenation in fop. I'm running a distro built fop package, version 0.95 on Fedora 14. On offo.sf.net, I can't find any download link for files like nohyph.xml or fop-hyph.jar that's mentioned in the web pages. Can someone please give me

Re: keep-together.within-line="always" not working with inline and hyphenation

2011-04-15 Thread Tobias Rettstadt
Hi Matthias, lots of thanks. That is exactly what I was looking for. Regards, Tobias -- View this message in context: http://old.nabble.com/keep-together.within-line%3D%22always%22-not-working-with-inline-and-hyphenation-tp31396866p31403513.html Sent from the FOP - Users mailing list archive

Re: keep-together.within-line="always" not working with inline and hyphenation

2011-04-14 Thread Matthias Reischenbacher
As I understand from the specification and previous posts, an inline with keep-together.within-line="always" should prevent hyphenation of the containing text by ensuring that it is rendered on the same line. But that does not seem to work in my case: http://old.nabble.com/file/p31396866/test.

Re: keep-together.within-line="always" not working with inline and hyphenation

2011-04-14 Thread Andreas L. Delmelle
On 14 Apr 2011, at 15:14, Tobias Rettstadt wrote: Hi Tobias > As I understand from the specification and previous posts, an inline with > keep-together.within-line="always" should prevent hyphenation of the > containing text by ensuring that it is rendered on the same line.

keep-together.within-line="always" not working with inline and hyphenation

2011-04-14 Thread Tobias Rettstadt
Hi FOP experts, I hope you can help me with my problem. As I understand from the specification and previous posts, an inline with keep-together.within-line="always" should prevent hyphenation of the containing text by ensuring that it is rendered on the same line. But that does not se

New release of OFFO hyphenation patterns for FOP

2010-10-29 Thread Simon Pepping
I am pleased to announce a new release of the OFFO hyphenation patterns for FOP. The hyphenation patterns in this release are based on the TeX hyphenation patterns hosted on CTAN and obtained from them by direct conversion. The new version number is 2.0. This release is a follow-up to the

Problem with linefeed-treatment="preserve" and hyphenation

2010-09-14 Thread nebulo
Hi, i am using fop for PDF-Generation. If I use linefeed-treatment="preserve" and hypenate="true" I have some strange effects. The text is repeated in an unformatted manner ... I think what I get is similar to the following issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=38264 Is

Re: How to prevent line break when hyphenation is enabled?

2010-09-13 Thread Matthias Reischenbacher
Hi, just in case somebody else has this problem: I ended up wrapping every single character inside a fo:character element and set the hyphenate attribute to false. This also prevents hyphenation and doesn't require the Arial Unicode MS font. e.g. I'm still wondering

Re: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
Hi Simon, Can you not use discretionary hyphens in your fo file? No, that's not possible because the translator only gets a XML file for translation and has no idea where the line breaks will occur. I think you would have to take the source XML hyphenation pattern file, and edit

Re: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Simon Pepping
On Fri, Sep 10, 2010 at 01:08:39PM -0300, Matthias Reischenbacher wrote: > Hi Georg, > > thanks for your response. In this case I don't want to prevent > hyphenation. The problem is, that the hyphenation is done > incorrectly. I might end up adding some exceptions i

Re: How to prevent line break when hyphenation is enabled?

2010-09-10 Thread Simon Pepping
On Fri, Sep 10, 2010 at 12:09:40PM -0300, Matthias Reischenbacher wrote: > Hi Simon, > > What is kind of strange although, when using some other font, which > also contains this character (e.g. Arial, Calibri, Times New Roman > etc. [1]), the character gets displayed in a weird way (have a look >

AW: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Georg Datterl
& Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Matthias Reischenbacher [mailto:matthias8...@gmx.at] Gesendet: Freitag, 10. September 2010 18:09 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: Incorrect hyphenation of Polish language Hi Georg, thanks

Re: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
Hi Georg, thanks for your response. In this case I don't want to prevent hyphenation. The problem is, that the hyphenation is done incorrectly. I might end up adding some exceptions in order to disable hyphenation for some words but that's only a suboptimal solution. Regards, Ma

AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Georg Datterl
Hi Matthias, I don't quite understand why keep-together does not work for you, but if you only have a few words where you want to prevent hyphenation, you can write exceptions directly into the pattern file. Mit freundlichen Grüßen Georg Datterl -- Kontakt -- Georg Datterl G

Re: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
Hi, thanks for testing Pascal. Actually I was already using the new unicode hyphenation patterns (which by the way seem to work just fine in other languages). I think that the polish tex file is the same for both versions (The last modification date of the file is back in 1995!). http

Re: How to prevent line break when hyphenation is enabled?

2010-09-10 Thread Matthias Reischenbacher
Hi Simon, Any non-word character prevents hyphenation. Word characters are defined in the classes element in the source hyphenation file. For German these are a-z, ä, å, ö, ü and ß. WORD JOINER is not one of them, but apparently it is filtered out. I tried ZERO WIDTH JOINER, but that is

Re: How to prevent line break when hyphenation is enabled?

2010-09-10 Thread Simon Pepping
On Thu, Sep 09, 2010 at 04:27:31PM -0300, Matthias Reischenbacher wrote: > Hi, > > is there a way to prevent a line break inside a word, when > hyphenation is enabled? > > I've tried two things, but neither of them did the trick: > 1. Insert WORD JOINER characters (Ux20

Re: Incorrect hyphenation of Polish language

2010-09-10 Thread Pascal Sancho
:08:45PM -0300, Matthias Reischenbacher wrote: >> Hi, >> >> I'm having problems with hyphenation of text in polish language. A >> polish translator checked a 200 pages PDF file generated by FOP and >> found over 30 hyphenation errors. >> >> I double che

Re: Incorrect hyphenation of Polish language

2010-09-10 Thread Simon Pepping
On Thu, Sep 09, 2010 at 07:08:45PM -0300, Matthias Reischenbacher wrote: > Hi, > > I'm having problems with hyphenation of text in polish language. A > polish translator checked a 200 pages PDF file generated by FOP and > found over 30 hyphenation errors. > > I doub

Incorrect hyphenation of Polish language

2010-09-09 Thread Matthias Reischenbacher
Hi, I'm having problems with hyphenation of text in polish language. A polish translator checked a 200 pages PDF file generated by FOP and found over 30 hyphenation errors. I double checked if the language attribute was correctly set on the fo:root element. Is it possible tha

How to prevent line break when hyphenation is enabled?

2010-09-09 Thread Matthias Reischenbacher
Hi, is there a way to prevent a line break inside a word, when hyphenation is enabled? I've tried two things, but neither of them did the trick: 1. Insert WORD JOINER characters (Ux2060) between all characters of the word 2. I'm attaching a sample fo file, in case somebody wants

SEVERE: Couldn't find hyphenation pattern en

2010-06-22 Thread Tom Browder
I can't get rid of the subject error. I have tried every solution (except compiling a new hyphenation dictionary) I saw on the FOP help at the web site. I am using FOP 0.95 on Ubuntu 10.04 LT, amd64. I use xsltproc to produce the fo file from docbook source, then run the fo file throug

Maven artifact for OFFO (FOP hyphenation files)

2010-04-08 Thread Simon Pepping
Cedric Pronzato created a maven artifact for OFFO (FOP hyphenation files). fop-hyph is now synchronized with maven public central repository using: net.sf.offo fop-hyph 1.2 Regards, Simon -- Simon Pepping home page: http://www.leverkruid.eu

Re: New experimental hyphenation patterns

2009-11-27 Thread J.Pietschmann
On 26.11.2009 09:56, Simon Pepping wrote: Yes. I'm a bit behind on the hyphenation front, but I thought the kind of classes used in TeX hyphenation patterns aren't of much use if the patterns use Unicode. There is a Unicode standard for parsing words out of text: http://www.u

Re: New experimental hyphenation patterns

2009-11-26 Thread Simon Pepping
iles over the default ones will have to > >rename the pattern files in the jar file. > > Hmm. I'd rather invent a FOP configuration for mapping the language(s) > given in the FO to hyphenation pattern names. That is a good idea. Something like: > >Classes: ... Sinc

Re: New experimental hyphenation patterns

2009-11-25 Thread J.Pietschmann
x27;d rather invent a FOP configuration for mapping the language(s) given in the FO to hyphenation pattern names. Classes: ... Since 3 September 2009 these classes are built into FOP. I'm a bit behind on the hyphenation front, but I thought the kind of classes used in TeX hyphenation patterns

New experimental hyphenation patterns

2009-11-25 Thread Simon Pepping
I just uploaded new experimental hyphenation patterns for FOP, see http://sourceforge.net/projects/offo, select the tab files, select the newest files, or the files in offo-hyphenation-utf8/0.1. >From the readme file (index.html in the downloaded zip files): Recently the TeX community h

Re: How to install hyphenation patterns in FOP?

2009-11-11 Thread Jerzy Jalocha N
On Wed, Nov 11, 2009 at 4:32 AM, Simon Pepping wrote: > On Tue, Nov 10, 2009 at 08:40:30AM -0300, Jerzy Jalocha N wrote: >> >> Sadly, it seems like they haven't been able to package the OFFO >> hyphenation patterns because of licensing issues. Even though

Re: How to install hyphenation patterns in FOP?

2009-11-10 Thread Simon Pepping
On Tue, Nov 10, 2009 at 08:40:30AM -0300, Jerzy Jalocha N wrote: > > Sadly, it seems like they haven't been able to package the OFFO > hyphenation patterns because of licensing issues. Even though the > description in http://offo.sourceforge.net/hyphenation/licenses.html > st

Re: How to install hyphenation patterns in FOP?

2009-11-10 Thread Jerzy Jalocha N
encies, those will be installed only once and not duplicated all > over the system. > > Now, there appears to be a missing package relating to the hyphenation > patterns. Sadly, it seems like they haven't been able to package the OFFO hyphenation patterns because of licensing issue

Re: How to install hyphenation patterns in FOP?

2009-11-10 Thread Vincent Hennebert
>> >> On my debian system the fop script is a little different from yours: >> >> diff of /usr/bin/fop with your fop script >> == >> find_jars xml-apis-ext >> + >> +# We load the hyphenation jar at the request of the user. >> +

Re: How to install hyphenation patterns in FOP?

2009-11-09 Thread Jerzy Jalocha N
ferent from yours: > > diff of /usr/bin/fop with your fop script > == >  find_jars xml-apis-ext > + > +# We load the hyphenation jar at the request of the user. > +if [ "$FOP_HYPHENATION_PATH" ]; then > +    find_jars $FOP_HYPHENATION_PATH > +fi >  find_

Re: How to install hyphenation patterns in FOP?

2009-11-09 Thread Simon Pepping
On Mon, Nov 09, 2009 at 01:57:46PM -0300, Jerzy Jalocha N wrote: > Dear Peter, thank you very much for your reply! > > > You should just need  fop-hyph.jar  which you can get from > > http://offo.sourceforge.net/hyphenation/fop-stable/installation.html > OK, this is the fi

Re: How to install hyphenation patterns in FOP?

2009-11-09 Thread Jerzy Jalocha N
Dear Peter, thank you very much for your reply! > You should just need  fop-hyph.jar  which you can get from > http://offo.sourceforge.net/hyphenation/fop-stable/installation.html OK, this is the file I have mainly been working with, so I should be on the right track here. > The ins

Re: How to install hyphenation patterns in FOP?

2009-11-09 Thread Peter Hancock
Hi, You should just need fop-hyph.jar which you can get from http://offo.sourceforge.net/hyphenation/fop-stable/installation.html The installation just involves putting this in the lib directory and the fop command will place it in the classpath. Also, make sure that the build.properties (or

How to install hyphenation patterns in FOP?

2009-11-09 Thread Jerzy Jalocha N
Hi, everyone! Since a few days, I am trying to install the OFFO hyphenation patterns in my FOP install, but I've failed miserably, so far. I guess, I am missing just a tiny little detail, because It seems like I've really tried everything. (Please see details below.) So my question is

Re: word wrap, hyphenation

2009-11-03 Thread Christopher R. Maden
Vincent Hennebert wrote: > In your particular case though, you should not use the degree character > as an abbreviation for number (which I guess it is). Looking on the web, > the correct abbreviation seems to be ‘no’ or ‘no.’ [2]. In which case > you wouldn’t have that line-breaking issue (you may

  1   2   3   >