SV: Fop XInclude Failure with Lost Internet

2010-07-07 Thread lars.bjerges
Well there might be a reference to Internet in your svg file´s Doctype, e.g.: http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";> I´ve had similar experience when not updating my catalog resolver and inadvertently introducing some new reference. Regards Lars -Ursprungligt meddelande-

Re: FOP trunk error message when run from ant

2010-07-07 Thread Craig Ringer
On 07/07/10 17:18, Jeremias Maerki wrote: > Craig, > > what you'd like is actually available. Please see: > http://xmlgraphics.apache.org/fop/0.95/fonts.html#autodetect > > It allows to create JARs containing custom fonts which FOP will > automatically make available. Ah, brilliant. Thanks for t

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-07 Thread Eric Douglas
How are you calling FOP, and what OS? I personally use embedded code to reference the classes directly from a Java extension language called BBj (which you can find at www.basis.com). I run all my programs in webstart which tells me what it's doing in the Java console. If you go into Java on the

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-07 Thread Mario Madunic
Eric, I'm keeping away from having the SVGs inline. The FO file will be 250+ megs and I'm trying to keep the size of the FO as small as possible if I need to debug it and/or issues with running such a big file on my 32bit machine. I did a test of some SVGs inline for one section (out of 21). Wi

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-07 Thread Eric Douglas
I never got FOP to work with any images in external files, at least with a reference which works on different machines. I haven't had a chance to revisit that yet but I will figure it out. I had figured out a format for the href which worked for svg and not for other image formats but it was runn

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-07 Thread Mario Madunic
Thanks Tom for the code. Tried it and still blank space where the svg should be. (Tested with absolute and relative paths). Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Tom Browder [mailto:tom.brow...@gmail.com] Sent: Tuesday, July 06, 2010

Re: Possible Bug: No control Over Itemized List Marks

2010-07-07 Thread Tom Browder
On Tue, Jun 29, 2010 at 12:07, Christopher R. Maden wrote: > Tom Browder wrote: >> 1.  Is this a fop bug? ... > Your FO markup is almost certainly requesting the symbol you see.  FOP > does not make up list markers on its own; it uses the requested symbol. Thanks, Chris. The information in the t

Fop XInclude Failure with Lost Internet

2010-07-07 Thread Tom Browder
I have an svg file included in my DocBook style sheet customization file and it has worked fine up until this morning when I lost my internet connection. I then got the following error (using the trunk): [Warning] value_user_manual.fo:204:64: Include operation failed, reverting to fallback. Resou

Re: AW: Keeping fo:table-header and fo:table-body together within a page

2010-07-07 Thread Sushanth
Thanks Georg, Looks like I was making a mountain out of a molehill, it was indeed the presence of a blank row at the beginning of my table-body that was causing this problem. I had put a keep-with-next.within-page="always" on the last row in the header and also put keep-with-previous.within-page=

Re: How to Get Borders to Work

2010-07-07 Thread Tom Browder
On Wed, Jul 7, 2010 at 07:10, Jeremias Maerki wrote: > Tom, > > I've just checked with 0.95 and trunk: > >      bla >      Bla > > Just setting the border style is enough to get a border, be that on one > side or all around with the shorthand. My bad, I thought I had checked out setting one attri

Re: Combining FOP with multiple transformations

2010-07-07 Thread Cedric Staub
On Wed, 07 Jul 2010 14:45:38 +0200 Jeremias Maerki wrote: > Cedric, > you're right, there's something odd there, but I get a RuntimeException > when I try to do something similar to what you have. I don't have time > right now to investigate what exactly goes wrong. > > Here's a variant that wor

Re: FOP trunk error message when run from ant

2010-07-07 Thread Jeremias Maerki
On 07.07.2010 14:41:23 Eric Douglas wrote: > > > -Original Message- > From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] > Sent: Wednesday, July 07, 2010 5:17 AM > To: fop-users@xmlgraphics.apache.org > Subject: Re: FOP trunk error message when run from ant > > Hi Eric > > ... >

Re: Combining FOP with multiple transformations

2010-07-07 Thread Jeremias Maerki
Cedric, you're right, there's something odd there, but I get a RuntimeException when I try to do something similar to what you have. I don't have time right now to investigate what exactly goes wrong. Here's a variant that works for me: public void testFilterChainingWithFOP1() throws Exceptio

RE: FOP trunk error message when run from ant

2010-07-07 Thread Eric Douglas
-Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Wednesday, July 07, 2010 5:17 AM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP trunk error message when run from ant Hi Eric ... > What are you referring to? I don't see any backwards-incompatible

Re: How to Get Borders to Work

2010-07-07 Thread Jeremias Maerki
Tom, I've just checked with 0.95 and trunk: bla Bla Just setting the border style is enough to get a border, be that on one side or all around with the shorthand. I'm just not really getting why you want to customize these defaults. Styling this in XSLT is as simple as defining an x

Re: How to Get Borders to Work

2010-07-07 Thread Tom Browder
On Wed, Jul 7, 2010 at 04:25, Jeremias Maerki wrote: > Hi Tom > > Why? What should that extension do? > > IMO, Craig and Eric are right. It's basically your job in XSLT to make > sure that the right properties are set, that defaults from the XSL-FO > spec and from the user agent (i.e. FOP) are ove

Re: AW: Keeping fo:table-header and fo:table-body together within a page

2010-07-07 Thread Pascal Sancho
Sushanth, without a clean XSL-FO snippet, we only can provide you 'hypothetic' solutions. a possible solution should be using the 2 Fop extensions fox:orphan-content-limit and fox:widow-content-limit. Read [1] for further details. [1] http://xmlgraphics.apache.org/fop/0.95/extensions.html#widow-or

RE: FOP trunk error message when run from ant

2010-07-07 Thread Mario Madunic
Thanks Jeremais. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Wednesday, July 07, 2010 3:54 AM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP trunk error message when run from ant

Re: Too many opened files with FOP in multithread

2010-07-07 Thread shucoshuco
Thank you for your reply. I've tried with 0.95 and it seems to fix the problem. I was using 0.94 because it was the installed version in our servers but I don't think I have problem to upgrade. Thanks so much. Jeremias Maerki-2 wrote: > > If you're in the process of integrating FOP 0.94, why

Problem with keep-with-next="always" and keep-with-previous="always" fop 0.20.5

2010-07-07 Thread asitha w
Hi every one, I’m facing a problem with keep-with-next="always" and keep-with-previous="always" properties The fop version that I’m dealing with is 0.20.5 The problem: Whenever table contains table header* and if a row contains data that does not fit to a single page, and if this row is added

AW: Keeping fo:table-header and fo:table-body together within a page

2010-07-07 Thread Georg Datterl
Hi Sushanth. First question: Are you definitely sure there are no body lines on the first page? You don't have empty lines (for spacing or because of missing data) at the beginning of your table? If so, please drop us a code example, because then I guess it would be a bug. If you have empty li

Keeping fo:table-header and fo:table-body together within a page

2010-07-07 Thread Sushanth
First of all, I'm extremely sorry for the long text that follows this :) I looked all around the internet for a solution to this problem and still haven't found a straightforward solution. I am generating a PDF using FOP 0.95, where I have a bunch of pages, each of which can have multiple tables.

Re: Too many opened files with FOP in multithread

2010-07-07 Thread Jeremias Maerki
If you're in the process of integrating FOP 0.94, why not upgrade to 0.95 directly? 0.95 already had quite some improvements in the font area. I'm not sure but maybe that problem doesn't arise with 0.95. On 06.07.2010 14:43:39 shucoshuco wrote: > > Hi everybody. > > I have found the next issue w

Re: How to Get Borders to Work

2010-07-07 Thread Jeremias Maerki
Hi Tom Why? What should that extension do? IMO, Craig and Eric are right. It's basically your job in XSLT to make sure that the right properties are set, that defaults from the XSL-FO spec and from the user agent (i.e. FOP) are overridden. The default in XSL-FO is to have no border and you expli

Re: FOP trunk error message when run from ant

2010-07-07 Thread Jeremias Maerki
Craig, what you'd like is actually available. Please see: http://xmlgraphics.apache.org/fop/0.95/fonts.html#autodetect It allows to create JARs containing custom fonts which FOP will automatically make available. On 06.07.2010 03:34:19 Craig Ringer wrote: > On 06/07/10 00:18, Chris Bowditch wrot

Re: FOP trunk error message when run from ant

2010-07-07 Thread Jeremias Maerki
Hi Eric On 06.07.2010 14:35:11 Eric Douglas wrote: > Chris, > > It seems to me the entire project is subject to change. Usually, people complain that too little is happening. But the only constant is change. ;-) > In fact going > from version 0.20 to 0.95 practically everything changed. It had

Re: FOP trunk error message when run from ant

2010-07-07 Thread Jeremias Maerki
Mario, I'm afraid, support for external-destination for fo:bookmark hasn't been implemented, yet. Basically, your FO is correct although, strictly speaking, it should be external-destination="url(http://www.google.com)", since external-destination takes a : See http://www.w3.org/TR/xsl11/#datatype