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

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

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 not

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);

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

2003-01-24 Thread Paul Washinger
I use #160; 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

Border attribute in fo:region-before

2003-01-24 Thread Jean-Philippe VALENTIN
Hi, I would like use the border attribute in fo:region-before but it doesn't work : is-it a bug ? how can I do else ? fo:region-before margin-top=0cm margin-bottom=0cm extent=4cm border-left-color=black border-left-width=1pt border-left-style=solid

Re: Table of Contents problem

2003-01-24 Thread Clay Leeds
Jon, Can you merely use fo:page-number-citation ref-id=endofdoc/ for the last item (and put fo block id=endofdoc/fo:block 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

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]

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

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 to

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

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

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

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

Re: Re: German characters

2003-01-24 Thread abdolah
thnks for your reply i use the default encoding for XML to generate this files: ?xml version=1.0 encoding=iso-8859-1?. and default fo.xsl header: ?xml version='1.0'? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format;

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

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: ?xml version=1.0 encoding=iso-8859-1?. and default fo.xsl header: ?xml version='1.0'?

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 question,

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 fo:character character= 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) { ...

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

Re: Border attribute in fo:region-before

2003-01-24 Thread J.Pietschmann
Jean-Philippe VALENTIN wrote: I would like use the border attribute in fo:region-before but it doesn't work : is-it a bug ? how can I do else ? 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

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

Re: Border attribute in fo:region-before

2003-01-24 Thread Oleg Tkachenko
Jean-Philippe VALENTIN wrote: I would like use the border attribute in fo:region-before but it doesn't work : is-it a bug ? how can I do else ? 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,

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 : fo:table-cell padding=1pt fo:block keep-with-next.within-page=always

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 : fo:table-cell padding=1pt fo:block

RE: Howto make tables...

2003-01-24 Thread Jacob Bager
Err... I thougt the template match=IMAGEINFO was the template? The IMAGEINFO is tag in the .XML, like IMAGEINFOfoo.bar/IMAGEINFO I want to write foo.bar i the fo:table-cell Jacob -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: 25. januar 2003 00:39 To: [EMAIL