Re: Overflow in block-level elements

2007-02-14 Thread Jeremias Maerki
As far as I understand the spec the "overflow" property applies only to FOs which create a viewport area. http://www.w3.org/TR/xsl11/#prapply also says: Property overflow applies to: fo:region-body, fo:region-before, fo:region-after, fo:region-start, fo:region-end, fo:block-container, fo:external-

Re: Table troubles

2007-02-14 Thread Jeremias Maerki
On 13.02.2007 13:40:53 Andreas L Delmelle wrote: > On Feb 12, 2007, at 23:34, Jeremias Maerki wrote: > > > > >> I'd very much like to agree with your solution/interpretation, but > >> the nit in me feels compelled to ask: > >> "100% of what?" > > > > XSL 1.1 says for percentages in block-progres

Re: AWT Previewer external remote jpg file no rendering

2007-02-14 Thread Jeremias Maerki
Well, when you output PDF a different renderer is used than when you display the file in the AWT previewer or if you render PNG/TIFF. So, differences are generally possible though not necessarily expected. In my tests with FOP 0.93, JPEG images do appear with the Java2D renderer subclasses (AWT pr

Dynamic Running Heads

2007-02-14 Thread Jeff Sese
How do i go about creating dynamic running heads that displays the first article in the page and the last article in page; or the only article if there is only one article in the page? page 1: Title 1 some text some text some text some text some text page 2: some text some text Title 2 some te

Re: Table troubles

2007-02-14 Thread Chris Bowditch
Vincent Hennebert wrote: Chris Bowditch a écrit : Andreas L Delmelle wrote: The Rec in all its glory! :) I wonder what this means for tables that don't have a block-container parent. Note that, since a block's b-p-d can't be specified, that leaves only block-container as a possible and re

Need working example or help how to use PDF/A-1b with FOP 0.93

2007-02-14 Thread Virginijus Kandrotas
I am looking for help how to use PDF/A-1b. Does anybody have working example ? I need example input XML fo file and FOP configuration / font embedding. Best regards, Virginijus Kandrotas -- View this message in context: http://www.nabble.com/Need-working-example-or-help-how-to-use-PDF-A-1b-w

Re: Need working example or help how to use PDF/A-1b with FOP 0.93

2007-02-14 Thread Jeremias Maerki
Make sure you follow the instructions here: http://xmlgraphics.apache.org/fop/0.93/pdfa.html I've uploaded an example for you: http://people.apache.org/~jeremias/pdfa-example.zip (you just have to copy arial.ttf in the same directory. Omitted in the ZIP for legal reasons.) HTH On 14.02.2007 14:

Re: Need working example or help how to use PDF/A-1b with FOP 0.93

2007-02-14 Thread Virginijus Kandrotas
Hello Jeremias, Thank you for your help and the example you have attached, but it still not working for me. I think there is some problems with the FOP configuration. I getting this error: org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be em

Re: Need working example or help how to use PDF/A-1b with FOP 0.93

2007-02-14 Thread Jeremias Maerki
This means you are still somehow referencing one of the base 14 fonts. Even if you use Times-Roman, you have to explicitely define this font in the configuration for PDF/A (as if it were a custom font) even though it's normally available for use for non-PDF/A documents. The specification requires t

fop and image sizing

2007-02-14 Thread Hinrich Aue
Hello everybody, I was wondering about some things: Why does FOP not use meta data (specially dpi) from images? I know it doesn't, I read the documentation. I just wonder why. Of course, when you don't read that information, you have to set a dpi resolution. Why is it 72 dpi? Every screen th

Re: Need working example or help how to use PDF/A-1b with FOP 0.93

2007-02-14 Thread Virginijus Kandrotas
I just try to run your example (pdfa-example.fo), have no extra references to the fonts defined. regards, Virginijus Kandrotas -- View this message in context: http://www.nabble.com/Need-working-example-or-help-how-to-use-PDF-A-1b-with-FOP-0.93-tf3227266.html#a8967758 Sent from the FOP - Us

Table column widths

2007-02-14 Thread Tom Bentley
I'm having problems getting table columns to fill the table width using 0.93/Java1.4. In particular, I've got: ...table-rows and table-cells... What I expected to happen is that each of the columns widths would be at least the specified absolute length (30,50,12.5,15mm),

Re: Dynamic Running Heads

2007-02-14 Thread Louis . Masters
Not 100%, but Chris answered something similar last week: http://marc.theaimsgroup.com/?l=fop-user&m=117066981314656&w=2 It is more of how to retrieve the previous page's marker, but it should get you going. If you need a basic marker example, there is one in the distribution under examples\fo

How do I get the .xsl line number which caused an error in fop .93?

2007-02-14 Thread brycenesbitt
Is it possible to get fop to tell me what line number, in the original xsl, is causing a particular exception? I get lots of mysteries like: Feb 14, 2007 9:34:56 AM org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2 WARNING: Line 1 of a paragraph overflows the av

Re: Need working example or help how to use PDF/A-1b with FOP 0.93

2007-02-14 Thread Jeremias Maerki
Does that mean you can't run my example? You get an error about "Times-Roman" with pdfa-example.fo? If yes, that's really weird. I simply did this on the command-line: fop -c fop.xconf -fo pdfa-example.fo -pdfa1b pdfa-example.pdf Have you tried it from the command-line? On 14.02.2007 16:59:53 Vi

Re: fop and image sizing

2007-02-14 Thread Jeremias Maerki
On 14.02.2007 16:57:30 Hinrich Aue wrote: > Hello everybody, > > > > I was wondering about some things: > > Why does FOP not use meta data (specially dpi) from images? I know it > doesn't, I read the documentation. I just wonder why. Wow, http://xmlgraphics.apache.org/fop/0.93/graphics.html

Re: How do I get the .xsl line number which caused an error in fop .93?

2007-02-14 Thread Jeremias Maerki
Xalan-J claims on the website that they support location information but each time I tried, it didn't work. See: http://xml.apache.org/xalan-j/features.html#factoryattribute Maybe another XSLT processor can do that. But you can always just run the XSLT process and then use the intermediate FO fil

Re: Table column widths

2007-02-14 Thread Jeremias Maerki
It's a bug in FOP. The columns should actually evenly fill up the remaining width, even without the proportional-column-width(1). On 14.02.2007 17:39:14 Tom Bentley wrote: > I'm having problems getting table columns to fill the table width using > 0.93/Java1.4. > > In particular, I've got: > >

Exception in thread "main" java.lang.OutOfMemoryError

2007-02-14 Thread Krishna . Cherla
Hello All, I am trying to convert an XML document(approx about 110 pages long, 777KB) into a pdf document using an FO transformation. But it gives me the following error. Exception in thread "main" java.lang.OutOfMemoryError I tried the last three solutions mentioned here.

Re: Exception in thread "main" java.lang.OutOfMemoryError

2007-02-14 Thread Mathieu Malaterre
On debian fop is using: JAVA_OPTS. I have seen also FOP_OPTS being used. Anyway the fop command is usally simply a wrapper around the java command, so you could just open that file and change what ENV var they are using for passing option to the java command. HTH -M Ref: http://gdcm.sourceforge.n

Re: Exception in thread "main" java.lang.OutOfMemoryError

2007-02-14 Thread Louis . Masters
For Sun's java, on the java command line, use something like this: -Xmx512m The 512m means 512 megabytes of memory. Set it to whatever you need. Check out your java compiler/exe vendor for more details. -Lou [EMAIL PROTECTED] wrote on 02/14/2007 01:37:21 PM: > Hello All, > I am trying to

Re: Dynamic Running Heads

2007-02-14 Thread Jeff Sese
Hi, I tested some variations of the position of the markers and the properties i used for the retrieve-marker, i finally got my desired output. Here's my fo code for reference: border-bottom-width="1pt" background-color="gray"> retrieve-class-name="headin