Re: FOP, hypenation. How to compile hyph pattern? my own
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\buildjar -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\libjar -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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
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\buildjar -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\libjar -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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
thx, i try. C:\...\fop-0.95\buildjar -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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
lexa2009 wrote: thx, i try. C:\...\fop-0.95\buildjar -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\libjar -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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
thx! i have installed full jdk and when i write ant compile-hyphenation in fop folder i have error about build.xml C:\fop-0.95ant compile-hyphenation Buildfile: build.xml does not exist! Build failed if i try C:\fop-0.95java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar org.apache.fop.hyphenation.SerializeHyphPattern patterns patterns i have this output - C:\fop-0.95java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar org.apac he.fop.hyphenation.SerializeHyphPattern patterns patterns Exception in thread main java.lang.NoClassDefFoundError: org/apache/fop/hyphen ation/SerializeHyphPattern Caused by: java.lang.ClassNotFoundException: org.apache.fop.hyphenation.Serializ eHyphPattern at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: org.apache.fop.hyphenation.SerializeHyphPattern. Program will exit. what to do?? hope for you help J.Pietschmann wrote: On 30.04.2010 09:38, lexa2009 wrote: i try Check Installation in http://ant.apache.org/manual/install.html all work good. i go to fop.0.95 directory in cmd and write C:\fop-0.95ant ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: build.xml does not exist! Build failed i have this error. last post i use my own build.xml which i find in fop directory. it was my mistake. i google and find that tools.jar do not need for hyph, so i can ignore this message. but why i have error Buildfile: build.xml does not exist! ? The error messages comes from ant which tries to load its built-in tasks, and some of them use tools.jar from the JDK. Either get a full JDK and point the JAVA_HOME there rather than to a JRE, or use command line based on the following in your FOP directory: java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar org.apache.fop.hyphenation.SerializeHyphPattern hyph hyph-dest Undo the linebreak, maybe adjust the directory and filename of the FOP jar, and you may also have to change the java command into jre depending on what you have installed. The hyph is the directory your hyphenation pattern file is in. If you get errors about missing classes, guess and add the appropriate jar which should be in the lib/ directory (I can't test this right now). J.Pietschmann - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28470641.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
i try Check Installation in http://ant.apache.org/manual/install.html all work good. i go to fop.0.95 directory in cmd and write C:\fop-0.95ant ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: build.xml does not exist! Build failed i have this error. last post i use my own build.xml which i find in fop directory. it was my mistake. i google and find that tools.jar do not need for hyph, so i can ignore this message. but why i have error Buildfile: build.xml does not exist! ? Simon Pepping @ Home wrote: There is indeed nothing wrong with build.xml; target 'compile-hyphenation' is defined. However, your error message says: project null. That is definitely not good, and shows that your ant installation does not work properly. The project is fop, and is also defined in build.xml. In principle you can compile the hyphenation patterns without ant. Run java with org.apache.fop.hyphenation.SerializeHyphPattern as the main class; arguments are the directory with patterns and the target directory for storing the compiled hyphenation files. The class path should be the same as for a normal fop run. But this seems more complicated than using ant. Regards, Simon On Thu, Apr 29, 2010 at 03:44:48PM +0100, Peter Hancock wrote: You should have and use the standard build.xml that shipped with fox. The target 'compile-hyphenation' is defined in this. See Simon's post for where to go from here. done. now i use it from fop directory but have the same output - C:\fop-0.95ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: C:\fop-0.95\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds -- Simon Pepping home page: http://www.leverkruid.eu - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28409369.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
Hi! Thx a lot, i change my pattern file for this (for example) ?xml version=1.0 encoding=UTF-8? !DOCTYPE hyphenation-info SYSTEM hyphenation.dtd hyphenation-info hyphen-min before=2 after=3/ patterns -- +5a a5+ +5b b5+ /patterns /hyphenation-info when i try to compile it( in cmd i go to ant/bin and write ant.bat compile-hyphenation i have an error Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar Buildfile: C:\ant\bin\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds i use google and fing that i can ignore Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar because i do not need it for my task. but what to do with Target compile-hyphenation does not exist in the project null.? i have to write build.xml by myself? thx! -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28398640.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
done. now i use it from fop directory but have the same output - C:\fop-0.95ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: C:\fop-0.95\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds Peter Hancock-2 wrote: You should run ant from the your fop dir. If ant is not in your path see http://ant.apache.org/ for details. Pete On Thu, Apr 29, 2010 at 10:58 AM, lexa2009 mename...@gmail.com wrote: Hi! Thx a lot, i change my pattern file for this (for example) ?xml version=1.0 encoding=UTF-8? !DOCTYPE hyphenation-info SYSTEM hyphenation.dtd hyphenation-info hyphen-min before=2 after=3/ patterns -- +5a a5+ +5b b5+ /patterns /hyphenation-info when i try to compile it( in cmd i go to ant/bin and write ant.bat compile-hyphenation i have an error Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar Buildfile: C:\ant\bin\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds i use google and fing that i can ignore Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar because i do not need it for my task. but what to do with Target compile-hyphenation does not exist in the project null.? i have to write build.xml by myself? thx! -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28398640.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28399146.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP, hypenation. How to compile hyph pattern? my own
hihi, thx. u think problem in this? it is only warning. on some forum i read that it does not metter when create hyph. what must be in build.xml ?? i really do not know what to write in it. Peter Hancock-2 wrote: Hi, Googling lead me to the suggestion that you need JAVA_HOME to point to the jdk, not the jre. see http://forums.sun.com/thread.jspa?threadID=757039 Pete On Thu, Apr 29, 2010 at 12:08 PM, lexa2009 mename...@gmail.com wrote: done. now i use it from fop directory but have the same output - C:\fop-0.95ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: C:\fop-0.95\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds Peter Hancock-2 wrote: You should run ant from the your fop dir. If ant is not in your path see http://ant.apache.org/ for details. Pete On Thu, Apr 29, 2010 at 10:58 AM, lexa2009 mename...@gmail.com wrote: Hi! Thx a lot, i change my pattern file for this (for example) ?xml version=1.0 encoding=UTF-8? !DOCTYPE hyphenation-info SYSTEM hyphenation.dtd hyphenation-info hyphen-min before=2 after=3/ patterns -- +5a a5+ +5b b5+ /patterns /hyphenation-info when i try to compile it( in cmd i go to ant/bin and write ant.bat compile-hyphenation i have an error Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar Buildfile: C:\ant\bin\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds i use google and fing that i can ignore Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar because i do not need it for my task. but what to do with Target compile-hyphenation does not exist in the project null.? i have to write build.xml by myself? thx! -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28398640.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28399146.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28400915.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
FOP, hypenation. How to compile hyph pattern? my own
Hi, i make such pattern file: hyphenation-info hyphen-char value=-/ hyphen-char value==/ hyphen-char value=+/ hyphen-char value=,/ hyphen-char value=./ hyphen-min before=3 after=2/ /hyphenation-info how to make fop work with it? i can not understand how to use ant for building it to fop format. -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28340019.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Unwanted empty page at the end of rtf.
Hello, i use this fo http://old.nabble.com/file/p28039201/out.txt out.txt and have this output. http://old.nabble.com/file/p28039201/fff.rtf fff.rtf How to fix it? I do not want empty page. The same result if i insert big image. If i create pdf all ok, but i want rtf. -- View this message in context: http://old.nabble.com/Unwanted-empty-page-at-the-end-of-rtf.-tp28039201p28039201.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Extremely long time for processing some kind of tif in rtf.
any ideas? i have many such images -- View this message in context: http://old.nabble.com/Extremely-long-time-for-processing-some-kind-of-tif-in-rtf.-tp27637399p27874543.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: How to balance table columns?
yes, sorry. i meen thought, not think:). i think that it is possible in automatic mode when i write the first message:) thanks for help! Mario Madunic wrote: I'm guessing since no one else has replied maybe there is no automatic way of doing it at the moment. Maybe someone has written an extension for it. I do see that balancing columns is part of next FO spec (I think 2.0). Sorry couldn't be much more help. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: lexa2009 [mailto:myworkac...@gmail.com] Sent: Thursday, February 11, 2010 8:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: How to balance table columns? thx. yes, but i also need to know the length of each string, the length in mm of each character, the length of column to know when they break in two or more lines :) i think is is possible in automatic mode :) Mario Madunic wrote: Sorry for it to make more sense here is the xpath I would test $var/child::*[position() lt count($var//child::*)/2 + 1] $var/child::*[position() gt count($var//child::*)/2] Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Mario Madunic [mailto:mario_madu...@newflyer.com] Sent: Wednesday, February 10, 2010 6:50 AM To: fop-users@xmlgraphics.apache.org Subject: RE: How to balance table columns? You might want to post this up on the XSLT list. So here is how I would do it First is create a temp node variable containing all the left and right strings as child of the var. Get a count of the child nodes (left and right) divide by two (round up or down your choice) then create the table and copy-of/apply-templates to child::*[position() lt half + 1] and for the right side child::*[position() gt half] in the left and right table cells accordingly. Now that is not exact without testing and is only an outline but I hope it give you a general idea of how it might be done. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: lexa2009 [mailto:myworkac...@gmail.com] Sent: Wednesday, February 10, 2010 5:59 AM To: fop-users@xmlgraphics.apache.org Subject: How to balance table columns? Hello! for example i have a simple table with 2 columns. like this: leftstring1 rightstring1 leftstring2 rightstring2 leftstring3 rightstring3 leftstring4 rightstring4 leftstring5 leftstring6 i do not know how many of each string will be, but i want this table leftstring1 leftstring6 leftstring2 rightstring1 leftstring3 rightstring2 leftstring4 rightstring3 leftstring5 rightstring4 how to balance columns? how to make table of smallest height? -- View this message in context: http://old.nabble.com/How-to-balance-table-columns--tp27530072p27530072.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded
Extremely long time for processing some kind of tif in rtf.
hello. i use fop. i have this xsl-fo: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:m=http://www.w3.org/1998/Math/MathML; xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=my-page-with-out-margin page-height=29.7cm page-width=21cm margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm / fo:region-before extent=2cm / fo:region-after extent=3cm / fo:region-start extent=2cm / fo:region-end extent=2cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page-with-out-margin fo:flow flow-name=xsl-region-body fo:block fo:block display-align=center text-align=center fo:external-graphic space-after=1cm space-before=1cm display-align=center content-width=180mm content-height=270mm scaling=uniform src=0004.TIF / /fo:block /fo:block /fo:flow /fo:page-sequence /fo:root and i have this TIF http://old.nabble.com/file/p27637399/0004.tif 0004.tif it takes 5 minutes to get RTF. if i make PDF it is fast, about 5 seconds. if i reconvert tif it will work fast, but i have to use this kind of tif. can u help me? -- View this message in context: http://old.nabble.com/Extremely-long-time-for-processing-some-kind-of-tif-in-rtf.-tp27637399p27637399.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: How to balance table columns?
thx. yes, but i also need to know the length of each string, the length in mm of each character, the length of column to know when they break in two or more lines :) i think is is possible in automatic mode :) Mario Madunic wrote: Sorry for it to make more sense here is the xpath I would test $var/child::*[position() lt count($var//child::*)/2 + 1] $var/child::*[position() gt count($var//child::*)/2] Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Mario Madunic [mailto:mario_madu...@newflyer.com] Sent: Wednesday, February 10, 2010 6:50 AM To: fop-users@xmlgraphics.apache.org Subject: RE: How to balance table columns? You might want to post this up on the XSLT list. So here is how I would do it First is create a temp node variable containing all the left and right strings as child of the var. Get a count of the child nodes (left and right) divide by two (round up or down your choice) then create the table and copy-of/apply-templates to child::*[position() lt half + 1] and for the right side child::*[position() gt half] in the left and right table cells accordingly. Now that is not exact without testing and is only an outline but I hope it give you a general idea of how it might be done. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: lexa2009 [mailto:myworkac...@gmail.com] Sent: Wednesday, February 10, 2010 5:59 AM To: fop-users@xmlgraphics.apache.org Subject: How to balance table columns? Hello! for example i have a simple table with 2 columns. like this: leftstring1 rightstring1 leftstring2 rightstring2 leftstring3 rightstring3 leftstring4 rightstring4 leftstring5 leftstring6 i do not know how many of each string will be, but i want this table leftstring1 leftstring6 leftstring2 rightstring1 leftstring3 rightstring2 leftstring4 rightstring3 leftstring5 rightstring4 how to balance columns? how to make table of smallest height? -- View this message in context: http://old.nabble.com/How-to-balance-table-columns--tp27530072p27530072.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/How-to-balance-table-columns--tp27530072p27544964.html Sent from the FOP - Users mailing list archive at Nabble.com
How to balance table columns?
Hello! for example i have a simple table with 2 columns. like this: leftstring1 rightstring1 leftstring2 rightstring2 leftstring3 rightstring3 leftstring4 rightstring4 leftstring5 leftstring6 i do not know how many of each string will be, but i want this table leftstring1 leftstring6 leftstring2 rightstring1 leftstring3 rightstring2 leftstring4 rightstring3 leftstring5 rightstring4 how to balance columns? how to make table of smallest height? -- View this message in context: http://old.nabble.com/How-to-balance-table-columns--tp27530072p27530072.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem with fo:inline and fo:external-graphic, overflows
YEAH. finally it works! guys, thank u a lot! -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27335613.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem with fo:inline and fo:external-graphic, overflows
there is one more thing i want to ask. for example i have a string with inline image. how can i make that center of inline image will be on one level with text ? i explain what i want in image. http://old.nabble.com/file/p27338791/test.gif -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27338791.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem with fo:inline and fo:external-graphic, overflows
hello. thx Vincent Hennebert-2, may be i am stupid but i still have a problem:) i use this fo(for example) ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=/ fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=my-page page-height=29.7cm page-width=21cm margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body column-count=2 margin-top=1.5cm margin-bottom=1.5cm margin-left=1.5cm margin-right=1.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page fo:flow flow-name=xsl-region-body fo:blocksometext1 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ st2 fo:external-graphic src=0011.tif content-width=scale-down-to-fit inline-progression-dimension.maximum=100%/ fo:external-graphic src=0011.tif content-width=scale-down-to-fit inline-progression-dimension.maximum=100%/ fo:external-graphic src=0011.tif content-width=scale-down-to-fit inline-progression-dimension.maximum=100%/ st11 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ sometext2/fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet Vincent Hennebert-2 wrote: That’s because the width of your image is greater than the page width. when i use fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ 80mm is less then width of my page. but if i use 3 images then yes. so i want one of them move down. Vincent Hennebert-2 wrote: You have to scale it down, for example: fo:external-graphic src=image content-width=scale-down-to-fit inline-progression-dimension.maximum=100%/ i try fo:external-graphic src=0011.tif content-width=scale-down-to-fit inline-progression-dimension.maximum=100%/ but it overflows too! the right part of third image do not display correctly! and i want my image to be width 80mm, not random :) image http://old.nabble.com/file/p27302965/0011.tif 0011.tif fo document http://old.nabble.com/file/p27302965/mystyle.fo mystyle.fo output pdf http://old.nabble.com/file/p27302965/name.pdf name.pdf Vincent Hennebert-2 wrote: Hi, lexa2009 wrote: hi, thx for help. if i use fo:blocksometext1 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ st2 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ sometext2/fo:block images still overflow my page. there is an example http://old.nabble.com/file/p27270558/name.pdf name.pdf That’s because the width of your image is greater than the page width. You have to scale it down, for example: fo:external-graphic src=image content-width=scale-down-to-fit inline-progression-dimension.maximum=100%/ HTH, Vincent - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27302965.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem with fo:inline and fo:external-graphic, overflows
hi, thx for help. if i use fo:blocksometext1 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ st2 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ sometext2/fo:block images still overflow my page. there is an example http://old.nabble.com/file/p27270558/name.pdf name.pdf Vincent Hennebert-2 wrote: I think you can get rid of fo:inline altogether: fo:blocksometext1 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ st2 fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ fo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm/ sometext2/fo:block If you want the image to be on the same line as the preceding text, just remove blanks between the two: fo:blocksometext1fo:external-graphic ... (Although I’m not sure that this is correct behaviour. I think a break should still be allowed to occur between the text and the image.) If you want no space between the preceding text and the image, yet the image to be put on the next line if there is not enough space on the current one, just insert a zero-width space: fo:blocksometext1#x200B;fo:external-graphic ... And likewise for text following images, or between images. HTH, Vincent -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27270558.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: hypenation of numbers in fop
thx i make 200b between all letters and numbers and all ok -- View this message in context: http://old.nabble.com/hypenation-of-numbers-in-fop-tp27109660p27125476.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem with fo:inline and fo:external-graphic, overflows
or another example ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:m=http://www.w3.org/1998/Math/MathML; xsl:template match=/ fo:root xmlns:m=http://www.w3.org/1998/Math/MathML; xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=my-page page-height=29.7cm page-width=21cm margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body column-count=2 margin-top=1.5cm margin-bottom=1.5cm margin-left=1.5cm margin-right=1.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page fo:flow flow-name=xsl-region-body fo:block fo:inlinefo:external-graphic display-align=center content-height=150mm scaling=uniform src=0001.tif //fo:inline fo:inlinefo:external-graphic display-align=center content-height=150mm scaling=uniform src=0001.tif //fo:inline fo:inlinefo:external-graphic display-align=center content-height=150mm scaling=uniform src=0001.tif //fo:inline fo:inlinefo:external-graphic display-align=center content-height=150mm scaling=uniform src=0001.tif //fo:inline fo:inlinefo:external-graphic display-align=center content-height=150mm scaling=uniform src=0001.tif //fo:inline fo:inlinefo:external-graphic display-align=center content-height=150mm scaling=uniform src=0001.tif //fo:inline /fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet http://old.nabble.com/file/p27125610/name.pdf name.pdf http://old.nabble.com/file/p27125610/0001.tif 0001.tif what to do? help pls? i MUST use fo:inline, not fo:block -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27125610.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem with fo:inline and fo:external-graphic, overflows
thx for help. here is my fo ( i cut it to show the problem): ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:m=http://www.w3.org/1998/Math/MathML; xsl:template match=/ fo:root xmlns:m=http://www.w3.org/1998/Math/MathML; xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=my-page page-height=29.7cm page-width=21cm margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body column-count=2 margin-top=1.5cm margin-bottom=1.5cm margin-left=1.5cm margin-right=1.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page fo:flow flow-name=xsl-region-body fo:block sometext1fo:inlinefo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm /fo:external-graphic/fo:inlinest2fo:inlinefo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm /fo:external-graphic/fo:inlinefo:inlinefo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm /fo:external-graphic/fo:inlinefo:inlinefo:external-graphic src=0011.tif display-align=center scaling=uniform content-width=80mm /fo:external-graphic/fo:inlinesometext2 /fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet i use fop 0.95 but with fix of tiff. ( my theme http://old.nabble.com/error-in-pdf-with-tiff-image-inside-which-was-created-by-fop-td26509340.html ) i want to see all my images. yes, if i use fo:block all will be ok, but i need image on one string with text if possible. http://old.nabble.com/file/p27109532/name.pdf name.pdf http://old.nabble.com/file/p27109532/0011.tif 0011.tif here pdf and image that i use. -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27109532.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
hypenation of numbers in fop
hello, i use fo:table-cellfo:block text-indent=0cm hyphenate=true language=ruxyz/fo:block/fo:table-cell if xyz - any text on english all worls good, but if xyz - a number(1) or some text like 1000-2000 it overflows my table. how to fix it? i do not need a good hyphenation, it may wrap on any place, but i need no overflow. what to do? -- View this message in context: http://old.nabble.com/hypenation-of-numbers-in-fop-tp27109660p27109660.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: hypenation of numbers in fop
hi. sorry, i forget to do this :) fop 0.95, here fo ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:m=http://www.w3.org/1998/Math/MathML; xsl:template match=/ fo:root xmlns:m=http://www.w3.org/1998/Math/MathML; xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=my-page page-height=29.7cm page-width=21cm margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body column-count=2 margin-top=1.5cm margin-bottom=1.5cm margin-left=1.5cm margin-right=1.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page fo:flow flow-name=xsl-region-body fo:block space-after=1cm space-before=1cm fo:table table-layout=fixed width=100% border=solid black 1px fo:table-column column-width=20mm/ fo:table-column column-width=30mm/ fo:table-body fo:table-row fo:table-cell fo:block text-indent=0cm border=solid black 1px hyphenate=true language=enlonglonglongword/fo:block /fo:table-cell fo:table-cell fo:block text-indent=0cm hyphenate=true language=en55,3/fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell fo:block text-indent=0cm border=solid black 1px hyphenate=true language=en55,333/fo:block /fo:table-cell fo:table-cell fo:block text-indent=0cm hyphenate=true language=en523/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet pdf : http://old.nabble.com/file/p27110151/name.pdf name.pdf -- View this message in context: http://old.nabble.com/hypenation-of-numbers-in-fop-tp27109660p27110151.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:
problem with fo:inline and fo:external-graphic, overflows
hello. i want to generate pdf with text and some images inside it. for example this part of fo fo:block sometext fo:inline fo:external-graphic display-align=center scaling=uniform src=0001.tif / /fo:inline some text fo:inline fo:external-graphic display-align=center scaling=uniform src=0001.tif / /fo:inline some text fo:block but when there must be a new page or new string fop does not make it and my image does not display correct in pdf (overflows visible area). if i use fo:block instead of fo:inline all is good, but i have to use fo:inline becouse if it is possible image must be displayed on the same string. thx:) -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p26941207.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: error in pdf with tiff image inside which was created by fop
ye thank you a lot! all work good now. you are my hero :) -- View this message in context: http://old.nabble.com/error-in-pdf-with-tiff-image-inside-which-was-created-by-fop-tp26509340p26528536.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
error in pdf with tiff image inside which was created by fop
hi. i use fop 0.95 and create pdf document. i have a tiff image with compression CCITT4 http://old.nabble.com/file/p26509340/0375.tif 0375.tif and want to see it in pdf, so i use this xsl file with any xml document. ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:m=http://www.w3.org/1998/Math/MathML; xmlns:fo=http://www.w3.org/1999/XSL/Format; xsl:output method=xml/ xsl:template match=/ fo:root fo:layout-master-set fo:simple-page-master master-name=my-page1 page-height=29.7cm page-width=21cm margin-top=0cm margin-bottom=0cm margin-left=0cm margin-right=0cm fo:region-body margin-top=1.5cm margin-bottom=1.5cm margin-left=1.5cm margin-right=1.5cm / fo:region-before extent=1.5cm / fo:region-after extent=0.5cm / fo:region-start extent=1.5cm / fo:region-end extent=1.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=my-page1 fo:flow flow-name=xsl-region-body fo:blockfo:external-graphic src=url(0375.tif) content-height=100% scaling=uniform //fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet when fop create pdf there is an error - insufficient data for an image. when i use other tiff images CCITT4 or decode this one to jpeg or tiff without compression all work good. but i need to transform a large amount of images and documents, so i want to know why this error happens and how to fix it with out converting to other format. how to fix it? thank you. -- View this message in context: http://old.nabble.com/error-in-pdf-with-tiff-image-inside-which-was-created-by-fop-tp26509340p26509340.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org