Re: PostScript

2003-05-15 Thread Jeremias Maerki
Ethan, I don't know if you monitor fop-dev but Zhong(George) Yi has sent a bugfix and I've just applied it to CVS (maintenance branch). The thing looks better now. You may want to try again. On 09.05.2003 17:02:18 Jeremias Maerki wrote: I was able to reproduce the problem. So you are creating

fo:external graphics and memory usage

2003-05-15 Thread Mirko Sertic
Hello! I have a little question about fo:external-graphic and memory usage. I think this question was answered before, but i did'nt find the right thread :-(. Are images that were used in fo:external-graphic cached, and if , where ? And how do i reset this cache ? I'm using 0.20.5rc2. I ask

RE: external graphics and memory usage

2003-05-15 Thread Torsten Erler
Hi, I had the same Problem, org.apache.fop.image.FopImageFactory is caching the Images and will never release the Reference. I've commented out m_urlMap.put(href, imageInstance); @ line 223. You can also try to use WeakHashMap for m_urlMap or add a method which clears the Map on

Re: fo:external graphics and memory usage

2003-05-15 Thread Jeremias Maerki
Yes, the images are indeed cached in FopImageFactory and you can call org.apache.fop.image.FopImageFactory.resetCache() to empty the cache. On 15.05.2003 09:18:33 Mirko Sertic wrote: I have a little question about fo:external-graphic and memory usage. I think this question was answered before,

RE: external graphics and memory usage

2003-05-15 Thread Torsten Erler
... Sorry I use 0.20.4. Just now I've downloaded 0.20.5rc2 and I'm enjoyed to see a method at the end of the class: FopImageFactory.resetCache() Simply call it ;) cu -Original Message- From: Torsten Erler [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 15. Mai 2003 09:43 To: [EMAIL

arabic hyph

2003-05-15 Thread FWW FWRR
Hi.. Can any one tell me what is the diffrence between hyphentaion files and xml metrices files ? Where can I get an arabic hyphenation file? Thanks. Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.

OT: XPath expression

2003-05-15 Thread Torsten Erler
Hi all, I know it's not the right List, but I think there are a lot of XSL-Experts here in this list. Does anyone know the XPath _expression_ for counting all Attributes and all childs (grandchilds...)of all preceding siblings of the selected node??? In Other words which row numberhas

Re: arabic hyph

2003-05-15 Thread Jeremias Maerki
On 15.05.2003 10:25:04 FWW FWRR wrote: Can any one tell me what is the diffrence between hyphentaion files and xml metrices files ? With xml metrices files you probably mean the FOP's font (!) metric files in XML format. With hyphenation files there's also an XML format involved. TeX

RE: XPath expression

2003-05-15 Thread David Neary
De : Torsten Erler [mailto:[EMAIL PROTECTED] I know it's not the right List, but I think there are a lot of XSL-Experts here in this list. You might want to try the xsl-list at http://www.mulberrytech.com/xsl/xsl-list Does anyone know the XPath expression for counting all Attributes and all

RE: XPath expression

2003-05-15 Thread Andy Joslin
Title: Message Hi Torsten It is probably worth you looking at the XSL List and the XSLT FAQ. http://www.mulberrytech.com/xsl/xsl-list/ http://www.dpawson.co.uk/xsl/xslfaq.html http://www.dpawson.co.uk/xsl/sect2/N961.html This is a frequently asked question, and the same logic applies

RE: XPath expression

2003-05-15 Thread Torsten Erler
Thanx for the reply(ies) -position() doesn't work for me (it always returns '1' for the first child of a node but i've to know the absolute position inside the whole xml tree) -preceding-sibling::*/@* looks better i'll try it out For clarifications: I try to display the content an xml file in

Re: avoid widow/orphan

2003-05-15 Thread Nicolas Mazziotta
J.Pietschmann wrote: Nicolas Mazziotta wrote: I know the xslfo keep-w/-next attr. is not fully implemented yet, but does anyone have a hack or stg that would prevent users to manually add page breaks when needed? Did you look at http://xml.apache.org/fop/faq.html#keep-with J.Pietschmann

help about fo:table-header

2003-05-15 Thread Selber Jean-François
Hello, I asked yesterday some help in order to build with FOP a pdf documentfrom a FO document which may contain a large table and I wisheddifferentiate the header of the first page containing the table from theheader of the next pages.I tried to use unfortunately the notion of dynamic

Re: fo:external graphics and memory usage

2003-05-15 Thread Ben Galbraith
Jeremias Maerki wrote: Yes, the images are indeed cached in FopImageFactory and you can call org.apache.fop.image.FopImageFactory.resetCache() to empty the cache. Hey, this is definitely something that belongs on the website in a prominent place in the section explaining how to embed FOP -- not

Re: help about fo:table-header

2003-05-15 Thread Clay Leeds
Jean-François, I believe this link describes how to do what you're trying to do: http://www.dpawson.co.uk/xsl/sect3/pagelayout.html#d9245e184 Also, the FAQ list there is really great for FO Questions: http://www.dpawson.co.uk/xsl/sect3/index.html Bon chance! On 5/15/2003 6:34 AM, Selber

RE: XPath expression

2003-05-15 Thread David Neary
Hi, -position() doesn't work for me (it always returns '1' for the first child of a node but i've to know the absolute position inside the whole xml tree) It only does this if the context nodeset is the set of siblings. You can have the context node set be other stuff.

Re: help about fo:table-header

2003-05-15 Thread Selber Jean-François
Thanks for your help But my problem is not on page header but on table header I want to find a way to not display table-header in first time and only display header on the start of next page if the table is too big to be display on the same page Thank you - Original Message - From:

RE: XPath expression

2003-05-15 Thread Torsten Erler
ThanX alot -- your explanation reduces dramatically the size of my xsl and enlarges my xsl-understanding. All what I've written in many hours, is shrinked to a few lines of code ;(. But it works great ;))) cu Torsten -Original Message- From: David Neary [mailto:[EMAIL PROTECTED] Sent:

landscape format in PDF with XSL-FO

2003-05-15 Thread Zmitko, Jan
Hello together, can anybody told me how to generate PDF with landscape format? Thanks Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help about fo:table-header

2003-05-15 Thread Clay Leeds
The idea is to use a different page-master on the second and subsequent page. Then, you can put your table-header block in the region-before. On 5/15/2003 8:07 AM, Selber Jean-François wrote: I want to find a way to not display table-header in first time and only display header on the start of

Re: Type 1 fonts.

2003-05-15 Thread Jeremias Maerki
Hmm, that's an error from Excalibur ComponentManager (Avalon stuff). I guess you'd better ask this question again on cocoon-users, but ...the error message could hint at the fact that Cocoon either couldn't find fo2pdf or that the initialization of fo2pdf has failed (and therefore the

Re: landscape format in PDF with XSL-FO

2003-05-15 Thread William Gilbert
Hello together, can anybody told me how to generate PDF with landscape format? Thanks Jan Here's a method we use in all of our reports, user has a check box which set an input parameter, doc-orientation, passed to the FOP servlet. xsl:param name=doc-orientation select='portrait'/

table-cell suggestion

2003-05-15 Thread rhodespc
I was getting a crash in FOP. This happened when I would declare a table with a given amount of columns, and one of my rows did not specify enough columns. I would get a npe on the getTableCell method. Perhaps the code can be modified to catch this exception and proceed with the processing of

AW: landscape format in PDF with XSL-FO

2003-05-15 Thread Zmitko, Jan
Thanks Willian and Tim -Ursprungliche Nachricht- Von: William Gilbert [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Mai 2003 17:32 An: [EMAIL PROTECTED] Betreff: Re: landscape format in PDF with XSL-FO Hello together, can anybody told me how to generate PDF with landscape

Re: table-cell suggestion

2003-05-15 Thread Louis . Masters
What version of FOP is this? I currently have developers that do this all of the time and it looks like FOP just ignores it. I am using FOP 0.20.3. If a newer version if throwing an exception it would be good to know now. -Lou

Re: table-cell suggestion

2003-05-15 Thread rhodespc
FOP-0.20.5rc2 Quoting [EMAIL PROTECTED]: What version of FOP is this? I currently have developers that do this all of the time and it looks like FOP just ignores it. I am using FOP 0.20.3. If a newer version if throwing an exception it would be good to know now. -Lou

Re: help about fo:table-header

2003-05-15 Thread Selber Jean-François
In fact I can't used different page-master and the region-before to replace the table-header because I can have successivly two table in the same page sequence and for this two table I want to display header only on the second page. In fact header would be only display if the table in too big for

Re: fo:external graphics and memory usage

2003-05-15 Thread Jeremias Maerki
Done in CVS. For people interested in contributing: writing documentation patches is a great way to contribute. :-) On 15.05.2003 16:00:20 Ben Galbraith wrote: Jeremias Maerki wrote: Yes, the images are indeed cached in FopImageFactory and you can call

Re: help about fo:table-header

2003-05-15 Thread Jeremias Maerki
I think, the best match I found while looking in the mailing list archives is: http://marc.theaimsgroup.com/?l=fop-userm=103260578416087w=2? Here are the threads of interest: http://marc.theaimsgroup.com/?t=10324970642r=1w=2 http://marc.theaimsgroup.com/?t=10377466451r=1w=2

Re: table-cell suggestion

2003-05-15 Thread rhodespc
I will try to reduce it to a test case. I had a 583k fo file and it was crashing. Because the stack trace indicated a problem with the table cell, I verified my cells. That's when I discovered that in some cases, I only would output one column in a multi column table. After fixing the columns

FOP problems with SVG: hanging, font selection

2003-05-15 Thread Brian Lynn
I'm having a couple of problems with FOP, used to render some big files with lots of SVGs. 1) Hanging In Java 1.3 (but not 1.4), after finishing rendering the document FOP fails to stop, after printing out the message: Parsing of document complete, stopping renderer It just hangs there forever,