Ok, so had you really used FOP 0.20.5 you wouldn't have the problem. At
least it works for me after adding force-page-count="no-force" to your
stylesheet [1]. Only FOP 0.20.4 leads to the problem you described. Even
after diffing the PS generated by 0.20.4 and 0.20.5 I don't quite see
what the problem is. Probably a glitch in GhostScript.

The whole thing will also work with FOP 0.93 although you will need to
tweak the stylesheet a little bit to get the same output.

[1] http://xmlgraphics.apache.org/fop/faq.html#blank-page-between-page-sequences

On 10.02.2007 05:59:04 brycenesbitt wrote:
> 
> I'm trying to embed an EPS into a fop .20.5 on OS X.
> 
> When I build a postscript file, only the first page shows up in GhostScript
> or other postscript views.
> 
> My command line is:
> fop-0.20.5/fop.sh -d -c userconfig.xml -xsl dashcard.xsl -ps dashcard.ps
> -xml dashcard.xml -d
> 
> Looking at the PostScript file, there are clearly multiple pages.  Here's a
> 7 page test example:
> http://www.obviously.com/temp/dashcard.ps
> 
> The same command line, producing a pdf, gives 7 pages.  But then the image
> does not show up... not in acroread... not in GhostScript.  Any clues?
> -- 
> View this message in context: 
> http://www.nabble.com/7-page-FOP-postscript-file-only-shows-first-page-in-GhostScript%2C-etc.-tf3204281.html#a8897915
> Sent from the FOP - Users mailing list archive at Nabble.com.


Jeremias Maerki


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

Reply via email to