Re: Hello world test with fop

2006-05-22 Thread Chris Bowditch

Mathieu Malaterre wrote:

Hello there,

  I have just started with XSL-FO and I have the following problem. I
am not able to produce the proper pdf file. Here is what I have:

http://gdcm.sourceforge.net/test.pdf

 here is what I should have:

http://www.antennahouse.com/XSLsample/pdf/sample-table_1.pdf


I notice from the FO file that you are using fo:table-and-caption, which 
is not implemented in FOP v0.20.5 or in the latest v0.92. Delete the 
fo:table-and-caption element, and replace it with the child fo:table. I 
reckon you should see the tables then.


snip/

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hello world test with fop

2006-05-22 Thread Mathieu Malaterre

On 5/22/06, Chris Bowditch [EMAIL PROTECTED] wrote:

I notice from the FO file that you are using fo:table-and-caption, which
is not implemented in FOP v0.20.5 or in the latest v0.92. Delete the
fo:table-and-caption element, and replace it with the child fo:table. I
reckon you should see the tables then.

snip/


Chris,

 Thanks a lot for your help unfortunately it still does not work. all
I did was:

s/fo:table-and-caption/fo:table/g

 Then rerun fop (with -d) I get (*). Unfortunately I still cannot see
the table. Is there a way to actually see what went wrong (some other
flags with fop) ?

Thanks
Mathieu

(*)
[DEBUG] Input mode:
[DEBUG] FO
[DEBUG] fo input file: fo/sample-table_1.fo
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: test.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/tmp/fop/fo/
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property - xml:lang is not implemented yet.
[INFO] [1]
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[INFO] JAI support was not installed (read: not present at build
time). Trying to use Jimi instead
[DEBUG] Last page-sequence produced 1 pages.
[INFO] Parsing of document complete, stopping renderer
[DEBUG] Initial heap size: 547Kb
[DEBUG] Current heap size: 759Kb
[DEBUG] Total memory used: 211Kb
[DEBUG]   Memory use is indicative; no GC was performed
[DEBUG]   These figures should not be used comparatively
[DEBUG] Total time used: 876ms
[DEBUG] Pages rendered: 1
[DEBUG] Avg render time: 876ms/page

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hello world test with fop

2006-05-22 Thread Jeremias Maerki
No, don't replace fo:table-and-caption with fo:table, remove all
fo:table-and-caption elements.

On 22.05.2006 17:43:38 Mathieu Malaterre wrote:
 On 5/22/06, Chris Bowditch [EMAIL PROTECTED] wrote:
  I notice from the FO file that you are using fo:table-and-caption, which
  is not implemented in FOP v0.20.5 or in the latest v0.92. Delete the
  fo:table-and-caption element, and replace it with the child fo:table. I
  reckon you should see the tables then.
 
  snip/
 
 Chris,
 
   Thanks a lot for your help unfortunately it still does not work. all
 I did was:
 
 s/fo:table-and-caption/fo:table/g
 
   Then rerun fop (with -d) I get (*). Unfortunately I still cannot see
 the table. Is there a way to actually see what went wrong (some other
 flags with fop) ?
 
 Thanks
 Mathieu
 
 (*)
 [DEBUG] Input mode:
 [DEBUG] FO
 [DEBUG] fo input file: fo/sample-table_1.fo
 [DEBUG] Output mode:
 [DEBUG] pdf
 [DEBUG] output file: test.pdf
 [DEBUG] OPTIONS
 [DEBUG] no user configuration file is used [default]
 [DEBUG] debug mode on
 [DEBUG] dump configuration
 [DEBUG] quiet mode on
 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
 [INFO] base directory: file:/tmp/fop/fo/
 [INFO] FOP 0.20.5
 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
 [INFO] building formatting object tree
 [INFO] setting up fonts
 [ERROR] property - xml:lang is not implemented yet.
 [INFO] [1]
 [WARNING] table-layout=auto is not supported, using fixed!
 [WARNING] table-layout=auto is not supported, using fixed!
 [INFO] JAI support was not installed (read: not present at build
 time). Trying to use Jimi instead
 [DEBUG] Last page-sequence produced 1 pages.
 [INFO] Parsing of document complete, stopping renderer
 [DEBUG] Initial heap size: 547Kb
 [DEBUG] Current heap size: 759Kb
 [DEBUG] Total memory used: 211Kb
 [DEBUG]   Memory use is indicative; no GC was performed
 [DEBUG]   These figures should not be used comparatively
 [DEBUG] Total time used: 876ms
 [DEBUG] Pages rendered: 1
 [DEBUG] Avg render time: 876ms/page


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hello world test with fop

2006-05-22 Thread Mathieu Malaterre

On 5/22/06, Jeremias Maerki [EMAIL PROTECTED] wrote:

No, don't replace fo:table-and-caption with fo:table, remove all
fo:table-and-caption elements.


o ok. Sorry I completely misunderstood the previous post.
Thanks for the correction !
Works fine now.

Regards,
Mathieu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Hello world test with fop

2006-05-20 Thread Mathieu Malaterre

Hello there,

  I have just started with XSL-FO and I have the following problem. I
am not able to produce the proper pdf file. Here is what I have:

http://gdcm.sourceforge.net/test.pdf

 here is what I should have:

http://www.antennahouse.com/XSLsample/pdf/sample-table_1.pdf

 I am working on Debian/linux with fop (apache). To produce test.pdf I
did the following:

$ history
   1  mkdir /tmp/2
   2  cd /tmp/2
   3  wget http://www.antennahouse.com/XSLsample/sample-all-files.zip
   4  unzip sample-all-files.zip
   5  fop  fo/sample-table_1.fo test.pdf

and fop execution produced:
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property - xml:lang is not implemented yet.
[INFO] [1]
[INFO] JAI support was not installed (read: not present at build time).
Trying to use Jimi instead
[INFO] Parsing of document complete, stopping renderer

Any comment/suggestion welcome

--
Mathieu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]