Re: JEuclid and FOP
Hi SriKrishnan, Recent versions of jeuclid are not compatible with fop 0.95: examples/mathml/build.xml of 0.95 refers to a jeuclid class net.sourceforge.jeuclid.MathBase, however this was removed from jeuclid in revision 425:c7cae27888cf (in 2007). The mathml support in FOP is now maintained by the JEuclid project, as stated in the examples/mathml/README of FOP trunk. I would recommend ugrading your version of FOP to 1.0 or even trunk and then follow the jeuclid-fop integration instructions that should be found somewhere at either http://jeuclid.sourceforge.net/ or http://sourceforge.net/projects/jeuclid/ If you really need to use 0.95 (although I certainly recommend upgrading to at 1.0 or above) then you will have to figure out which version of jeuclid is compatible and then probably build it from the source. Shout out if this is your only practical solution and I can help you out further. Pete On Sun, Oct 31, 2010 at 8:44 AM, SriKrishnan srikrish...@techset.co.uk wrote: Hi all, Can anybody provide me a step-by-step installation procedure document of Jeuclid plugin in FOP? As I am new to FOP and java, I don’t know how to solve this problem. Because I have downloaded and copied the following files: jeuclid-core-3.1.9.jar jeuclid-fop-3.1.9.jar in my “C:\fop-0.95\examples\mathml\lib” folder (as per mentioned int the readme.txt file residing inside that folder) also as per the below instruction in the “readme.fop” file which available inside the “jeuclid-3.1.9-distribution.zip”, --- JEuclid FOP plug-in --- Installation * Pre-requesites The JEuclid FOP plug-in is tightly integrated with FOP development, it will therefore only work with specific versions of FOP. For this version you need: * FOP 0.95beta or 0.95 * Actual installation Copy the these files into your fop's lib/ directory * jeuclid-core-x.x.x.jar * jeuclid-fop-x.x.x.jar [] If you have downloaded the full JEuclid distribution, these files can be found in the repo/ sub-directory. That's it! Enjoy MathML support in FOP. I have copied the two files inside the following folder “C:\fop-0.95\lib” Eventhough I encountered the same error as follows: C:\fop-0.95\examples\mathml\docsfop mathml.fo mathml.pdf Oct 31, 2010 2:07:07 PM org.apache.fop.fo.ElementMappingRegistry findFOMaker WARNING: Unknown formatting object http://www.w3.org/1998/Math/MathML^math Can anybody help me to fix this issue? FYI: MY OS: Windows xp professional My FOP Version: 0.95 Thanks, Srikrishnan - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: JEuclid and FOP
Hi Pete, Thanks for aware me about the new version. Now I have downloaded fop 1.0. Even in that I am not able to fix Mathml option. FYI: as per I mentioned in my mail readme.fop file which available inside the jeuclid-3.1.9-distribution.zip, itself they mentioned that both the jar files are copied into fop 0.95 version. Can you please help me to fix this problem either in fop 1.0 or fop 0.95? Thanks, Srikrishnan -Original Message- From: Peter Hancock [mailto:peter.hanc...@gmail.com] Sent: Monday, November 01, 2010 4:05 PM To: fop-users@xmlgraphics.apache.org Subject: Re: JEuclid and FOP Hi SriKrishnan, Recent versions of jeuclid are not compatible with fop 0.95: examples/mathml/build.xml of 0.95 refers to a jeuclid class net.sourceforge.jeuclid.MathBase, however this was removed from jeuclid in revision 425:c7cae27888cf (in 2007). The mathml support in FOP is now maintained by the JEuclid project, as stated in the examples/mathml/README of FOP trunk. I would recommend ugrading your version of FOP to 1.0 or even trunk and then follow the jeuclid-fop integration instructions that should be found somewhere at either http://jeuclid.sourceforge.net/ or http://sourceforge.net/projects/jeuclid/ If you really need to use 0.95 (although I certainly recommend upgrading to at 1.0 or above) then you will have to figure out which version of jeuclid is compatible and then probably build it from the source. Shout out if this is your only practical solution and I can help you out further. Pete On Sun, Oct 31, 2010 at 8:44 AM, SriKrishnan srikrish...@techset.co.uk wrote: Hi all, Can anybody provide me a step-by-step installation procedure document of Jeuclid plugin in FOP? As I am new to FOP and java, I dont know how to solve this problem. Because I have downloaded and copied the following files: jeuclid-core-3.1.9.jar jeuclid-fop-3.1.9.jar in my C:\fop-0.95\examples\mathml\lib folder (as per mentioned int the readme.txt file residing inside that folder) also as per the below instruction in the readme.fop file which available inside the jeuclid-3.1.9-distribution.zip, --- JEuclid FOP plug-in --- Installation * Pre-requesites The JEuclid FOP plug-in is tightly integrated with FOP development, it will therefore only work with specific versions of FOP. For this version you need: * FOP 0.95beta or 0.95 * Actual installation Copy the these files into your fop's lib/ directory * jeuclid-core-x.x.x.jar * jeuclid-fop-x.x.x.jar [] If you have downloaded the full JEuclid distribution, these files can be found in the repo/ sub-directory. That's it! Enjoy MathML support in FOP. I have copied the two files inside the following folder C:\fop-0.95\lib Eventhough I encountered the same error as follows: C:\fop-0.95\examples\mathml\docsfop mathml.fo mathml.pdf Oct 31, 2010 2:07:07 PM org.apache.fop.fo.ElementMappingRegistry findFOMaker WARNING: Unknown formatting object http://www.w3.org/1998/Math/MathML^math Can anybody help me to fix this issue? FYI: MY OS: Windows xp professional My FOP Version: 0.95 Thanks, Srikrishnan - 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
Re: How to load tiff images successfully in PDF
Hi SriKrishan Could your upload all your source data i.e. the FO file (if you're using one, if not the XSLT and XML) and the image in TIF format. Obviously, remove any data from the FO/XML that maybe personal, but it looks as if you may have overflown the page with the TIF file. If you'd rather not do that, if you look in the wiki (http://wiki.apache.org/xmlgraphics-fop/ImageSupport) you'll see that TIF format images aren't scaled down (1:1 embedding), so it's quite possible that you've attempted to embed an image that's larger than the page or something of the sort. I hope that helps Mehdi On 31 October 2010 07:11, SriKrishnan srikrish...@techset.co.uk wrote: Hi, Thanks for your support. When I convert my fo using fop, the following warnings only appears: Oct 31, 2010 12:35:11 PM org.apache.fop.fonts.FontInfo notifyFontReplacement WARNING: Font 'Symbol,normal,700' not found. Substituting with 'Symbol,normal,400'. Oct 31, 2010 12:35:11 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern en Oct 31, 2010 12:35:11 PM org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2 WARNING: Line 1 of a paragraph overflows the available area by 38160mpt. (fo:block, location: 1845/59) But the pdf size seems that it loads all tif images into it My gif loaded pdf size is 18,741KB My tif loaded pdf size is 22,242 KB FYI: I have converted the same tif files as gif files, those gif works correctly with my fop Thanks, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Saturday, October 30, 2010 10:54 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: How to load tiff images successfully in PDF Hi, Sorry I forgot to mention one more thing: My tiff images are not corrupted those are embedded correctly in the pdf when I use them through InDesign or Quark or LaTeX Thanks, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Saturday, October 30, 2010 10:24 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: How to load tiff images successfully in PDF Importance: High Hi, May be it is a stupid question for you. As I said clearly in my mail, I am new to FOP. I don’t found any proper user friendly Documentation for FOP. So I am in a confusion whether I missed something or anything not supported by FOP. If you people like experts in all these things need any further details if you ask me, certainly it is my duty to furnish those details. My system and software details: OS: Windows XP professional FOP: version 0.95 Saxon: version 8 I have tried to open the pdf in two version of Acrobat In version 9, it popup the error message as mentioned in my earlier mail (with empty space for the image places). In version 6, it popup the error message as “Colour space” (with empty space for the image places) In GSVIEW, without showing any error message it opens the pdf (with empty space for the image places) If you are not interested to answer such a stupid questions, don’t reply. Such kind of replies will discourage new users Regards, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Friday, October 29, 2010 3:02 PM To: 'fop-users@xmlgraphics.apache.org' Subject: How to load tiff images successfully in PDF Hi all, I am new to fop. I have successfully converted fo to pdf when gif images are loaded in the file. When came to tif images, pdf creates successfully, but when I scroll to the image page in Adobe Acrobat, the following error message popup: “An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem” My fo coding is as follows: fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto height=auto content-width=auto content-height=auto/ But in the same above coding when I use gif image it works correctly. Any help would be very much useful. Thanks in Advance, Srikrishnan - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: How to load tiff images successfully in PDF
Hi Mehdi, Thanks for your support. Can you guide me, how can I upload my fo, xsl, xml and images to you? Is there any option in fop-users or I can email straightaway to you? Thanks for your patience with me Thanks, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 5:21 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishan Could your upload all your source data i.e. the FO file (if you're using one, if not the XSLT and XML) and the image in TIF format. Obviously, remove any data from the FO/XML that maybe personal, but it looks as if you may have overflown the page with the TIF file. If you'd rather not do that, if you look in the wiki (http://wiki.apache.org/xmlgraphics-fop/ImageSupport) you'll see that TIF format images aren't scaled down (1:1 embedding), so it's quite possible that you've attempted to embed an image that's larger than the page or something of the sort. I hope that helps Mehdi On 31 October 2010 07:11, SriKrishnan srikrish...@techset.co.uk wrote: Hi, Thanks for your support. When I convert my fo using fop, the following warnings only appears: Oct 31, 2010 12:35:11 PM org.apache.fop.fonts.FontInfo notifyFontReplacement WARNING: Font 'Symbol,normal,700' not found. Substituting with 'Symbol,normal,400'. Oct 31, 2010 12:35:11 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern en Oct 31, 2010 12:35:11 PM org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2 WARNING: Line 1 of a paragraph overflows the available area by 38160mpt. (fo:block, location: 1845/59) But the pdf size seems that it loads all tif images into it My gif loaded pdf size is 18,741KB My tif loaded pdf size is 22,242 KB FYI: I have converted the same tif files as gif files, those gif works correctly with my fop Thanks, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Saturday, October 30, 2010 10:54 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: How to load tiff images successfully in PDF Hi, Sorry I forgot to mention one more thing: My tiff images are not corrupted those are embedded correctly in the pdf when I use them through InDesign or Quark or LaTeX Thanks, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Saturday, October 30, 2010 10:24 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: How to load tiff images successfully in PDF Importance: High Hi, May be it is a stupid question for you. As I said clearly in my mail, I am new to FOP. I dont found any proper user friendly Documentation for FOP. So I am in a confusion whether I missed something or anything not supported by FOP. If you people like experts in all these things need any further details if you ask me, certainly it is my duty to furnish those details. My system and software details: OS: Windows XP professional FOP: version 0.95 Saxon: version 8 I have tried to open the pdf in two version of Acrobat In version 9, it popup the error message as mentioned in my earlier mail (with empty space for the image places). In version 6, it popup the error message as Colour space (with empty space for the image places) In GSVIEW, without showing any error message it opens the pdf (with empty space for the image places) If you are not interested to answer such a stupid questions, dont reply. Such kind of replies will discourage new users Regards, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Friday, October 29, 2010 3:02 PM To: 'fop-users@xmlgraphics.apache.org' Subject: How to load tiff images successfully in PDF Hi all, I am new to fop. I have successfully converted fo to pdf when gif images are loaded in the file. When came to tif images, pdf creates successfully, but when I scroll to the image page in Adobe Acrobat, the following error message popup: An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem My fo coding is as follows: fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto height=auto content-width=auto content-height=auto/ But in the same above coding when I use gif image it works correctly. Any help would be very much useful. Thanks in Advance, Srikrishnan - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe,
Re: How to load tiff images successfully in PDF
Just attach them to an email, then everyone will be able to see them. Do make sure you remove any personal material from them, just in case. Thanks Mehdi On 1 November 2010 11:53, SriKrishnan srikrish...@techset.co.uk wrote: Hi Mehdi, Thanks for your support. Can you guide me, how can I upload my fo, xsl, xml and images to you? Is there any option in fop-users or I can email straightaway to you? Thanks for your patience with me Thanks, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 5:21 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishan Could your upload all your source data i.e. the FO file (if you're using one, if not the XSLT and XML) and the image in TIF format. Obviously, remove any data from the FO/XML that maybe personal, but it looks as if you may have overflown the page with the TIF file. If you'd rather not do that, if you look in the wiki (http://wiki.apache.org/xmlgraphics-fop/ImageSupport) you'll see that TIF format images aren't scaled down (1:1 embedding), so it's quite possible that you've attempted to embed an image that's larger than the page or something of the sort. I hope that helps Mehdi On 31 October 2010 07:11, SriKrishnan srikrish...@techset.co.uk wrote: Hi, Thanks for your support. When I convert my fo using fop, the following warnings only appears: Oct 31, 2010 12:35:11 PM org.apache.fop.fonts.FontInfo notifyFontReplacement WARNING: Font 'Symbol,normal,700' not found. Substituting with 'Symbol,normal,400'. Oct 31, 2010 12:35:11 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern en Oct 31, 2010 12:35:11 PM org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2 WARNING: Line 1 of a paragraph overflows the available area by 38160mpt. (fo:block, location: 1845/59) But the pdf size seems that it loads all tif images into it My gif loaded pdf size is 18,741KB My tif loaded pdf size is 22,242 KB FYI: I have converted the same tif files as gif files, those gif works correctly with my fop Thanks, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Saturday, October 30, 2010 10:54 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: How to load tiff images successfully in PDF Hi, Sorry I forgot to mention one more thing: My tiff images are not corrupted those are embedded correctly in the pdf when I use them through InDesign or Quark or LaTeX Thanks, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Saturday, October 30, 2010 10:24 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: How to load tiff images successfully in PDF Importance: High Hi, May be it is a stupid question for you. As I said clearly in my mail, I am new to FOP. I don’t found any proper user friendly Documentation for FOP. So I am in a confusion whether I missed something or anything not supported by FOP. If you people like experts in all these things need any further details if you ask me, certainly it is my duty to furnish those details. My system and software details: OS: Windows XP professional FOP: version 0.95 Saxon: version 8 I have tried to open the pdf in two version of Acrobat In version 9, it popup the error message as mentioned in my earlier mail (with empty space for the image places). In version 6, it popup the error message as “Colour space” (with empty space for the image places) In GSVIEW, without showing any error message it opens the pdf (with empty space for the image places) If you are not interested to answer such a stupid questions, don’t reply. Such kind of replies will discourage new users Regards, Srikrishnan From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: Friday, October 29, 2010 3:02 PM To: 'fop-users@xmlgraphics.apache.org' Subject: How to load tiff images successfully in PDF Hi all, I am new to fop. I have successfully converted fo to pdf when gif images are loaded in the file. When came to tif images, pdf creates successfully, but when I scroll to the image page in Adobe Acrobat, the following error message popup: “An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem” My fo coding is as follows: fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto height=auto content-width=auto content-height=auto/ But in the same above coding when I use gif image it works correctly. Any help would be very much useful. Thanks in Advance, Srikrishnan
Re: JEuclid and FOP
Hi Srikrishnan, I have had success creating a pdf from the mathml.fo input found with the 0.95 source code using FOP 1.0. All I did to do was place jeuclid-core-3.1.9.jar and jeuclid-fop-3.1.9.jar in FOP's lib directory as instructed. I am not a windows user and so there may be an environmental reason you are not have success but I do not think that is likely. Maybe you could elaborate further on your setup and environment, giving myself or perhaps another user more insight into your problem. Pete On Mon, Nov 1, 2010 at 11:11 AM, SriKrishnan srikrish...@techset.co.uk wrote: Hi Pete, Thanks for aware me about the new version. Now I have downloaded fop 1.0. Even in that I am not able to fix Mathml option. FYI: as per I mentioned in my mail readme.fop file which available inside the “jeuclid-3.1.9-distribution.zip”, itself they mentioned that both the jar files are copied into fop 0.95 version. Can you please help me to fix this problem either in fop 1.0 or fop 0.95? Thanks, Srikrishnan -Original Message- From: Peter Hancock [mailto:peter.hanc...@gmail.com] Sent: Monday, November 01, 2010 4:05 PM To: fop-users@xmlgraphics.apache.org Subject: Re: JEuclid and FOP Hi SriKrishnan, Recent versions of jeuclid are not compatible with fop 0.95: examples/mathml/build.xml of 0.95 refers to a jeuclid class net.sourceforge.jeuclid.MathBase, however this was removed from jeuclid in revision 425:c7cae27888cf (in 2007). The mathml support in FOP is now maintained by the JEuclid project, as stated in the examples/mathml/README of FOP trunk. I would recommend ugrading your version of FOP to 1.0 or even trunk and then follow the jeuclid-fop integration instructions that should be found somewhere at either http://jeuclid.sourceforge.net/ or http://sourceforge.net/projects/jeuclid/ If you really need to use 0.95 (although I certainly recommend upgrading to at 1.0 or above) then you will have to figure out which version of jeuclid is compatible and then probably build it from the source. Shout out if this is your only practical solution and I can help you out further. Pete On Sun, Oct 31, 2010 at 8:44 AM, SriKrishnan srikrish...@techset.co.uk wrote: Hi all, Can anybody provide me a step-by-step installation procedure document of Jeuclid plugin in FOP? As I am new to FOP and java, I don’t know how to solve this problem. Because I have downloaded and copied the following files: jeuclid-core-3.1.9.jar jeuclid-fop-3.1.9.jar in my “C:\fop-0.95\examples\mathml\lib” folder (as per mentioned int the readme.txt file residing inside that folder) also as per the below instruction in the “readme.fop” file which available inside the “jeuclid-3.1.9-distribution.zip”, --- JEuclid FOP plug-in --- Installation * Pre-requesites The JEuclid FOP plug-in is tightly integrated with FOP development, it will therefore only work with specific versions of FOP. For this version you need: * FOP 0.95beta or 0.95 * Actual installation Copy the these files into your fop's lib/ directory * jeuclid-core-x.x.x.jar * jeuclid-fop-x.x.x.jar [] If you have downloaded the full JEuclid distribution, these files can be found in the repo/ sub-directory. That's it! Enjoy MathML support in FOP. I have copied the two files inside the following folder “C:\fop-0.95\lib” Eventhough I encountered the same error as follows: C:\fop-0.95\examples\mathml\docsfop mathml.fo mathml.pdf Oct 31, 2010 2:07:07 PM org.apache.fop.fo.ElementMappingRegistry findFOMaker WARNING: Unknown formatting object http://www.w3.org/1998/Math/MathML^math Can anybody help me to fix this issue? FYI: MY OS: Windows xp professional My FOP Version: 0.95 Thanks, Srikrishnan - 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 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: How to load tiff images successfully in PDF
Hi Mehdi, Thanks for testing my sample. 1. I am just learning to write xsl-fo. This is my first sample. There are lot need to fix in my stylesheet. 2. I am running fop in my windows environment using MSDOS, my commandline is as follows: Fop lhp0008.fo lhp0008.pdf 3. So far, I am using fop-0.95 (just now I downloaded version 1.0, I need to check in that) Thanks a lot, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 6:18 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishnan, First of all, there are a lot of WARNING issues with the FO file, you might want to check the XSL spec to find the necessary parameters for FO elements, I'm using the trunk FOP.jar, and I've copy-pasted the errors below. And I've attached the PDF, that it produces. The images are being shown in TIF format, so I'm not sure where your issue comes from. What version of FOP are you using? Are you invoking fop via the command line? Also does the PDF look like it is supposed to? Thanks Mehdi 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 40:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 605:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1010:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1288:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent SEVERE: Invalid property value encountered in font-style=bold: org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' (See position 2993:1842) org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:444) at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java: 412) at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:319) at org.apache.fop.fo.FObj.processNode(FObj.java:119) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav a:282) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme rIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerId entityImpl.java:484) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130) at org.apache.fop.cli.Main.startFOP(Main.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:136) at org.apache.fop.cli.Main.main(Main.java:210)
Re: How to load tiff images successfully in PDF
Hi SriKrishnan, Ok, well the XSL spec can be found here: http://www.w3.org/TR/2001/REC-xsl-20011015/ It may help you figure out some of those error messages, as for your TIF issue, does the PDF I attached to my last email display the document as expected? Thanks Mehdi On 1 November 2010 12:53, SriKrishnan srikrish...@techset.co.uk wrote: Hi Mehdi, Thanks for testing my sample. 1. I am just learning to write xsl-fo. This is my first sample. There are lot need to fix in my stylesheet. 2. I am running fop in my windows environment using MSDOS, my commandline is as follows: Fop lhp0008.fo lhp0008.pdf 3. So far, I am using fop-0.95 (just now I downloaded version 1.0, I need to check in that) Thanks a lot, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 6:18 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishnan, First of all, there are a lot of WARNING issues with the FO file, you might want to check the XSL spec to find the necessary parameters for FO elements, I'm using the trunk FOP.jar, and I've copy-pasted the errors below. And I've attached the PDF, that it produces. The images are being shown in TIF format, so I'm not sure where your issue comes from. What version of FOP are you using? Are you invoking fop via the command line? Also does the PDF look like it is supposed to? Thanks Mehdi 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 40:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 605:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1010:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1288:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent SEVERE: Invalid property value encountered in font-style=bold: org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' (See position 2993:1842) org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:444) at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java: 412) at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:319) at org.apache.fop.fo.FObj.processNode(FObj.java:119) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav a:282) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme rIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerId entityImpl.java:484) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130) at org.apache.fop.cli.Main.startFOP(Main.java:177) at
Re: How to load tiff images successfully in PDF
Hi SriKrishnan, I tried it in Windows7 (not based on MSDOS) and FOP 1.0 and it worked, same warning messages that you'll want to attend to, but it worked. I'd suggest you use 1.0, if that doesn't work, let me know. Thanks Mehdi On 1 November 2010 12:53, SriKrishnan srikrish...@techset.co.uk wrote: Hi Mehdi, Thanks for testing my sample. 1. I am just learning to write xsl-fo. This is my first sample. There are lot need to fix in my stylesheet. 2. I am running fop in my windows environment using MSDOS, my commandline is as follows: Fop lhp0008.fo lhp0008.pdf 3. So far, I am using fop-0.95 (just now I downloaded version 1.0, I need to check in that) Thanks a lot, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 6:18 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishnan, First of all, there are a lot of WARNING issues with the FO file, you might want to check the XSL spec to find the necessary parameters for FO elements, I'm using the trunk FOP.jar, and I've copy-pasted the errors below. And I've attached the PDF, that it produces. The images are being shown in TIF format, so I'm not sure where your issue comes from. What version of FOP are you using? Are you invoking fop via the command line? Also does the PDF look like it is supposed to? Thanks Mehdi 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 40:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 605:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1010:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1288:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent SEVERE: Invalid property value encountered in font-style=bold: org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' (See position 2993:1842) org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:444) at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java: 412) at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:319) at org.apache.fop.fo.FObj.processNode(FObj.java:119) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav a:282) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme rIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerId entityImpl.java:484) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130) at org.apache.fop.cli.Main.startFOP(Main.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Re: JEuclid and FOP
On 01.11.2010 13:20, Peter Hancock wrote: I am not a windows user and so there may be an environmental reason you are not have success but I do not think that is likely. The fop.bat for windows isn't nearly as intelligent as the fop shell script used on Linux/Unix. In particular, on windows each jar which has to be included into the classpath gets an explicit line in the fop.bat, while the shell script automatically includes every jar it finds in the lib subdirectory. The fop.cmd command file should also automatically includes every jar in the lib subdir, but usually the fop.bat command takes precedence. So in order to so in order to get FOP with JEuclid working on Windows with the fop.bat command, the fop.bat file has to be modified to add the JEuclid jars to LOCALCLASSPATH (this should'nt be too hard). Or just call fop.cmd explicitely: fop.cmd mathml.fo mathml.pdf J.Pietschmann - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Padding-left ignored inside repeating table header
Hi Matthias, This is a bug. Could you please file a bug report on Bugzilla: https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop Thanks, Vincent On 28/10/10 15:45, MatthiasR wrote: Hi, I have a problem when using padding-left on a fo:inline element inside a repeating table header. The padding-left value is ignored on the repeated table header on the next page. Test case: http://old.nabble.com/file/p30077409/bg_bug.fo bg_bug.fo PDF result file: http://old.nabble.com/file/p30077409/bg_bug.pdf bg_bug.pdf I'm aware that there are other ways to move the text to the right but it would be nice if somebody can give me some feedback if this should be considered a bug. Thanks for your help Regards, Matthias Reischenbacher - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Concurrent issue with fonts in FOP 0.95
Hi, That works pretty good using FOP 1.0. Performance is really good and there are no concurrent problems any more. Thank you very much. Félix. Jeremias Maerki-2 wrote: Please consider upgrading to FOP 1.0. The latest release contains some concurrency fixes for certain issues but I can't tell if that would address your concrete problem. On 26.10.2010 10:33:56 shucoshuco wrote: Hi there, I'm using FOP 0.95 in a batch application that generates over four million documents. We need it to be very fast so for each execution we open 15 threads to generate the documents. The preformance is really fantastic. Even though we have found out the next problem. We use our own font types and sometimes, in a little number of cases (our tests have found that around 1 document between 250), the document doesn't show our fonts. More specific, we print documents with a barcode and in some documents it shows de code with letters instead the barcode. We have already found this problem with 0.20.5 but in that case we could fix it using synchronized blocks to access to the Options object. Since in newer versiones the fonts are managed in another way (using the setUserConfig) we don't know how can I solve this problem. Thanks so much. Félix. -- View this message in context: http://old.nabble.com/Concurrent-issue-with-fonts-in-FOP-0.95-tp30055790p30055790.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - 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/Concurrent-issue-with-fonts-in-FOP-0.95-tp30055790p30108622.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
using an existing pdf as overlay
Hi, I tried to combine fop-pdf-images-2.0.0 with fop-1.0 So far so good. How can I use the pdf document from the fo:external-graphic command as an overlay for subsequent blocks ? Thanks Brgds Erik -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
RE: How to load tiff images successfully in PDF
Hi Mehdi, Thanks for your continous effort to clarify my doubt. I have analysed my tif. Actually original tif files (which I uploaded to fop-users) are created using Adobe Photoshop CS2 Windows. But those files are not natively supported by fop-0.95. But when I save as those files in IrfanView in the same format, fop-0.95 supports those files and the output appears correctly as same as yours. In fop-1.0, original tif files are supported without doing anything in the figures. I think there may be some issues in the tif format with the older version of fop. But now my problem with tif images fixed and also I came to understand many more things regarding fop, with your valuable guidance. Thanks, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 8:03 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishnan, I tried it in Windows7 (not based on MSDOS) and FOP 1.0 and it worked, same warning messages that you'll want to attend to, but it worked. I'd suggest you use 1.0, if that doesn't work, let me know. Thanks Mehdi On 1 November 2010 12:53, SriKrishnan srikrish...@techset.co.uk wrote: Hi Mehdi, Thanks for testing my sample. 1. I am just learning to write xsl-fo. This is my first sample. There are lot need to fix in my stylesheet. 2. I am running fop in my windows environment using MSDOS, my commandline is as follows: Fop lhp0008.fo lhp0008.pdf 3. So far, I am using fop-0.95 (just now I downloaded version 1.0, I need to check in that) Thanks a lot, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 01, 2010 6:18 PM To: fop-users@xmlgraphics.apache.org Subject: Re: How to load tiff images successfully in PDF Hi SriKrishnan, First of all, there are a lot of WARNING issues with the FO file, you might want to check the XSL spec to find the necessary parameters for FO elements, I'm using the trunk FOP.jar, and I've copy-pasted the errors below. And I've attached the PDF, that it produces. The images are being shown in TIF format, so I'm not sure where your issue comes from. What version of FOP are you using? Are you invoking fop via the command line? Also does the PDF look like it is supposed to? Thanks Mehdi 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 40:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 605:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1010:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent WARNING: In collapsing border model a table does not have padding (see http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders), but a non-zero value for padding was found. The padding will be ignored. (See position 1288:277) 01-Nov-2010 12:32:39 org.apache.fop.events.LoggingEventListener processEvent SEVERE: Invalid property value encountered in font-style=bold: org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' (See position 2993:1842) org.apache.fop.fo.expr.PropertyException: file:***/008/lhp008.fo:25:137: No conversion defined bold; property:'font-style' at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:444) at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java: 412) at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:319) at org.apache.fop.fo.FObj.processNode(FObj.java:119) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav a:282) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme rIdentityImpl.java:1072) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at