using fop offline

2004-10-07 Thread Luis Cañas
Hi all!,

we are using fop to allow us convert xml into pdf. But we realize that
fop download files from the net in each transformation.
Is there any way to avoid this download? 

All we need is to speed up fop.

Saludos. luis :-)

-- 
Luis Cañas Díaz
proyecto Edukalibre:  http://edukalibre.org
Grupo de Sistemas y Comunicaciones
Universidad Rey Juan Carlos0
~~//)
correo: [EMAIL PROTECTED]
web: http://gsyc.escet.urjc.es/~lcanas
~


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



Re: using fop offline

2004-10-07 Thread IndianAtTech
This is not because of FOP.

I doubt with your xmls and style sheets. Check them again and let us know

Best Regards
Sudhakar Chavali




On Thu, 07 Oct 2004 13:04:39 +0200, Luis Cañas
[EMAIL PROTECTED] wrote:
 Hi all!,
 
 we are using fop to allow us convert xml into pdf. But we realize that
 fop download files from the net in each transformation.
 Is there any way to avoid this download?
 
 All we need is to speed up fop.
 
 Saludos. luis :-)
 
 --
 Luis Cañas Díaz
 proyecto Edukalibre:  http://edukalibre.org
 Grupo de Sistemas y Comunicaciones
 Universidad Rey Juan Carlos0
 ~~//)
 correo: [EMAIL PROTECTED]
 web: http://gsyc.escet.urjc.es/~lcanas
 ~
 
 -
 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]



SVG in FOP problem

2004-10-07 Thread Daniel . Haynes
Hi,

I am trying to get an SVG rendering in a PDF through FOP. I don't get any 
errors but just get a black box on the resulting PDF where the image should be. 
Does anybody know what I am missing ?


fo:block
fo:instream-foreign-object

svg width=200px height=250px
g id=bar transform=translate(0,200)
text x=32.5 y=0 
style=font-family:arial;text-anchor:middle;baseline-shift:-15;01/text
rect x=25 y=-106.5 height=106.5 width=15 
style=fill:rgb(255,100,75);/
text x=57.5 y=0 
style=font-family:arial;text-anchor:middle;baseline-shift:-15;02/text
rect x=50 y=-133.5 height=133.5 width=15 style=fill:rgb(0,225,0);/
text x=82.5 y=0 
style=font-family:arial;text-anchor:middle;baseline-shift:-15;03/text
rect x=75 y=-34.5 height=34.5 width=15 style=fill:rgb(75,100,245);/
text x=107.5 y=0 
style=font-family:arial;text-anchor:middle;baseline-shift:-15;04/text
rect x=100 y=-162 height=162 width=15 style=fill:rgb(200,200,200);/
text x=132.5 y=0 
style=font-family:arial;text-anchor:middle;baseline-shift:-15;05/text
rect x=125 y=-139.5 height=139.5 width=15 
style=fill:rgb(245,245,25);//g
/svg  

/fo:instream-foreign-object
/fo:block

thanks

using FOP 0.20.5 with Batik






Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: SVG in FOP problem

2004-10-07 Thread Jeremias Maerki
Works fine here, except that I had to add the SVG namespace declaration.
But I didn't get a black rectangle, but error messages in the log,
without the namespace declaration.

On 07.10.2004 11:25:24 Daniel.Haynes wrote:
 I am trying to get an SVG rendering in a PDF through FOP. I don't get
 any errors but just get a black box on the resulting PDF where the
 image should be. Does anybody know what I am missing ?
 
 
 fo:block
 fo:instream-foreign-object
 svg width=200px height=250px

  svg width=200px height=250px xmlns=http://www.w3.org/2000/svg;

 g id=bar transform=translate(0,200)
 text x=32.5 y=0 
 style=font-family:arial;text-anchor:middle;baseline-shift:-15;01/text
 rect x=25 y=-106.5 height=106.5 width=15 
 style=fill:rgb(255,100,75);/
 text x=57.5 y=0 
 style=font-family:arial;text-anchor:middle;baseline-shift:-15;02/text
 rect x=50 y=-133.5 height=133.5 width=15 style=fill:rgb(0,225,0);/
 text x=82.5 y=0 
 style=font-family:arial;text-anchor:middle;baseline-shift:-15;03/text
 rect x=75 y=-34.5 height=34.5 width=15 
 style=fill:rgb(75,100,245);/
 text x=107.5 y=0 
 style=font-family:arial;text-anchor:middle;baseline-shift:-15;04/text
 rect x=100 y=-162 height=162 width=15 
 style=fill:rgb(200,200,200);/
 text x=132.5 y=0 
 style=font-family:arial;text-anchor:middle;baseline-shift:-15;05/text
 rect x=125 y=-139.5 height=139.5 width=15 
 style=fill:rgb(245,245,25);//g
 /svg
 /fo:instream-foreign-object
 /fo:block
 
 thanks
 
 using FOP 0.20.5 with Batik


Jeremias Maerki


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



Printing from multiple trays with FOP generated output

2004-10-07 Thread Dave_S_White

Hello, 

I am looking into implementing a XML--XSLFO--PS or PDF process, but need the ability to have different pages of the output print from different printer trays ( one with letterhead, one on blank paper). Is there a way to instruct FOP to insert the printer tray selection directives into the PS output? Another idea could be to get the postscript commands embedded in the XSLFO, but I don't know how to get them in the FO so that FOP will just include them as is. 

The exact commands I want to embed are: statusdict begin 1 setpapertray end for the top tray, and statusdict begin 2 setpapertray end for the middle tray. 

Any help is much appreciated!

Thanks,
dave

This communication may contain privileged and/or confidential information. It is intended solely for the use of the addressee. If you are not the intended recipient, you are strictly prohibited from disclosing, copying, distributing or using any of this information. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.   This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose such information for any purpose other than to provide the services for which you are receiving the information.
If you prefer not to receive future e-mail offers for products or services from Key Click Here
 or send an e-mail to [EMAIL PROTECTED] with 'No Promotional E-mails' in the SUBJECT line.


Re: Printing from multiple trays with FOP generated output

2004-10-07 Thread Chris Bowditch
[EMAIL PROTECTED] wrote:
Hello,
I am looking into implementing a XML--XSLFO--PS or PDF process, but 
need the ability to have different pages of the output print from 
different printer trays ( one with letterhead, one on blank paper). Is 
there a way to instruct FOP to insert the printer tray selection 
directives into the PS output? Another idea could be to get the 
postscript commands embedded in the XSLFO, but I don't know how to get 
them in the FO so that FOP will just include them as is.
I dont think its possible to get FOP to just copy postscript from the source 
FO to the generated Postscript.

The exact commands I want to embed are: statusdict begin 1 setpapertray 
end for the top tray, and statusdict begin 2 setpapertray end for the 
middle tray.
The way we achieve this is to post-process the generated postscript with a 
custom program.

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


RE: Where to configure memory buffers?

2004-10-07 Thread Tom Peters
On Thu, 7 Oct 2004, Pascal Sancho wrote:

  -Message d'origine-
  De : Tom Peters [mailto:[EMAIL PROTECTED]
  Objet : Where to configure memory buffers?
 
  I run this sequence of commands to render a DocBook XML text:
  
  xsltproc -o GemBook.tmp add-indexterms.xsl GemBook.xml
  xsltproc -o mytitlepage.xsl
  /etc/sgml/docbook-xsl/template/titlepage.xsl
  mytitlepage.xml
  xsltproc -o GemBook.fo --stringparam paper.type A4 print.xsl GemBook.tmp
  fop GemBook.fo GemBook.pdf 
 
  This breaks with this error message:
  
  [ERROR] file:/home/tom/Docs/Gemmologie/GemBook.fo:325:1668
  The id id2877108 already exists in this document 
 
  There is nothing wrong with the XML.  The error occurs
  consistently when I try to add an indexterm, but there for
  sure is no duplication as the error message seems to suggest.
   I suspect that FOP runs out of memory to keep a full tree or
  index.  How can I expand that?
 
  Or any other suggestions what may be the problem?

 I get a similar error in the following context:
  - I use a 2 columns page
  - I insert some fo:[EMAIL PROTECTED]all]
  - I define an ID for a not spanned object.

 To get round this bug, I define an ID only when the span attribute is
 set to all.

Thank you for your input;
but I do not define any ID's at all.  I do not write .fo files: it comes
out of xsltproc.  I have no idea why fop complains this way: that
particular ID only occurs once in the .fo file.

--
#!$!%(@^%#%*(([EMAIL 
PROTECTED]@^$##*#@(%)@**$!(!^(#((#%!)%*@)($($$%(@#)*!^$)[EMAIL PROTECTED]@)

Tom Peters
NL-1062 KD nr 149   tel.+31-204080204
Amsterdam   e-mail  [EMAIL PROTECTED]


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



Re: Where to configure memory buffers?

2004-10-07 Thread J.Pietschmann
Tom Peters wrote:
but I do not define any ID's at all.  I do not write .fo files: it comes
out of xsltproc.  I have no idea why fop complains this way: that
particular ID only occurs once in the .fo file.
It's a well known bug. No workaround, ecxept for postprocessing
the FO file. Don't ask for a bugfix.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


external hyperlinks?

2004-10-07 Thread Mike Sierra
I've generated PDF that features internal hyperlinks, but I'd like to 
be able to hyperlink external URLs.  Any way to do this?  Thanks in 
advance,

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