Re: EPS image printing problem

2004-07-11 Thread Wouter de Vaal
  Since I indicated Ghostscript users should use 7.06 in that POST, can
  you confirm whether or not your problem still exists in 7.06?

 I have only tried viewing the images with 7.04 so I wouldn't know about
7.06
 but with 7.04 the
 images shows up as intended...

I've tested 7.06. It works.

Wouter


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



Re: PDF-PS-PDF with EPS

2004-07-09 Thread Wouter de Vaal
Hi Maestro,

The bug you asked for is commited and the information you posted below looks
correct to me. I hope this
clears up some stuff (but I even hope more that in FOP 1.0 the eps's will
allways show op in
acrobat programs ;-).

Cheers,
Wouter

- Original Message - 
From: Clay Leeds [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 09, 2004 5:59 PM
Subject: Re: PDF-PS-PDF with EPS


 Wouter,

 FWIW, I would like to add that I've actually changed the graphics page
 already (I haven't COMMITTED the changes so you won't see them on the
 site yet). Please read the changes below, and help me make certain it
 adequately addresses the issue. I'm posting the entire EPS section
 below (the main addition is the new warning item toward the
 bottom--does anything else need to be changed?):

 section id=eps
titleEPS/title
pFOP provides support for two output targets:/p
ul
  liPostScript (full support)./li
  li
PDF (partial support). Due to the lack of a built-in PostScript
 interpreter, FOP
can only embed the EPS file into the PDF. Acrobat Reader will not
 currently display
the EPS (it doesn't have a PostScript interpreter, either) but it
 will be shown
correctly when you print the PDF on a PostScript-capable printer.
 PostScript devices
(including link
 href=http://www.ghostscript.com/;GhostScript/link) will render the
 EPS correctly.
  /li
/ul
warningWhen using link
 href=http://www.ghostscript.com/;GhostScript/link to display inline
 EPS, it has been link
 href=http://marc.theaimsgroup.com/?t=10891290142r=1w=2;reported
 that more recent versions have problems rendering inline EPS/link.
 Therefore it is recommended to use link
 href=http://www.ghostscript.com/doc/gnu/gnu706.htm;Ghostscript
 7.06/link. If anyone has a solution to this problem, please send an
 e-mail to the FOP-User link
 href=http://xml.apache.org/fop/maillist.html;mailing
 list/link./warning
p
  Other output targets can't be supported at the moment because
  FOP lacks a PostScript interpreter.
/p
 /section

 I would also like to add, that my reason for asking Wouter to create a
 Bugzilla entry also deals with the fact that it would be nice to 'fix'
 the underlying problem (not just document it! :-D), and if we don't
 have a bugzilla report, it might not end up on our 'radar'...

 Thanks in advance for reporting this and any help you can provide!

 Web Maestro Clay

 On Jul 8, 2004, at 7:25 AM, Clay Leeds wrote:
  On Jul 8, 2004, at 12:08 AM, Wouter de Vaal wrote:
  Thanx! We switched from 8.11 to 7.06 and it also works with us now!
 
  Maybe something to add on the site?
 
  Regards,
  Wouter de Vaal
 
  Would you please file a BUG in bugzilla[1] so this issue can be
  tracked? It would help if you could test using other versions of
  Ghostscript, and include that information in your report.
 
  Thanks!
 
  Web Maestro Clay
 
  [1]
  http://xml.apache.org/fop/bugs.html
 
 
  -
  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]



RE: PDF-PS-PDF with EPS

2004-07-08 Thread Wouter de Vaal
Thanx! We switched from 8.11 to 7.06 and it also works with us now!

Maybe something to add on the site?

Regards,
Wouter de Vaal


 I've just tried using GhostScript 8.14 and it doesn't work 
 here either.
 But it works with GNU GhostScript 7.06.
 
 On 06.07.2004 17:24:41 Wouter de Vaal wrote:
  I've read here a couple of time that a workaround to 
 viewing PDFs with 
  a non-viewable EPS is to let GhostScript create a PS from 
 it and then 
  again the PDF.
  
  However when I try this, it doesn't work, GhostScript even seems to 
  just remove the EPS from it, (PDF == 10MB, PS == 3KB), do I 
 need some 
  extra options? Idea's?
   
  I'm using GhostScript 8.11 on windows 2000.
 
 
 Jeremias Maerki
 
 
 -
 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]



RE: What XSLT and XSL-FO editor do you use?

2004-06-16 Thread Wouter de Vaal

We've researched the issue as well and up to know we didn't find
any editor that has reverse engineer capabilities. It's all one
way, you can get the XSL-FO out of it, but once you changed that,
it can't be read back into the editor. 

So I guess we just have to be patient and wait for someone to create
this tool (which will probably have a nice price-tag). 

Oh and concerning XMLSpy, you might want to conside oXygen, XMLSpy
is good, but if you just want a tool for editting, xsl processing
and debugging, oXygen is way cheaper (and it's Java!).

Wouter

 -Original Message-
 From: Roger [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, June 16, 2004 2:57 PM
 To: [EMAIL PROTECTED]
 Subject: What XSLT and XSL-FO editor do you use?
 
 I'm wondering what editors you use to create your XSD, XSLT 
 and XSL-FO documents. At the moment I'm using a trial version 
 of Altova XMLSPY and Stylevision. XMLSpy is meant to create 
 the xsd, and sample xml-data-documents. Stylevision is meant 
 for the FO and XSLT templates.
 
 XMLSpy is okay as far as I can see, but Stylevision has one big
 drawback: you can't edit the code in it. It only has a 
 wysiwyg editor, which works quite okay, but not always like I 
 want it. Now I merely use it to create a quick-start 
 template, and then edit in jEdit.
 
 With the proper plugins installed, jEdit works really nice. 
 My problem is that I cannot get the new code back into 
 Stylevision. At the Altova website they try to present this 
 as a feature, but of course it's not.
 
 Do you know of any good wysiwyg editor for FO, and one that 
 allows you to edit or import the code? I don't expect 
 Dreamweaver quality. Other good tools are also welcome. 
 XMLSpy works fine to create an XSD, but I've seen a lot of 
 tools out there, so I'm wondering what your experiences are, 
 what tips you have.
 
 Roger
 
 
 -
 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]



Re: Free Visual tool for making fo files

2004-05-24 Thread Wouter de Vaal
It's okay for making initial designs, but you can't reverse engineer with it
(reading
hand-made FO templates), and because of that, IMHO, it has no real power.

Wouter

- Original Message - 
From: Richard Sweeney [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 24, 2004 6:02 PM
Subject: RE: Free Visual tool for making fo files


I tried XSLFast, it crashed the WHOLE machine (Windows XP) within about
2 minutes of using it. After the reboot and the 2nd crash I gave up on
it. If anyone has had more luck with it I'd be interested in how good it
is.

Richard

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: 24 May 2004 09:01
To: [EMAIL PROTECTED]
Subject: Re: Free Visual tool for making fo files


Juan Manuel Bellina wrote:

 I need to make a report in PDF file, so I want to know
 if there is a free XSL Template Designer to make my fo
 file in a simple way,  some kind of visual tool that
 help me with this job.

The only free tool I know of is FOA (Formatting Objects Author). There
are a
couple of commercial products, but none of them are very good. I find
them
more of a hinderence than a help, but please judge them for yourself:

FOA

http://foa.sourceforge.net/

Commercial

http://www.xslfast.com


Chris



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



external-graphic and caption

2004-02-26 Thread Wouter de Vaal



Hi,

Is it possible to add a caption to an 
external-graphic without putting it in a table?

My goal is to have multiple graphics within a block 
so they will be put on one line
untill there is no more space and then the next 
will be shown on the next line..

Regards,
Wouter


Re: How to capitalize text ???

2004-02-09 Thread Wouter de Vaal
You should use XSLT for this:

xsl:variable name=uppercaseABCDEFGHIJKLMNOPQRSTUVWXYZ/xsl:variable

xsl:variable name=lowercaseabcdefghijklmnopqrstuvwxyz/xsl:variable

xsl:template match=text()
   xsl:value-of select=translate(.,$lowercase,$uppercase)/
/xsl:template

This will translate all lowercase text in XML to uppercase.

Wouter

- Original Message - 
From: Dang Minh Phuong
To: '[EMAIL PROTECTED]'
Sent: Monday, February 09, 2004 3:50 AM
Subject: How to capitalize text ???


Hi all,

I have a text received from the DB and put in xml file. Now I want to
capitalize that text when showing it in PDF using FOP. How can I do that ???

Thanks for your help.

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



Re: xsl in WAR

2003-10-21 Thread Wouter de Vaal
 Hi,

 I read about how retrieving images in WAR files.
 But how to access xsl-files located in WAR files.

 My xsl-fo file includes another xsl file:
 xsl:include href=common.xsl/

 However, while running the web-application, I get a
 java.io.FileNotFoundException: C:\jboss-3.0.4\bin\common.xsl

 I thought, just like images, FOP would look into the baseDir location.

 Any ideas?
 Regards,
 Laurent.

Maybe you should let the server unpack you war, so the common.xsl file is
actually
on the filesystem..

Regards,
Wouter

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



block-container taking the width of it's children

2003-10-17 Thread Wouter de Vaal
Hi,

I was wondering if it is possible to let a block-container take the width of
it's containing block.
So in the following example, it would take the actual width of the external
graphic.

fo:block-container top=230mm left=40mm height=30mm
position=absolute
fo:block
fo:external-graphic height=30mm src=sign.gif/
/fo:block
/fo:block-container

Anyway, the above example doesn't work..

Wouter de Vaal

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



Re: block-container taking the width of it's children

2003-10-17 Thread Wouter de Vaal
 No, this isnt possible in FOP. In general, XSL-FO will let you do this,
its
 just that FOP only has limited support for block-container. Why do you
think
 you need this feature? Perhaps there is a different way to achieve the
same
 effect?

I'm creating an editor in which one can upload images and it's got a feature
to
specify the width or height only, so it scales it nicely (like in html
pages).
This content get's dumped into xml and from their I do a transformation
with fop..

 
 fo:block-container top=230mm left=40mm height=30mm
 position=absolute
  fo:block
  fo:external-graphic height=30mm src=sign.gif/
  /fo:block
 /fo:block-container
 

 The current version of FOP requires width to be specified on
 block-container. And if you dont specify width on external-graphic, your
 image will be rendered at 72dpi.

Well your last remark ends my exploration immediatly, I can't have the
quality
of the pictures be ruine because of a nice editor feature. I'll just have to
fix something
in my program to do som pre-processing I guess..

Thanx,
Wouter

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



clipping images with non-standard shapes

2003-09-16 Thread Wouter de Vaal
Hi,

I'm trying to clip an image with a rounded-corner rectangle (or any other
non-standard shape for that matter).
I could not find any way to do this with xsl-fo, so I took the approach of
embedding svg, like this:

  fo:block-container top=8mm height=198.5mm width=101mm left=0
position=absolute
   fo:block
!-- the background block is 1cm more wide so the round edge fall 1cm
off the paper --
fo:instream-foreign-object content-width=111mm
content-height=198.5mm
 svg:svg width=111mm height=198.5mm
  svg:g clip-rule=nonzero
   svg:clipPath id=MyClip
svg:rect x=-1cm y=0 width=111mm height=56mm rx=5/
   /svg:clipPath
   !-- image is put 1mm further to the right so it falls over the
rectangle border --
   xsl:variable name=imageUrl select=Image/
   svg:image clip-path=url(#MyClip) x=4mm y=0 width=111mm
height=50mm xlink:href={$imageUrl}
 /svg:image
  /svg:g
 /svg:svg
/fo:instream-foreign-object
   /fo:block
  /fo:block-container

This works fine when I view this with AWT, but when I generate a PDF, the
quality of the graphics is bad. I've read that this because the current
SVG- PDF rendering gives a maximum quality of 72dpi, which is way to low
for professional printing (for which I want to use this).

Does anyone know of a way to work around this?
I use fop 0.20.5.

Regards,
Wouter de Vaal

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



Re: clipping images with non-standard shapes

2003-09-16 Thread Wouter de Vaal
 This works fine when I view this with AWT, but when I generate a PDF, the
 quality of the graphics is bad. I've read that this because the current
 SVG- PDF rendering gives a maximum quality of 72dpi, which is way to low
 for professional printing (for which I want to use this).
 

 There is a configuration parameter strokeSVGText which can be placed in
the
 FOP configuration, e.g.

 entry
   keystrokeSVGText/key
   valuefalse/value
 /entry

 This may improve matters,

 Chris

I'm afraid it doesn't.. It's the image that is rendered in very poor
quality. I don't use text in my svg part.

Any other idea's? Maybe some extension is available somewhere that I missed?

Wouter

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