Re: Batik not loaded
Hi, list! [Pascal Sancho] Le 21/12/2011 22:24, Lars Bjørndal a écrit : Hi! [Pascal Sancho] Lars, are you running FOP on Linux without Xserver? Yes, I'm blind, and don't need the graphic. Also, I do run from a server to which I connect through ssh. If this is the case, you should run FOP (and Batik) in headless environment. See [1] for further info. [1] http://xmlgraphics.apache.org/fop/1.0/graphics.html#batik I tried to run 'xvfb-run fop parameters', but that doesn't give any better result. I looked at your reference, but I'm not able to figure out how to do this. Can you please give me some more hints? I'm not familiar enough about running FOP on Linux Server. You should have a look on FopUserList archives, some related issues have been reported many times (see [2] and [3]). Note that your issue is quite more like the latter [3] [2] http://old.nabble.com/FOP-not-properly-working-in-UNIX-environment-to32828794.html#a32853367 [3] http://fop-users.markmail.org/search/?q=batik#query:batik+page:1+mid:cm73wporpr4qhvci+state:results Another axis should be to look at Java environment. What version, and from what vendor, do you use? Thanks and regards, Lars Le 20/12/2011 10:01, Luis Bernardo a écrit : You are including images in SVG, correct? Then the error may be misleading what what you are missing is a different jar (probably JAI ImageIO), not the Batik jar. Try that... On Tue, Dec 20, 2011 at 8:27 AM, Lars Bjørndal l...@lamasti.net wrote: [Terence] On 12/19/2011 1:28 PM, Lars Bjørndal wrote: I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar So, what's the problem here? Doesn't the reference to batik-all include batik? The file exists, and is from package batik-1.7-11.fc15. Regards, Lars Hi, Lars- Are the two colons before /home/lrs/fop/fop-hyph.jar a typo? Yes or no.. In my .foprc file, I have: CLASSPATH=$CLASSPATH:/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar. When this is put together by the script, there is two colons. I tried to drop the colon. The CLASSPATH is then right, but I have the exactly same situation regarding Batic not in classpath. At last, I found the problem. I think the batik package for Fedora is broken, e.g. missing some dependency stuff. I installed the file xml-apis-ext.jar, and included it in CLASSPATH. This file isn't available by any Fedora package, unfortunately. Thanks and regards, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Batik not loaded
Hi, Pascal! You wrote: Le 21/12/2011 22:24, Lars Bjørndal a écrit : Hi! [Pascal Sancho] Lars, are you running FOP on Linux without Xserver? Yes, I'm blind, and don't need the graphic. Also, I do run from a server to which I connect through ssh. If this is the case, you should run FOP (and Batik) in headless environment. See [1] for further info. [1] http://xmlgraphics.apache.org/fop/1.0/graphics.html#batik I tried to run 'xvfb-run fop parameters', but that doesn't give any better result. I looked at your reference, but I'm not able to figure out how to do this. Can you please give me some more hints? I'm not familiar enough about running FOP on Linux Server. You should have a look on FopUserList archives, some related issues have been reported many times (see [2] and [3]). Note that your issue is quite more like the latter [3] [2] http://old.nabble.com/FOP-not-properly-working-in-UNIX-environment-to32828794.html#a32853367 [3] http://fop-users.markmail.org/search/?q=batik#query:batik+page:1+mid:cm73wporpr4qhvci+state:results Another axis should be to look at Java environment. What version, and from what vendor, do you use? I'm using the Linux distribution Fedora, With some packages, like: java-1.6.0-openjdk-1.6.0.0-60.1.10.4.fc15.i686 xmlgraphics-commons-1.4-2.noarch fop-1.0-17.fc15.noarch batik-1.7-11.fc15.noarch jai-imageio-core-1.2-0.6.20100217cvs.fc15.i686 I looked at your references, but I'm not much wiser, unfortunately. Thank you anyway. Lars Le 20/12/2011 10:01, Luis Bernardo a écrit : You are including images in SVG, correct? Then the error may be misleading what what you are missing is a different jar (probably JAI ImageIO), not the Batik jar. Try that... On Tue, Dec 20, 2011 at 8:27 AM, Lars Bjørndal l...@lamasti.net wrote: [Terence] On 12/19/2011 1:28 PM, Lars Bjørndal wrote: I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar So, what's the problem here? Doesn't the reference to batik-all include batik? The file exists, and is from package batik-1.7-11.fc15. Regards, Lars Hi, Lars- Are the two colons before /home/lrs/fop/fop-hyph.jar a typo? Yes or no.. In my .foprc file, I have: CLASSPATH=$CLASSPATH:/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar. When this is put together by the script, there is two colons. I tried to drop the colon. The CLASSPATH is then right, but I have the exactly same situation regarding Batic not in classpath. Regards, Lars -- Pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Batik not loaded
Hi! [Pascal Sancho] Lars, are you running FOP on Linux without Xserver? Yes, I'm blind, and don't need the graphic. Also, I do run from a server to which I connect through ssh. If this is the case, you should run FOP (and Batik) in headless environment. See [1] for further info. [1] http://xmlgraphics.apache.org/fop/1.0/graphics.html#batik I tried to run 'xvfb-run fop parameters', but that doesn't give any better result. I looked at your reference, but I'm not able to figure out how to do this. Can you please give me some more hints? Thanks and regards, Lars Le 20/12/2011 10:01, Luis Bernardo a écrit : You are including images in SVG, correct? Then the error may be misleading what what you are missing is a different jar (probably JAI ImageIO), not the Batik jar. Try that... On Tue, Dec 20, 2011 at 8:27 AM, Lars Bjørndal l...@lamasti.net wrote: [Terence] On 12/19/2011 1:28 PM, Lars Bjørndal wrote: I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar So, what's the problem here? Doesn't the reference to batik-all include batik? The file exists, and is from package batik-1.7-11.fc15. Regards, Lars Hi, Lars- Are the two colons before /home/lrs/fop/fop-hyph.jar a typo? Yes or no.. In my .foprc file, I have: CLASSPATH=$CLASSPATH:/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar. When this is put together by the script, there is two colons. I tried to drop the colon. The CLASSPATH is then right, but I have the exactly same situation regarding Batic not in classpath. Regards, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Batik not loaded
[Terence] On 12/19/2011 1:28 PM, Lars Bjørndal wrote: I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar So, what's the problem here? Doesn't the reference to batik-all include batik? The file exists, and is from package batik-1.7-11.fc15. Regards, Lars Hi, Lars- Are the two colons before /home/lrs/fop/fop-hyph.jar a typo? Yes or no.. In my .foprc file, I have: CLASSPATH=$CLASSPATH:/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar. When this is put together by the script, there is two colons. I tried to drop the colon. The CLASSPATH is then right, but I have the exactly same situation regarding Batic not in classpath. Regards, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Batik not loaded
I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar So, what's the problem here? Doesn't the reference to batik-all include batik? The file exists, and is from package batik-1.7-11.fc15. Regards, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Batik not loaded
[Rob Sargent] Can you show that the classpath you list is in fact the classpath in play at runtime? Here's the script I used to start the process: #!/bin/sh # # Fop script # JPackage Project http://www.jpackage.org/ # Source functions library if [ -f /usr/share/java-utils/java-functions ] ; then . /usr/share/java-utils/java-functions else echo Can't find functions library, aborting exit 1 fi # Source system prefs if [ -f /etc/fop.conf ] ; then . /etc/fop.conf fi # Source user prefs if [ -f $HOME/.foprc ] ; then . $HOME/.foprc fi # Configuration MAIN_CLASS=org.apache.fop.cli.Main # Set parameters set_jvm set_classpath commons-io batik-all avalon-framework-api \ avalon-framework-impl xmlgraphics-commons \ commons-logging fop set_flags $BASE_FLAGS set_options $BASE_OPTIONS # Let's start echo $CLASSPATH run $@ Any ide involved? What do you mean by ide? fop version? 'fop -version' returns FOP Version SVN tags/fop-1_0 'rpm -q fop' returns fop-1.0-17.fc15.noarch Regards, Lars On 12/19/2011 12:28 PM, Lars Bjørndal wrote: I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar So, what's the problem here? Doesn't the reference to batik-all include batik? The file exists, and is from package batik-1.7-11.fc15. Regards, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error messages from fop
On sø., sep. 18, 2011 at 08:00:56 +0200, Simon Pepping wrote: Probably. You should also upgrade xmlgraphics-commons. Simon Thank you! Helped a lot. Lars On Sat, Sep 17, 2011 at 09:03:26PM +0200, Lars Bjørndal wrote: I upgraded fop from the update-testing repository, and now, I have fop-1.0-13.fc14 installed. Unfortunately and surprisingly, I get the following errors when giving the command 'fop -h' or other fop commands: Exception in thread main java.lang.NoClassDefFoundError: org/apache/xmlgraphics/util/uri/CommonURIResolver at org.apache.fop.apps.FOURIResolver.init(FOURIResolver.java:56) at org.apache.fop.apps.FopFactory.init(FopFactory.java:155) at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:177) at org.apache.fop.cli.CommandLineOptions.init(CommandLineOptions.java:121) at org.apache.fop.cli.Main.startFOP(Main.java:157) at org.apache.fop.cli.Main.main(Main.java:204) Caused by: java.lang.ClassNotFoundException: org.apache.xmlgraphics.util.uri.CommonURIResolver at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 6 more Is there some missing dependency packages on my system? - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error messages from fop
Hi, Simon! You wrote: The problem does not occur in fop-1.0, nor in the current development version of fop. It may be bug 46386 (see https://issues.apache.org/bugzilla/show_bug.cgi?id=46386). That bug report suggests that the problem is due to an empty inline with an id. You may either remove such elements, or upgrade to fop-1.0. We recently discussed with fedora how to solve the problem that they had with building fop-1.0, so I hope it is now available in fedora. I upgraded fop from the update-testing repository, and now, I have fop-1.0-13.fc14 installed. Unfortunately and surprisingly, I get the following errors when giving the command 'fop -h' or other fop commands: Exception in thread main java.lang.NoClassDefFoundError: org/apache/xmlgraphics/util/uri/CommonURIResolver at org.apache.fop.apps.FOURIResolver.init(FOURIResolver.java:56) at org.apache.fop.apps.FopFactory.init(FopFactory.java:155) at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:177) at org.apache.fop.cli.CommandLineOptions.init(CommandLineOptions.java:121) at org.apache.fop.cli.Main.startFOP(Main.java:157) at org.apache.fop.cli.Main.main(Main.java:204) Caused by: java.lang.ClassNotFoundException: org.apache.xmlgraphics.util.uri.CommonURIResolver at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 6 more Is there some missing dependency packages on my system? Thanks Lars On Wed, Sep 14, 2011 at 11:13:42AM +0200, Lars Bjørndal wrote: Hello I'd like to convert the following file into PDF, using fop version 0.95. http://lamasti.net/filer/test.fo The fo file is generated from an Docbook XML file with xsltproc. The rest of this mail shows the output from fop, and I hope someon could help me find a way out... The CLASSPATH variable is set to: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/usr/share/java/xml-commons-apis-ext.jar:/home/lrs/fop/fop-hyph.jar Here's the output: - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Norwegian hyphenation rules
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? It works while putting the following into the .foprc file: CLASSPATH=path-to-jar-file Lars On Wed, Sep 14, 2011 at 11:03:43AM +0200, Lars Bjørndal wrote: Hello, Simon, and thank you much for your valuable feedback! You wrote: This should work. If you are using fop downloaded from Apache, use: fop --execdebug xxx.fo xxx.pdf to see the classpath, and check whether /home/lrs/fop/fop-hyph.jar is part of it. Also check if /home/lrs/fop/fop-hyph.jar exists and is readable. I use Fedora 14 with a pre built RPM package, fop-0.95-5.fc14.noarch. the fop-hyph.jar file exists, and is readable. I ended up modifying the /usr/bin/fop shell script, by adding the path to the fop-hyph.jar file to the CLASSPATH variable. BTW the ~/.foprc file is also read, but it seems that putting the environment variable FOP_HYPHENATION_PATH=/home/lrs/fop/fop-hyph.jar in it, has no effect. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Norwegian hyphenation rules
Hello, Simon, and thank you much for your valuable feedback! You wrote: This should work. If you are using fop downloaded from Apache, use: fop --execdebug xxx.fo xxx.pdf to see the classpath, and check whether /home/lrs/fop/fop-hyph.jar is part of it. Also check if /home/lrs/fop/fop-hyph.jar exists and is readable. I use Fedora 14 with a pre built RPM package, fop-0.95-5.fc14.noarch. the fop-hyph.jar file exists, and is readable. I ended up modifying the /usr/bin/fop shell script, by adding the path to the fop-hyph.jar file to the CLASSPATH variable. BTW the ~/.foprc file is also read, but it seems that putting the environment variable FOP_HYPHENATION_PATH=/home/lrs/fop/fop-hyph.jar in it, has no effect. I still have problems and error message, let me mention those in another mail. Lars On Sun, Sep 11, 2011 at 08:39:28PM +0200, Lars Bjørndal wrote: I then used 'unzip -v fop-hyph.jar' to list the content, and found the file 'hyph/no.hyp'. In ~/.foprc, I put: 'FOP_HYPHENATION_PATH=/home/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 getHyphenationTree SEVERE: Couldn't find hyphenation pattern no Any ideas? Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Error messages from fop
Hello I'd like to convert the following file into PDF, using fop version 0.95. http://lamasti.net/filer/test.fo The fo file is generated from an Docbook XML file with xsltproc. The rest of this mail shows the output from fop, and I hope someon could help me find a way out... The CLASSPATH variable is set to: /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/usr/share/java/xml-commons-apis-ext.jar:/home/lrs/fop/fop-hyph.jar Here's the output: 14.sep.2011 11:11:14 org.apache.fop.fonts.FontInfo notifyFontReplacement WARNING: Font 'Symbol,normal,700' not found. Substituting with 'Symbol,normal,400'. 14.sep.2011 11:11:14 org.apache.fop.fonts.FontInfo notifyFontReplacement WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with 'ZapfDingbats,normal,400'. 14.sep.2011 11:11:15 org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2 WARNING: Line 1 of a paragraph overflows the available area by 2500mpt. (fo:block, location: 143/242) 14.sep.2011 11:11:15 org.apache.fop.cli.InputHandler error SEVERE: javax.xml.transform.TransformerException 14.sep.2011 11:11:15 org.apache.fop.cli.Main startFOP SEVERE: Exception org.apache.fop.apps.FOPException: java.lang.NullPointerException javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:196) Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:720) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:317) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) ... 3 more Caused by: java.lang.NullPointerException at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350) at org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1480) at org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreakingPoints(LineLayoutManager.java:950) at org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(LineLayoutManager.java:917) at org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:607) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116) at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:107) at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145) at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:552) at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:302) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:340) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169) at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:265) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:604) at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.endElement(XIncludeHandler.java:1017) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1759) at
Re: Norwegian hyphenation rules
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 language=no. At last, I found the file here: http://sourceforge.net/projects/offo/files/offo-hyphenation/1.0/offo-hyphenation-fop-stable.zip/download I then used 'unzip -v fop-hyph.jar' to list the content, and found the file 'hyph/no.hyp'. In ~/.foprc, I put: 'FOP_HYPHENATION_PATH=/home/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 getHyphenationTree SEVERE: Couldn't find hyphenation pattern no Any ideas? Lars On Tue, Sep 06, 2011 at 08:42:04PM +0200, Lars Bjørndal wrote: 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 some hints on how to get this working? Thanks, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- Lars Bjørndal l...@lamasti.net Ostadalsveien 64, 0753 Oslo. Mobil: 958 37 537 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Norwegian hyphenation rules
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 some hints on how to get this working? Thanks, Lars - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org