Ok, this are my sample files. My commandline is:
./fop.sh -xml diagram.xml -xsl protocol-extern.xsl test.pdf Am Donnerstag, 28. Oktober 2004 16:36 schrieb [EMAIL PROTECTED]: > I can open this OK in Adobe's viewer. The only error I get is "bad CSS > selector". > > Can you send your command line? I'll try it on my side. > > -Lou > > > > > Johannes Franz > <johannes.franz@ To: > [EMAIL PROTECTED] rub.de> cc: > Subject: Re: Problem with > SVG 10/28/2004 06:34 > Please respond > to fop-user > > > > > > Perhaps the problem lies in the svg itself. > So i attach it to this email. > > Am Montag, 25. Oktober 2004 17:31 schrieb [EMAIL PROTECTED]: > > Add the batik.jar to your classpath. Here is a sample batch file that I > > use with FOP 0.20.3 on Windows 2000: > > > > set > > ppp=.;\bin\deploy\batik.jar;\bin\deploy\logkit-1.0.jar;\bin\deploy\avalon-f > > >ramework-4.0.jar;\bin\deploy\xerces-1.2.3.jar;\bin\deploy\xalan-2.0.0.jar; > >\b > > > >in\deploy\fop.jar > > > > java -cp %ppp% org.apache.fop.apps.Fop -s -d -xml %1 -xsl %2 -pdf > > debug.pdf > > > -c userconfig.xml > > > > Hope this helps. > > > > -Lou > > > > > > > > > > "Johannes Franz" > > <johannes.franz@ To: > > <[EMAIL PROTECTED]> rub.de> cc: > > Subject: Re: Problem with > > SVG 10/25/2004 10:32 > > Please respond > > to fop-user > > > > > > > > > > > > Ok, i have to include Batik. Could you perhaps explain how to do this? I > > don't exactly understand the faq. > > > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, October 25, 2004 1:30 PM > > Subject: Re: Problem with SVG > > > > > SVG is not natively supported through FOP - it requires Batik. Don't > > > forget to include the Batik jar that came with your FOP distribution. > > > > > > See http://xml.apache.org/fop/graphics.html#batik > > > or > > > http://xml.apache.org/fop/graphics.html#svg > > > > > > -Lou > > > > > > > > > > > > > > > Johannes Franz > > > <johannes.franz@ To: > > > [EMAIL PROTECTED] > > > rub.de> cc: > > > Subject: Problem with SVG > > > 10/25/2004 03:41 > > > Please respond > > > to fop-user > > > > > > > > > > > > > > > > > > Hi there, > > > > > > i wanted to know how many svg images fop can embed before the > > > outofmemory-error occurs. So i searched the web for a SVG, which is > > about > > > > 70kb large. But when i run fop i get the following error message: > > > [ERROR] Batik not in class path > > > [ERROR] Error while creating area : No ImageReader for this type of > > image > > > > (file:/home/johannes/AT_PI.vdo/diagram.svg) > > > > > > What's the problem? > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > (See attached file: diagram.svg) > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
<Test> <Diagram> <Diagramname>diagram.svg</Diagramname> </Diagram> <Diagram> <Diagramname>diagram.svg</Diagramname> </Diagram> <Diagram> <Diagramname>diagram.svg</Diagramname> </Diagram> </Test>
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo" xmlns:tcg-te="http://www.ruhr-uni-bochum.de/"> <xsl:output method="xml" version="1.0" omit-xml-declaration="no" indent="yes"/> <xsl:template match="Test"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4" hyphenate="true" language="en"> <fo:flow flow-name="xsl-region-body"> <fo:block> <xsl:for-each select="Diagram"> <xsl:variable name="image"> <xsl:value-of select="Diagramname"/> </xsl:variable> <fo:block text-align="center"><fo:external-graphic width="18cm" src="{$image}"/></fo:block> </xsl:for-each> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]