Re: Batik and FOP
hi isn't fop delivered with batik.jar in it's lib directory? Leet, Ethan C wrote: || FOP version 0.20.4 || || uses what version of Batik ? || || || I have downloaded batik-1.1.1 and I also downloaded fop-0.20.4 || || I am using them together, yet I am getting runtime errors, like || NoSuchMethodExceptions. || || || There must be a mismatch.? || || Does fop-0.20.5rc2 and batik-1.1.1 play nice together ? || || || || - || To unsubscribe, e-mail: [EMAIL PROTECTED] || For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: messages in fop
Title: Nachricht | Hi,| | you can use the following to make your transformation verbose:| xsl:message terminate="no"My Messagexsl:value-of| select="foo"/[eom]/xsl:message | The messages appear at the console output of fop.yes but unfortunately the message appears during the transformation between xml to fo and not fo to pdf..
tables
hello, does anyone know if it's possible tu cut a world in a table-cell? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Réf. : tables
:-)) but i've made a mistake my question was how to cut a 'word'... when he's to big for the column size... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 2:49 PM Subject: Réf. : tables Wanna put a cell between the North and the South of the world ? :P Just do like Georges, he is good at this. Cheers, Simon Myriam Delperier [EMAIL PROTECTED] 18/03/2003 12:46 Veuillez répondre à fop-user Pour : [EMAIL PROTECTED] cc : Objet : tables hello, does anyone know if it's possible tu cut a world in a table-cell? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOC - page numbers not justified
Have a look at http://xml.apache.org/fop/faq.html : Page numbers are not properly right aligned. This happens for fo:page-number-citation elements if the citation occurs before FOP formatted the requested page, usually in TOC or index pages. It is caused by the problem that FOP has to guess how much space the yet unknown page number will occupy, and usually the guesses are somewhat off. You can try to use a non-proportional font like Courier to remedy this. However, this is likely to look ugly, and wont fix the problem completely. - Original Message - From: Afshartous, Nick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 3:39 PM Subject: TOC - page numbers not justified Hi, I'm trying to generate a table of contents using a fragment similar to the example in Ch 10 of Pawson's book xsl:for-each select=html:html/html:body/html:h1 fo:block text-align-last=justify xsl:value-of select=./ fo:inline fo:leader leader-pattern=dots/ fo:page-number-citation ref-id={.}/ /fo:inline /fo:block /xsl:for-each The problem I'm seeing though is that the page numbers in the contents are sample.pdf not right justified (see attached). Thanks for any suggestions on how to resolve this. -- Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IndexOutOfBoundException
Hi, I've gt this error transforming .fo to.pdf [fo2pdf] [INFO] building formatting object tree [fo2pdf] [INFO] setting up fonts [fo2pdf] [INFO] [1] [fo2pdf] [INFO] [2] [fo2pdf] [INFO] [3] [fo2pdf] [INFO] [4 (blank)] [fo2pdf] [INFO] [1] [fo2pdf] [INFO] [2] [fo2pdf] [INFO] [3] [fo2pdf] [INFO] [4] [fo2pdf] [INFO] [5] [fo2pdf] [INFO] [6] [fo2pdf] [INFO] [7] [fo2pdf] [INFO] [8] [fo2pdf] [INFO] [9] [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] [10] [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] area contents overflows area [fo2pdf] [INFO] [11] [fo2pdf] [ERROR] Couldn't render file: Index: 14, Size: 7 BUILD FAILED file:U:/cybertheses-up/oo2xml/outils/bin/oo-vers-tei.xml:565: java.lang.IndexOutOfBoundsException: Index: 14, Size: 7 I'd like to know if there's a way to know which table(I think it's the pb) is too big, what does index:14 and size:7 mean? attachment: bubenheim_m-TH.4.zip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't get it work (was: Insert SVG image)
yes i tried this, but the same result. Maybe there is something wrong with my SVG file? I have attached the latest version of the SVG file and the FO-file (The fo:instream-foreign-object is on line 115). Maybe do you have the same pb with other images? Because I can't open your svg file well with Internet Explorer... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: symbol font SVG not display
i think you should put -d (like debug) option in fop.bat it would be something like this java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop -d %1 %2 %3 %4 %5 %6 %7 %8 - Original Message - From: H. krishna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 9:18 AM Subject: Re: symbol font SVG not display Dear J.Pietschmann, Thank for your replay mail. Trz Symbol, with an upper case S. Now, My symbol font problem is solved. 1. Check whether the SVG can be displayed with Batik. Yes, My SVG file is displayed on batik. 2. Run the FOP CLI with the -d switch, if you get a stack trace, post it. I don't understood, what the meaning of CLI. Please replay me. Regards, H. Balakrishnan __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't get it work (was: Insert SVG image)
I don't know if it's the only problem but I think you have to put the attributes width height in your svg element here is an exemple which works for me fo:block fo:instream-foreign-object svg id=svg-root width=32 height=50 xmlns:xlink=http://www.w3.org/1999/xlink; xmlns=http://www.w3.org/2000/svg; title id=test-titleImage svg test/title desc id=test-descTest/desc g id=test-body-content image id=image1JPEG x=0 y=0 width=32 height=50 xlink:href=../../production/lyon2/2000/dieng_sa/xml/ressources/gif.gif/ /g /svg /fo:instream-foreign-object /fo:block - Original Message - From: Timo Haberkern [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 10:00 AM Subject: Can't get it work (was: Insert SVG image) Hello again, i can't sort out my problem with inserting external SVG images. Is there somebody who can help me? It is very urgent! I still have the same problem. If i embedd a SVG image with fo:external-graphic it is included correctly, but wrong scaled. If i use: fo:instream-foreign-object svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; xml:space=preserve image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg width=113 height=23/ /svg /fo:instream-foreign-object i dont see my image at all. I am using the current RC2. Somebody has an idea whats going wrong? I have attached my SVG image. Best regards Timo Timo Haberkern wrote: Hello all, i have a problem inserting a SVG image. First i tried it with: fo:external-graphic src=file.svg width=10cm but it seems there is a bug. The SVG image is shown correctly but isn't scaled as i wished (to be exactly- The image allways has the full width of the region-body!). After a look in the examples i saw, that there is used the following: fo:instream-foreign-object svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; http://www.w3.org/2000/svg width=20mm height=20mm xml:space=preserve image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0 y=0 width=10mm height=10mm/ /svg /fo:instream-foreign-object I tried to adapt this. But now there is the standard-Error-Image of batik shown. If i insert the boxes.svg from the samples instead of file.svg everything was fine. Is there a problem with my file (but it was shown correctly with external-graphic and batiks squiggle)?? Thanks for any help... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't get it work (was: Insert SVG image)
maybe there is a porblem between the size of your image and viewBox=0 0 20 20 - Original Message - From: Timo Haberkern [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 10:20 AM Subject: Re: Can't get it work (was: Insert SVG image) That doesn't work too. Now i get the batik image for broken-image (see attached pdf page 2). I use now: fo:instream-foreign-object svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; width=113mm height=23mm image preserveAspectRatio=xMidYMid xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg width=113 height=23/ /svg /fo:instream-foreign-object Timo Myriam Delperier wrote: I don't know if it's the only problem but I think you have to put the attributes width height in your svg element here is an exemple which works for me fo:block fo:instream-foreign-object svg id=svg-root width=32 height=50 xmlns:xlink=http://www.w3.org/1999/xlink; xmlns=http://www.w3.org/2000/svg; title id=test-titleImage svg test/title desc id=test-descTest/desc g id=test-body-content image id=image1JPEG x=0 y=0 width=32 height=50 xlink:href=../../production/lyon2/2000/dieng_sa/xml/ressources/gif.gif/ /g /svg /fo:instream-foreign-object /fo:block - Original Message - From: Timo Haberkern [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 10:00 AM Subject: Can't get it work (was: Insert SVG image) Hello again, i can't sort out my problem with inserting external SVG images. Is there somebody who can help me? It is very urgent! I still have the same problem. If i embedd a SVG image with fo:external-graphic it is included correctly, but wrong scaled. If i use: fo:instream-foreign-object svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; xml:space=preserve image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg width=113 height=23/ /svg /fo:instream-foreign-object i dont see my image at all. I am using the current RC2. Somebody has an idea whats going wrong? I have attached my SVG image. Best regards Timo Timo Haberkern wrote: Hello all, i have a problem inserting a SVG image. First i tried it with: fo:external-graphic src=file.svg width=10cm but it seems there is a bug. The SVG image is shown correctly but isn't scaled as i wished (to be exactly- The image allways has the full width of the region-body!). After a look in the examples i saw, that there is used the following: fo:instream-foreign-object svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; http://www.w3.org/2000/svg width=20mm height=20mm xml:space=preserve image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0 y=0 width=10mm height=10mm/ /svg /fo:instream-foreign-object I tried to adapt this. But now there is the standard-Error-Image of batik shown. If i insert the boxes.svg from the samples instead of file.svg everything was fine. Is there a problem with my file (but it was shown correctly with external-graphic and batiks squiggle)?? Thanks for any help... --- - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . -- Grüsse Timo Haberkern EMEDIA OFFICE GmbH Wingertstr. 4 74850 Schefflenz-Kl. http://www.emedia-office.com [EMAIL PROTECTED] Tel.: 06293/921121 Fax: 06293/921129 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to retrieve dimensions dynamically
Hi, you could have a look at this it would probably give you some ideas http://www.oucs.ox.ac.uk/stylesheets/tei-table.xsl - Original Message - From: V.M.Milli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:54 PM Subject: How to retrieve dimensions dynamically Hi, I have to display several tables on a page. I would like to be able to retrieve page (or table cell) widths, in order to achieve dynamically assign column sizes. All suggestions are welcome. Cheers M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to retrieve dimensions dynamically
sorry it's not te good one http://www.tei-c.org/Stylesheets/teixsl.html#body.1_div.6 here you have many xsl, it's for tei documents but there's somewhere what you need - Original Message - From: V.M.Milli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:54 PM Subject: How to retrieve dimensions dynamically Hi, I have to display several tables on a page. I would like to be able to retrieve page (or table cell) widths, in order to achieve dynamically assign column sizes. All suggestions are welcome. Cheers M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to retrieve dimensions dynamically
it's in the zip at the end of the document : makecolspec.xsl - Original Message - From: V.M.Milli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:54 PM Subject: How to retrieve dimensions dynamically Hi, I have to display several tables on a page. I would like to be able to retrieve page (or table cell) widths, in order to achieve dynamically assign column sizes. All suggestions are welcome. Cheers M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: schema
thanks for your answer, so I think if i want to know if an attribute is supported for an element with my version of fop I've to have a look at the java code :-) - Original Message - From: Oleg Tkachenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 6:46 PM Subject: Re: schema Myriam Delperier wrote: Which schema should I use, to be sure that my fo files are well formatted for my version of fop? Unfortunately xsl-fo syntax cannot be fully expressed in W3C XML Schema. There is a plan to create schematron schema or XSL validator (as in XEP), but it's not implemented yet. -- Oleg Tkachenko Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-number
you right it was just because I had a break-before=odd-page - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 12:40 AM Subject: Re: page-number Myriam Delperier wrote: i've made an error when i wrote the message i've put it on the third. but it doesn't work. If i don't do anything my page has the number 3 and if I put the attribute the page still has the number 3 but i've got 2 white pages before : page1 anf page 2 That's odd. Can you post the FO demonstrating the effect, preferably trimmed down to a handy file? J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
footnote-separator
hello i'm sure this questions has already been asked but does anyone know if it is possible to put a separator before the first footnote of each page.? I've heard about something named xsl-footnote-separator but i don't know if it works and how it works ps: i'm using fop 0.20.5rc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: footnote-separator
Actually footnote-body content is defined as (%block;)+, where %block; is block block-container table-and-caption table list-block Are you valid with it? i've got this fo:footnote fo:inline font-size=7pt vertical-align=super196/fo:inline fo:footnote-body fo:block space-after=3pt space-before=10pt start-indent=0cm fo:inline font-size=7pt vertical-align=super196/fo:inline fo:inline font-family=Helvetica font-size=8pt text-align=justify blah blah blah /fo:inline /fo:block /fo:footnote-body /fo:footnote and i've got a problem if I put something (the block which contains the empty table) just before the block of the footnote body - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-number
i've made an error when i wrote the message i've put it on the third. but it doesn't work. If i don't do anything my page has the number 3 and if I put the attribute the page still has the number 3 but i've got 2 white pages before : page1 anf page 2 - Original Message - From: MARTIN Franck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:26 PM Subject: Re: page-number It's not surprising. You should put initial-page-number=1 on the third page-sequence! - Original Message - From: Myriam Delperier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 3:18 PM Subject: page-number I've got an fo document which contains 3 page-sequence, and I'd like the first page of the third-page-sequence to start with a page number= 1 even if it's not the first page of my whole document(because of my 2 others page-sequences). I've tryed to put on my first page-sequence the attribute initial-page-number=1 but it's ot working as i want does anybody have an idea of how I could do this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: page-number
thanks for ou help, I've found by problem ; i had a break-before=odd-page on my fisrt block of the page-sequence :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]