RE: JEuclid and FOP
Hi All, Thanks for all your help. Now I have successfully created mathml.pdf by updated the below two lines in fop.bat set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jeuclid-core-3.1.9.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jeuclid-fop-3.1.9.jar Thanks a lot, Srikrishnan -Original Message- From: Simon Pepping [mailto:spepp...@leverkruid.eu] Sent: Tuesday, November 02, 2010 4:43 PM To: fop-users@xmlgraphics.apache.org Subject: Re: JEuclid and FOP On Mon, Nov 01, 2010 at 09:31:23PM +0100, J.Pietschmann wrote: 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. I created fop.js for the same purpose. It should also include all jar files in the lib subdirectory automatically. Since I do not use MS Windows myself, I did not use or test it recently. Simon 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 - 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: JEuclid and FOP
Hi SriKrishnan, Sorry I'm late to the game here, but may I suggest looking through the proper way to add class-paths to a JAR (see link below). It does involve invoking the jar command on the command-line which is fairly counter-intuitive for Windows users, but it is the suggested method to adding libraries/files to the class-path. http://download.oracle.com/javase/tutorial/deployment/jar/downman.html Thanks Mehdi On 3 November 2010 09:06, SriKrishnan srikrish...@techset.co.uk wrote: Hi All, Thanks for all your help. Now I have successfully created mathml.pdf by updated the below two lines in fop.bat set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jeuclid-core-3.1.9.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jeuclid-fop-3.1.9.jar Thanks a lot, Srikrishnan -Original Message- From: Simon Pepping [mailto:spepp...@leverkruid.eu] Sent: Tuesday, November 02, 2010 4:43 PM To: fop-users@xmlgraphics.apache.org Subject: Re: JEuclid and FOP On Mon, Nov 01, 2010 at 09:31:23PM +0100, J.Pietschmann wrote: 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. I created fop.js for the same purpose. It should also include all jar files in the lib subdirectory automatically. Since I do not use MS Windows myself, I did not use or test it recently. Simon 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 - 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: JEuclid and FOP
On Mon, Nov 01, 2010 at 09:31:23PM +0100, J.Pietschmann wrote: 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. I created fop.js for the same purpose. It should also include all jar files in the lib subdirectory automatically. Since I do not use MS Windows myself, I did not use or test it recently. Simon 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 - 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 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: 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: 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
JEuclid and FOP
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 http://www.w3.org/1998/Math/MathML%5emath Can anybody help me to fix this issue? FYI: MY OS: Windows xp professional My FOP Version: 0.95 Thanks, Srikrishnan