Re: Converting from postscript to pdf

2003-01-24 Thread J.Pietschmann
Clark, George wrote: Error in content height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined Error in content width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined The version of fop that i am using is fop-0.20.3 on a linux

RE: vertical alignment

2003-01-24 Thread Roland Neilands
Joerg, > Untested, I can't really say whether absolutely positioned > block containers work in static content. They work. I believe you showed me a year ago, when I put static-content into examples/border.fo to show you a problem. Cheers, Roland

RE: Table of Contents problem

2003-01-24 Thread Jon Steeves
I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 23, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: Re: Table of Contents problem Jon Steeves wrote

How can I force a space in rendered output?

2003-01-24 Thread Patrick Dean Rusk
I have a need to put copyright symbols in my rendered text from time to time, and I like to follow them with a space. Because of some of the transformation logic required when I do this, I can't easily ensure that an actual space will appear in the event stream that FOP processes. In other words,

Re: How can I force a space in rendered output?

2003-01-24 Thread J.Pietschmann
Patrick Dean Rusk wrote: I have a need to put copyright symbols in my rendered text from time to time, and I like to follow them with a space. Because of some of the transformation logic required when I do this, I can't easily ensure that an actual space will appear in the event stream that FOP pr

RE: How can I force a space in rendered output?

2003-01-24 Thread Patrick Dean Rusk
> > What I'm looking for is a FO element that I can put between the > > above and the . I thought that > > > > > > > > would work, but it does not. > > In what sense it doesn't work? Also, if you can ensure an element > follows the copyright character, you should be able to (unconditionally) > p

inserting jpg into pdf

2003-01-24 Thread Matthew L. Avizinis
I have the jimi-1.0.jar in the FOP lib folder but I still get the following odd exception. I am using to insert a jpg as follows [ERROR] Could not load external SVG: White spaces are required between publicId and systemId. [ERROR] Error while creating area : No ImageReader for this type of i

Re: Table of Contents problem

2003-01-24 Thread Magnus Sjöberg
Also, (which of course depends on your type of document), try to use a page-sequence per chapter or section. I also had that last id in my ToC mysteriously disappearing, until I set up a page-sequence per chapter. Since the page-number-citation refers to the title in the chapter, it lies first in t

RE: Table of Contents problem

2003-01-24 Thread Graham Hannington
> Jon Steeves wrote: > > I'm trying to generate a TOC. The following code works up to a point - all > > the TOC items output correctly except for the last one, which won't print the > > page number at the end of the leader pattern. I have the same problem (last page number citation in a TOC does

RENDER_TXT

2003-01-24 Thread Philippe PITHON
I have a problem with RENDER_TXT (FOP 0.20.5rc): error message to the line : driver.render(input.getParser(),input.getInputSource()); “java.lang.RuntimeException : java.lang.nullPointerException”   all functions with that : driver.setRenderer(Driver.RENDER_PDF); driver.setRenderer(D

Re: How can I force a space in rendered output?

2003-01-24 Thread Paul Washinger
I use   and have not had any problems with this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

embedded vs not doc size

2003-01-24 Thread Louis . Masters
Hmmm... I have just finished embedded Chinese characters in a document using the MS Song font and the file comes to about 55K. When I remove the embedding line in userconfig, the file becomes 141K. Can someone explain this to me? Thanks, -Lou ---

Fonts with multiple bold levels

2003-01-24 Thread Evraire, Jonathan
Hi, I need to provide my client with a sample of the different levels of bold achievable with xslfo. To do so, I created a very simple table, each row having a different font-weight ranging from 100 to 900. Unfortunately, I only ever see two different bold levels (basically normal and bold). T

Border attribute in

2003-01-24 Thread Jean-Philippe VALENTIN
Hi, I would like use the border attribute in thanks Jean-Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Table of Contents problem

2003-01-24 Thread Clay Leeds
Jon, Can you merely use for the last item (and put at the last item)? Web Maestro Clay Jon Steeves wrote: I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursd

Driver API

2003-01-24 Thread Peter Menzel
Hi Where can I find a (javadoc) API for the fop Driver class ? Peter -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

NoClassDefFoundError (...PlanarImage)

2003-01-24 Thread Stefan Seefeld
hi there, I'm trying to use fop to convert a docbook document to pdf. I successfully generated a 'book.fo' file, and am now running the command fop.sh book.fo book.pdf resulting in the error: Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage what library is this

Re: NoClassDefFoundError (...PlanarImage)

2003-01-24 Thread Clay Leeds
Stefan, Stefan Seefeld wrote: hi there, I'm trying to use fop to convert a docbook document to pdf. I successfully generated a 'book.fo' file, and am now running the command fop.sh book.fo book.pdf I believe that should be: fop.sh -fo book.fo -pdf book.pdf resulting in the error: Exception in th

differenct space needed for different letters?

2003-01-24 Thread dongjiang tang
Hi, I have mutiple line of text in one block in the header for my page, I make each line the exactly same number of letters(same string length), then I found out that the actual space each line takes is not the same, some are longer and some are shorter, just like below. Is there any way to

RE: differenct space needed for different letters?

2003-01-24 Thread robert_hitchins
Yes...you need to used a fixed width font (like Courier) as opposed to a proportional font (like Times New Roman). Proportional fonts base the distance between letters on the actual width of the letter (e.g. "w" is wider than "i" so it gets more space). Fixed width fonts assign the same width

Re: RENDER_TXT

2003-01-24 Thread Christian Geisert
Philippe PITHON wrote: I have a problem with RENDER_TXT (FOP 0.20.5rc): error message to the line : driver.render(input.getParser(),input.getInputSource()); “java.lang.RuntimeException : java.lang.nullPointerException” This bug has been fixed in CVS and will be in the soon ;-) to be released 0.20

Re: Fonts with multiple bold levels

2003-01-24 Thread Christian Geisert
Evraire, Jonathan wrote: Hi, I need to provide my client with a sample of the different levels of bold achievable with xslfo. To do so, I created a very simple table, each row having a different font-weight ranging from 100 to 900. Unfortunately, I only ever see two different bold levels (basic

Re: Driver API

2003-01-24 Thread Christian Geisert
Peter Menzel wrote: Hi Where can I find a (javadoc) API for the fop Driver class ? You have to download the source release (or get it from CVS) and generate the javadocs yourself. (type 'build javadocs' under Windows or 'build.sh javadocs under Linux) Christian ---

Re: NoClassDefFoundError (...PlanarImage)

2003-01-24 Thread Christian Geisert
Stefan Seefeld wrote: [..] My documents include figures in png and or pdf formats. Both formats should be supported by fop, shouldn't they ? For PNGs you need to install Jimi or JAI (see release notes!). PDF figures don't work - you could use SVG instead. Christian -

Re: NoClassDefFoundError (...PlanarImage)

2003-01-24 Thread Stefan Seefeld
Christian Geisert wrote: Stefan Seefeld wrote: [..] My documents include figures in png and or pdf formats. Both formats should be supported by fop, shouldn't they ? For PNGs you need to install Jimi or JAI (see release notes!). sorry to have missed that. PDF figures don't work - you could use SVG

extra page breaks inserted

2003-01-24 Thread Chris McCann
Hello all, I'm getting weird behavior in fop 0.20.5rc that didn't happen in 0.20.4. What I've got is multiple page-sequences in a .fo file with page numbering being reset in between. In .20.5rc I get extra blank pages inserted in between page sequences. In .20.4 it worked as I expected no blac

SVG and Image "Caching" - Page Fore-/Backgrounds - Transparency

2003-01-24 Thread J.U. Anderegg
A couple of new functions to FOP's PDF rendering: o SVG's and images as page fore-/backgrounds with transparency control o SVG rendering as image o Image resolution control by the user o Caching on the PDF way: store/write a resource once - reuse it o Open Actions These add-ons are programmed as

Howto make tables...

2003-01-24 Thread Jacob Bager
Hi ... I know this is a very stupid question, but after browsing the net for a tutorial, Working for me, with NO luck at all. I have to ask here. This it what i wanna do.. (Im using the xsl:fo on a tomcat/cocoon installation., Just for a notice.) I have created an XML.file located at http://ap

Re: Re: German characters

2003-01-24 Thread abdolah
thnks for your reply i use the default encoding for XML to generate this files: . and default fo.xsl header: http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";> To generate this files i use a smal programm which operate on vms operation systems. any other

RE: extra page breaks inserted

2003-01-24 Thread Patrick Dean Rusk
Chris, If you have multiple page sequences, and you restart the page numbering in each one, you may get blank pages inserted if you don't pay attention to the "force-page-count" property of page sequences. Here's a section from Pawson that describes it: cut here

Re: Howto make tables...

2003-01-24 Thread Clay Leeds
Jacob, Jacob Bager wrote: Hi ... I know this is a very stupid question, but after browsing the net for a tutorial, Working for me, with NO luck at all. I have to ask here. This it what i wanna do.. (Im using the xsl:fo on a tomcat/cocoon installation., Just for a notice.) I have created an XML.file

Re: German characters

2003-01-24 Thread Herr Christian Wolfgang Hujer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am Freitag, 24. Januar 2003 21:44 schrieb [EMAIL PROTECTED]: > thnks for your reply > > i use the default encoding for XML to generate this files: > . > and default fo.xsl header: > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; > xmlns:f

Re: extra page breaks inserted

2003-01-24 Thread Chris McCann
Patrick, Thanks for the great answer! It make sense to me now why it works this way. Again thanks. Chris Patrick Dean Rusk([EMAIL PROTECTED])@Fri, Jan 24, 2003 at 03:49:24PM -0500: > Chris, > > If you have multiple page sequences, and you restart the page numbering in > each one, you

RE: Howto make tables...

2003-01-24 Thread Jacob Bager
Thanx a bunch. It's late i'll have a look at it tomorrow. -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: 24. januar 2003 22:29 To: [EMAIL PROTECTED] Subject: Re: Howto make tables... Jacob, Jacob Bager wrote: > Hi ... > > I know this is a very stupid questio

Re: Table of Contents problem

2003-01-24 Thread J.Pietschmann
Jon Steeves wrote: I'm not using multi-column layout or keeps, or lists, and the block IS an immediate child of the flow. Open a bug in bugzilla, and append a small, self contained FO document which demonstrares the problem. J.Pietschmann

Re: How can I force a space in rendered output?

2003-01-24 Thread J.Pietschmann
Patrick Dean Rusk wrote: It doesn't work in the sense that the result of using the is visually indistinguishable from leaving it out. Ah, yes there is indeed a bug there: LineArea.java public int addCharacter(char data, LinkSet ls, boolean ul) { ... // if whitespace-col

Re: inserting jpg into pdf

2003-01-24 Thread J.Pietschmann
Matthew L. Avizinis wrote: I have the jimi-1.0.jar in the FOP lib folder but I still get the following odd exception. ... [ERROR] Could not load external SVG: White spaces are required between publicId and systemId. ... //home.teamgleim.com/~mla/UGCDb/Aviation/FIRC2/Image/Figure4_2.jpg) I guess you

Re: Border attribute in

2003-01-24 Thread J.Pietschmann
Jean-Philippe VALENTIN wrote: I would like use the border attribute in Actually this is required by the spec: http://www.w3.org/TR/xsl/slice6.html#fo_region-body "In version 1.0 of this Recommendation, the values of the padding and border-width traits must be "0"." Some processors allow borde

Re: NoClassDefFoundError (...PlanarImage)

2003-01-24 Thread J.Pietschmann
Stefan Seefeld wrote: great ! By the way, is there a way to specify paths to use to lookup images ? Do you mean this question? http://xml.apache.org/fop/faq.html#faq-N101CD Or do I need to instruct my fo generating stylesheet to embedd the svg directly ? Search for fo:instream-foreign-object on

Re: Howto make tables...

2003-01-24 Thread J.Pietschmann
Jacob Bager wrote: (Im using the xsl:fo on a tomcat/cocoon installation., Just for a notice.) ... Every time i try, putting it through for .pdf i get 'The file is damaged'. Most likely there is a problem with the FO. One cause often seen with tables is a missing table body element. Look into the c

Re: Border attribute in

2003-01-24 Thread Oleg Tkachenko
Jean-Philippe VALENTIN wrote: I would like use the border attribute in That's not a bug, but XSL Recommendation conformant behaviour. In XSL 1.0 regions cannot have padding and border: "In version 1.0 of this Recommendation, the values of the padding and border-width traits must be "0"." [1] [1]

RE: Howto make tables...

2003-01-24 Thread Jacob Bager
Your right J. It was missing the table-body element. I have experimented with the xsl. Clay Leeds provided, its Working. But i havn't managed to get any data in from the xml-file. I tried this :

Re: Howto make tables...

2003-01-24 Thread Clay Leeds
Jacob Bager wrote: Your right J. It was missing the table-body element. I have experimented with the xsl. Clay Leeds provided, its Working. But i havn't managed to get any data in from the xml-file. I tried this : text-align="center">

RE: Howto make tables...

2003-01-24 Thread Jacob Bager
Err... I thougt the was the template? The IMAGEINFO is tag in the .XML, like foo.bar I want to write foo.bar i the Jacob -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: 25. januar 2003 00:39 To: [EMAIL PROTECTED] Subject: Re: Howto make tables... Jacob Bager