FOP or batik problems to convert fo files

2005-07-18 Thread Jose Manrique Lopez de la Fuente
hello,

I am trying to use FOP to convert .fo files to .pdf files in MacOS X
10.3.9, but after
installing it using this[1] instructions I get this:

reutiliza7:~/Desktop jsmanrique$ java org.apache.fop.apps.Fop -fo
prueba.fo -pdf prueba.pdf
[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
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/batik/util/XMLResourceDescriptor
   at 
org.apache.fop.svg.SVGElementMapping.setupSVG(SVGElementMapping.java:72)
   at 
org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java:134)
   at org.apache.fop.apps.Driver.addElementMapping(Driver.java:439)
   at org.apache.fop.apps.Driver.addElementMapping(Driver.java:450)
   at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:314)
   at org.apache.fop.apps.Driver.init(Driver.java:222)
   at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:92)
   at org.apache.fop.apps.Fop.main(Fop.java:62)
reutiliza7:~/Desktop jsmanrique$

What am I doing wrong?

Thanks and best regards,

[1] http://www.sagehill.net/docbookxsl/InstallingAnFO.html
-- 
J. Manrique López de la Fuente
http://www.jsmanrique.net
msn: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

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



RE: dynamic surrounding box

2005-07-18 Thread Rymasz Jacky
Thx for your answer Lou.
I'm sorry to answer so late but I was away for few weeks.

I tried to put a table into the cells but the cell of the inner table still 
take the full width of the outer cell.

Here a snippet of my code:
fo:table
fo:table-column column-width=2.5cm/
fo:table-column column-width=5.5cm/
fo:table-column column-width=5cm/
fo:table-column column-width=4.6cm/
fo:table-body
fo:table-row background-color=red
fo:table-cell number-columns-spanned=4 
background-color=pink display-align=center
fo:table
fo:table-column /
fo:table-body
fo:table-row background-color=green
fo:table-cell background-color=blue
fo:block
xsl:value-of 
select=concat('TEST: ', ../@number)/
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

Jack 

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 24 juin 2005 17:15
À : fop-users@xmlgraphics.apache.org
Objet : Re: dynamic surrounding box


How about putting text1 and test 2 into blind tables within the cells?  Put a 
border around the inner table and that should do the trick.
-Lou



|-+---
| |   Rymasz Jacky  |
| |   [EMAIL PROTECTED]|
| |   decaux.fr  |
| |   |
| |   06/24/2005 10:13|
| |   Please respond  |
| |   to fop-users|
| |   |
|-+---
  
---|
  | 
  |
  |To:  fop-users@xmlgraphics.apache.org  
  |
  |cc:  
  |
  |Subject: dynamic surrounding box 
  |
  
---|



Hello.

I would like to have a box around a dynamic text.
How can I obtain this effect?

I tried with blocks and tables but either I have to put a static width, either 
the block fill totally the table-cell is is into.

What I want is:

_ table cells
||
|___|
|| Text 1 ||
|[__||
||
||
|   |
|| biger Text 2  |   |
|[___|   |
||

Where Text1 and biger Text 2 are of unknown length and are into table-cells.

Thx alot

Jack






-
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]