Re: Column / character width question

2003-05-09 Thread Jeremias Maerki
Actually, it does. FOP contains an SVG renderer. -svg on the command line. On 09.05.2003 00:10:46 Clay Leeds wrote: > Ben Galbraith wrote: > > Hmm... does FOP -> SVG? I'm open to that, baby. How can I generate the > > SVG (other than by hand like I'm doing now)? > > Not that I know of. You mig

RE: Column / character width question

2003-05-09 Thread Savino, Matt C
Thanks Clay, looks promising. I may have to finally upgrade from FOP .20.2 to test it. From what I understand markers weren't well-implemented in this version. Basically what I need is for the word 'Continued' to appear at the top a block (table) of results every time there is a page break. The

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Matt, Savino, Matt C wrote: I can't read the text because I'm missing a font (Might want to look into that for your end users. I have the latest Acrobat 5.0 Exchange.) FWIW, I can't read it either So if I understand, the problem is creating flow in the main/body two-column section around the top se

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
and tables in it? -matt > -Original Message- > From: Ben Galbraith [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 08, 2003 3:56 PM > To: [EMAIL PROTECTED] > Subject: Re: Column / character width question > > > Savino, Matt C wrote: > > So I'm guessing th

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
Savino, Matt C wrote: So I'm guessing the text below the pics in the upper split section is a continuous paragraph? If you don't mind my asking, can you just divide the content in half? Or do you really need the split between the text part? Don't mind you asking, but your assertion is wrong. They

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
So I'm guessing the text below the pics in the upper split section is a continuous paragraph? If you don't mind my asking, can you just divide the content in half? Or do you really need the split between the text part? - To un

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
Savino, Matt C wrote: I'm missing a font so I can't see the text. Does the upper two-column section need to flow like the lower one? Can it be the same height every time? Is there a new upper two-column section on every page? Fortunately, the section only appears on page 2, and its contents are en

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
I'm missing a font so I can't see the text. Does the upper two-column section need to flow like the lower one? Can it be the same height every time? Is there a new upper two-column section on every page? That's some complicated layout you have there, almost looks more like a catalog you would do

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Ben Galbraith wrote: Hmm... does FOP -> SVG? I'm open to that, baby. How can I generate the SVG (other than by hand like I'm doing now)? Not that I know of. You might be able to use the Apache Foundation's Batik project: http://xml.apache.org/batik/ In particular, their SVG Generator: http://x

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
Scott Moore wrote: Is the text in "Key Facts" dynamic? Why can't you use a 2 column table in that region? If the text is always the same, you should be able to format it in such a way so that it looks like it flows from one column to the other. Sadly, it is quite dynamic. 1000's of PDFs just lik

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
I wonder if something like this could be done in SVG and then "included" in an FO file output by FOP? Hmm... does FOP -> SVG? I'm open to that, baby. How can I generate the SVG (other than by hand like I'm doing now)? BTW, are you saying this file was created with FOP? Yep! --

RE: Column / character width question

2003-05-08 Thread Scott Moore
>On page 2, look at the box labeled "Key Facts". This is where I want to >create a two column region. Warning: it's a 3 MB PDF, but it is a demo >of what FOP can do. Is the text in "Key Facts" dynamic? Why can't you use a 2 column table in that region? If the text is always the same, you sh

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Ben, To make things clearer, I've uploaded the PDF in question to: http://www.galbraiths.org/preview.pdf I wonder if something like this could be done in SVG and then "included" in an FO file output by FOP? BTW, are you saying this file was created with FOP? -- Clay Leeds - [EMAIL PROTECTED]

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
The RenderX demo is cool enough, but it doesn't circumvent the basic XSL limitation: 1 column layout per page. None of the pages have two or more separate multi-column regions. Here's a mock-up of what I want: = | Page header | = | 2 column region

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Oops! That was supposed to be: Running it in fop-0.20.4 doesn't output exactly what is output with RenderX's XEP (not to mention the few errors you get w/ fonts, footnotes & such--which could be problems on my system like not having the fonts installed or not using a userconfig.xml file or

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Ben Galbraith wrote: Yep, that's what I need. I was pretty sure that FOP didn't support it, but hey, neither does any other XSL 1.0 compliant tool. I think I will just approximate the lengths of lines (thanks to JP's comment) unless it proves woefully inaccurate. If it does, I think I may try

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
Stefan Seefeld wrote: How is the above different from flowing text across pages ? Just imagine each column to be a (narrow) page, then tile two such boxes horizontally. What is needed to make two column pages work that is not yet needed when doing 'ordinary' pages ? Yeah, sounds good to me, but AFA

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
Clay Leeds wrote: Wait a minute... Are you trying to do layout like in a newspaper? Where the end of one column at the bottom of the page will "flow" to the top of the next column? As far as I know (& I consider my knowledge of FOP a bit above that of a newbie), that isn't supported in FOP. To d

Re: Column / character width question

2003-05-08 Thread Stefan Seefeld
Clay Leeds wrote: Wait a minute... Are you trying to do layout like in a newspaper? Where the end of one column at the bottom of the page will "flow" to the top of the next column? As far as I know (& I consider my knowledge of FOP a bit above that of a newbie), that isn't supported in FOP. To d

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Ben Galbraith wrote: Well, I will wind up doing just that to simulate two columns within a block in the region-before, but unfortunately a table won't span a single block across two adjacent cells to simulate columns (right?). So, the code I'm writing needs to calculate when the text in the firs

Re: Column / character width question

2003-05-08 Thread J.Pietschmann
Ben Galbraith wrote: My question is: how hard would it be to calculate line width (to figure out wrapping issues) on my own using FOP's XML font metafiles (and perhaps even FOP's own code)? I can hard-code line height values and such, but without an algorithm to calculate line-wrapping, I can't

Re: Column / character width question

2003-05-08 Thread Ben Galbraith
Well, I will wind up doing just that to simulate two columns within a block in the region-before, but unfortunately a table won't span a single block across two adjacent cells to simulate columns (right?). So, the code I'm writing needs to calculate when the text in the first cell needs to be s

Re: Column / character width question

2003-05-08 Thread Clay Leeds
Ben Galbraith wrote: Unfortunately, I need to create a block in a region-before that's divided into two columns. As this notion is not supported by XSL 1.0, I needn't wonder if FOP supports this in some way. Can you use fo:table to create 2 columns? Pat