Re: Font Creation Problems

2007-04-16 Thread Chris Bowditch
Ben Spencer wrote: A little problem creating a font.xml file: Notes: -) the following actually was run as root, so, the "permission denied" errors are suspicious. -) I have tried it from a couple of different Linux system (different dist versions of RedHat), and had the same results. java -c

Re: Problem with custom fonts

2007-04-19 Thread Chris Bowditch
Daniel Noll wrote: Thomas Zastrow wrote: I agree. I didn't thought of bundling FOP directly with the fonts. Instead, they could be put on another webpage and the user can download them optional. It was just an idea, as it was some labour to build the metrics for my preferred fonts ;-) I tho

Re: swing to JSP

2007-04-19 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Hi all Is it FOP usefull for converting SWING GUI into HTML? No. FOP converts XSL-FO (which is XML based Formatting tags) into a Print Stream such as PDF or Postscript. FOP does have an AWT Renderer for displaying the results of the Print Stream but this could not be

Re: Problem inserting a BMP image.

2007-04-24 Thread Chris Bowditch
Trevor Keast wrote: Hi, I am trying to insert a bitmap image into my pdf document using fo:external-graphic in my style sheet. This works fine with most bmp's I try to insert but when I try and insert a bmp representation of a ChartFX chart I get the following error. I also use ChartFX w

Re: Add Image Behind text to AWT preview

2007-04-24 Thread Chris Bowditch
Harshini Madurapperuma wrote: Hi all; Is there a way to add a Image behind text (a kind of background image) to AWT preview? Have you tried specifying background-image attribute on fo:region-body element? Chris - To

Re: Java -Xmx not working

2007-05-10 Thread Chris Bowditch
villejck wrote: I am attempting to process a large XML file that is greater than 2.5megs, but I am getting a "Java Heap Space" error. I tried increasing my Java memory allocation with the following command: Java -Xms128m -Xmx256m I tried different memory settings, but I notice from the task man

Re: fo:retrieve-marker could not show with other text in one line

2007-05-18 Thread Chris Bowditch
pangqiu wrote: I try to input following block in head to show chapter with page number - the result I wanted should be show in one line like this : 2-1, 2-2 but the real result is show two line like this 2 -1 Looks like there is a CR between the and tags. I suggest you delete it.

Re: FOP 0.93 and PCL renderer

2007-05-21 Thread Chris Bowditch
Oz wrote: Hi, I'm trying to get a pcl file out of a xsl and a xml files. In the xsl I have specify a costumised font (MyriadPro). The error message you show below is looking for LucidaSansUnicode not MyriadPro. The config files are correct, I obtain a pdf without problems, but the pcl can

Re: basic-link and external-graphic

2007-05-23 Thread Chris Bowditch
Kamal Bhatt wrote: Hi I am have the following: padding-top="{$banner_height}mm"> Where $logo is set to a gif file and $banner_link is "http://www.google.com";. The link appears only at the bottom of the image. Is there a way I make the whole image a link?

Re: Is there possibility to embed file as attachment into resulting PDF through FOP?

2007-06-13 Thread Chris Bowditch
Andrejus Chaliapinas wrote: Hi, Just wanted to ask if you have any support for PDF attachments to be handled by FOP and if not - if it's planned at all in near future. There is a plan in the pipeline to support PDF as an image type in fo:external-graphic. Only the first page in the PDF bein

Re: flow does not map to the region-body error

2007-06-15 Thread Chris Bowditch
Cory Aadland wrote: OK, but I already have an 'xsl-region-body'. We very commonly have flows for 'xsl-region-before', 'xsl-region-after' & 'xsl-region-body'. So does FOP currently only support one flow? Yes FOP only supports 1 flow. But most FO documents use static content for the side region

Re: Korean words breaking in the middle

2007-06-15 Thread Chris Bowditch
Pascal Sancho wrote: Hi, Just build FOP, using "ant package" This will skip Junit tests and builds. True but if you are changing the code then it is wise to let the tests run so you can see if your change broke anything. Of course, the junit tests don't give 100% coverage of all XSL_FO fun

Re: with omitted items result in wrong numbering

2007-06-18 Thread Chris Bowditch
Fireball29 wrote: Hi! If I omit one or more items from a normal with , the numbering isn't affected. For example, if I omit item 2, the result is 1,3,4,5,6, ... How am I able to avoid this? XSL-FO isn't reponsible for generating the numbers, thats the responsibility of the XSLT process tha

Re: conditional-page-master-reference

2007-07-03 Thread Chris Bowditch
Johan Johansson wrote: I want the following conditions: first page (odd,first) = "framsida-first" second page (even,rest ??) = "baksida" rest odd pages (odd,rest) = "framsida-helkropp" rest even pages (even,rest) = "baksida-helkropp" But the second page and rest of the even pages are th

Re: why 'blank' page is not 'last' page with force-page-count="odd"

2007-07-06 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Extract from W3C XSL-FO recommendation http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#force-page-count ... This page becomes the "last" page of that sequence. ... Why in my example, page number 4 that precedes the 'blank' is a 'last' too ? I am not sure if this

Re: why 'blank' page is not 'last' page with force-page-count="odd"

2007-07-10 Thread Chris Bowditch
Adrian Cumiskey wrote: Hi Guillaume, Yes I also verified this problem. This is a different bug to the other force-page-count problem which was fixed (http://issues.apache.org/bugzilla/show_bug.cgi?id=42779). Please open a new bug entry. Thanks Adrian. I think we can summarise this bug

Re: why 'blank' page is not 'last' page with force-page-count="odd"

2007-07-11 Thread Chris Bowditch
Andreas L Delmelle wrote: On Jul 10, 2007, at 11:24, Adrian Cumiskey wrote: Hi Adrian Yes I also verified this problem. This is a different bug to the other force-page-count problem which was fixed (http:// issues.apache.org/bugzilla/show_bug.cgi?id=42779). Please open a new bug entry.

Re: Print looks ugly

2007-07-12 Thread Chris Bowditch
Kai Hackemesser wrote: Hi, there Further investigation: Problem appears under Java 1.4, 1.5 but not under 1.6. Thats because Print uses AWT Renderer which varies greatly depending on JDK provider and version and Operating System. The best way to generate Printed output is to render as Post

Re: Package messaging is missing from fop 0.93

2007-07-13 Thread Chris Bowditch
juanita wrote: However firstly in the fop.jar of version 0.93 there is no org.apache.commons.logging.LogFactory class. That class isn't in FOP.jar but it is in commons-logging-1.0.4.jar which is distributed with FOP in the lib sub directory. and secondly when you say that I should know the

Re: Package messaging is missing from fop 0.93

2007-07-16 Thread Chris Bowditch
juanita wrote: I am using oc4j as an application server and the logger used is java.util.logging.Logger When I am trying to use org.apache.commons.logging.LogFactory I get: an 'org.apache.commons.logging does not exist' error. That means the file commons-logging-1.0.4.jar is not in the class

Re: Copy-paste works with CID

2007-07-20 Thread Chris Bowditch
Rigas Parathyras wrote: Hello, We migrated to FOP 0.93 and used Liberation Serif fonts (from Redhat) CID embedded. It is a pleasant surprise that the search / copy-paste functionality works in Acrobat reader? Are we simply lucky or has anything changed? Well *lots* has changed since 0.20.5.

Re: specifying column width for tables

2007-07-27 Thread Chris Bowditch
nancy_b wrote: Yeap, exactly what I suggested: the problem is with list numbering starting after 10 (including 10). No space between number and list body. Please advise! You need to adjust either provisional-distance-between-starts and/or provisional-label-separation to give your labels greate

Re: word too large for a table cell

2007-08-03 Thread Chris Bowditch
Nicolas Baumann wrote: Abel Braaksma xs4all.nl> writes: Look for the thread of around 19/7 this month with the title "Force word wrap" that discusses the same issue. In a nutshell: either use Soft Hyphens (SHY) or use Zero Width Space (ZWS) depending on whether you want to see a hyphen whe

Re: Watermark is not coming on all pages

2007-08-07 Thread Chris Bowditch
Debasish Jana wrote: Hi: Need some help related to watermark to appear on all pages, currently, I'm able to make it appear only on the first page. The relevant xsl:fo tags follow. I have used a for forced page break, but after the forced page break, the watermark does not appear on page

Re: numbering programlisting/screen lines

2007-08-20 Thread Chris Bowditch
nancy_b wrote: Hi dear Andreas! by the 'function' I mean the LineNumberring function. There is no such function in XSL-FO. The terms you are referring to, sound like docbook terminology. This list is about FOP and XSL-FO. For help with docbook I suggest that you subscribe to the docbook apps

Re: numbering programlisting/screen lines

2007-08-20 Thread Chris Bowditch
nancy_b wrote: Hi dear Chris! So you mean that this problem refers to some xsltproc issue... yes thats what it sounds like from what you've said! Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: does vertical-aling work in the version 0.93?

2007-08-21 Thread Chris Bowditch
Sidi Mohamed Idrissi Yaghir wrote: hi mailing list, in the fop compliance i found that the property vertical-align in the version 0.93 of fop ist partial supported, and the percentages are not supported yet. But i have used it in a table-cell and it didn´t work: vertical-align="bottom">

Re: Positioning a Block In the Lower Corner of The 1st Column

2007-08-24 Thread Chris Bowditch
Jeff Sese wrote: Thanks, I have tried it, but the text from the other block overlaps the block-container. How can I avoid this? You Can't. The only way to achieve what you need using XSL-FO 1.0 is side-floats. But as you already discovered FOP doesn't support side-floats :( Chris

Re: AW: AW: [ANN] Apache FOP 0.94 Released

2007-08-28 Thread Chris Bowditch
Matthias Müller wrote: ok, the problem is not the fop serializer but the fop config file. somehow it doesn't accept the context protocol for defining the base or the font directory. even ./fonts produces an error: java.net.MalformedURLException: no protocol: ./fonts/ base and fon

Re: fop 0.94: Error creating ccitt t.6 compressed tiff output

2007-08-29 Thread Chris Bowditch
Hille, Christian wrote: Hi, I'm using fop 0.94 as the last stable release of fop. I have installed the java advanced imaging io tools im my classpath. Compression is set to CCITT T.6 for tiff output. Hmm... I don't think this matters but noticed that you say that you specify CCITT T.6 compre

Re: Do you have any .fo sample in 0.94 demonstrating that new collapsing-border model in tables?

2007-08-29 Thread Chris Bowditch
Andrejus Chaliapinas wrote: Just curious if I can find any .fo file in 0.94 branch, which has demonstration of that new implemented feature. There are half a dozen files in the test suite. Look in fop/test/layoutengine/standard-testcases for all files starting with table_border-collapse_coll

Re: Image problem in pdf

2007-09-03 Thread Chris Bowditch
Tomas Studva wrote: Hi, when I include gif/png image into fo and render it by FOP to PDF, it looks not OK. Image is rendered with gray line at top border and bottom border, but line aren't in image. What version of FOP are you using? Chris

Re: [?? Probable Spam] Re: Full-page table, %-height rows, and block-progression-dimension

2007-09-21 Thread Chris Bowditch
Vincent Hennebert wrote: Hi Vincent, Just a few notes about heights in tables as I worked on this a few months ago. The XSL-FO Recommendation refers to CSS2 [1] for a description of how heights in tables should be handled. And CSS2 explicitely does not specify [2] how heights should be hand

Re: [docbook-apps] trouble using FOP to process FO file generated by Xalan or Saxon

2007-09-25 Thread Chris Bowditch
ttowle wrote: Yes thx that seemed to change things with FOP .94 but now have this error message: -- enerate-xslfo-user-manual: [echo] Generating XSLFO user manual generate-pdf-user-manual: [echo] Generating PDF user manual [java] There is no main me

Re: Displaying image on pdf

2007-09-26 Thread Chris Bowditch
manojkmi wrote: Problem is that on UNIX, PDF is getting generated but image in not coming up. I have given the absolute path (src="/u01/bro_cds/images/phone.jpg") for the image even iam not getting that. Could some one shed some light onto this and let me know how to resolve this issue?

Re: Chinese characters in Bold

2007-09-26 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: In my project, I am using ArialUnicodeMS with FOP for displaying Chinese characters in PDF. The requirement is to display the characters in bold and italic which I am not able to. If anybody has generated the Chinese characters in bold and italic using this font, I

Re: BUG in FOP 0.94 PS Renderer and PCL Renderer ? or wrong XSL ?

2007-10-01 Thread Chris Bowditch
Jeremias Maerki wrote: The problem here is testing. I don't have a duplex-capable printer so I can test the behaviour. You obviously do. Can you please try to fix the problem in code yourself and post a patch? This is a known problem with the PS Renderer for which is there is already a patch t

Re: nullpointer exception - FO to Area tree transform(another exception)

2007-10-01 Thread Chris Bowditch
Kevin wrote: Hi Kevin, org.apache.xalan.transformer.TransformerIdentityImpl.startElement (TransformerIdentityImpl.java(Compiled Code)) at org.dom4j.io.aelfred.SAXDriver.startElement(SAXDriver.java(Compiled Code)) This stack trace indicates that you are using the aelfred XML parser,

Re: function could not be found: empty

2007-10-01 Thread Chris Bowditch
Tobias Wehrum wrote: "Die Funktion konnte nicht gefunden werden: empty" can be translated to "this function could not be found: empty" The xslt-block with "empty" in it is thise one: mode="second-step">

Re: Outofmemory (with heapdump contents) -

2007-10-04 Thread Chris Bowditch
Kevin wrote: Hi, I did some additional testing to isolate the OOM issue and found that its happening in the AREA TREE -> PDF transform step. Maybe you mentioned this in another thread, but what version of FOP are you using? Is it a self build from trunk? I've no idea why this should happen

Re: Problem with postscript extension

2007-10-08 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Thanks Adrian. I am using fop 0.93. The deal is to manage mass-editions and I will need PS extensions to automatically manage printers' tray selection (Xerox like). Does-it mean that this extension will be included in the next FOP standard versions? Hi, yes these ex

Re: Problem with postscript extension

2007-10-09 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Thanks for all for help. Building FOP packages and using the new built version was fine simple. But I havent succeeded into generating a valid PS file. Either tag indicated by Adrian Or tag do not seem to inject the right PS instructions (there is no << /MediaPosition

Re: Font autodetect

2007-10-09 Thread Chris Bowditch
Andrejus Chaliapinas wrote: Hi Adrian, There is already a bug reported and patches provided (http://issues.apache.org/bugzilla/show_bug.cgi?id=42861) to fix this but unfortunately I don't believe that they made it into the 0.94 release. I don't see it yet in fop_trunk as well. Thats bec

Re: Concerning FOP postscript extension

2007-10-10 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Hi Adrian, Hi Jeremias, I tried what suggested Adrian and got following error: [ERROR] FOTreeBuilder - javax.xml.transform.TransformerException: java.lang.IllegalStateException: endElement() called for fo:root where there is no current element. Are you using FOP built

Re: Postscript output file is shifted compared to PDF output

2007-10-11 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Hi FOP-Experts, I have a problem with my PS generated files: they seem to be "shifted" to the up-left side compared to PDF output. In fact, I have optimized my edition using PDF output. But when I finally tested the PS output, all my fields were outside the correspondin

Re: BUG in FOP 0.94 PS Renderer and PCL Renderer ? or wrong XSL ?

2007-10-18 Thread Chris Bowditch
Thomas Margreiter wrote: thanks for your help ! we checked-out the trunk and made a test with PS-Printers but nothing was changed, xerox-printers print double-sided documents and HP-Printers print single-sided Documents. may be the bug 42144 is not fixed correctly Can you clarify exactly w

Re: BUG in FOP 0.94 PS Renderer and PCL Renderer ? or wrong XSL ?

2007-10-19 Thread Chris Bowditch
Thomas Margreiter wrote: Jeremias Maerki jeremias-maerki.ch> writes: The problem here is testing. I don't have a duplex-capable printer so I can test the behaviour. You obviously do. Can you please try to fix the problem in code yourself and post a patch? Jeremias Maerki The same problem

Re: OutOfMemory for one page-sequence

2007-10-24 Thread Chris Bowditch
fma-001 wrote: Hi all! I have a memory problem with FOP 0.93. I tested my stylesheet on a WinXP computer with -Xmx1270m. The pdf-output is huge (could be up to 8000). I figured out that FOP can generate about 900 pages with this kind of stylesheet. I use only one page-sequence, because it is a

Re: inline at the bottom of a page

2007-10-24 Thread Chris Bowditch
jreeman wrote: Yes of course, I can tell you more. My fop version is old : 0.20.5 : the problem doesn't happen with the version fop-0.94. I'm sorry to tell you that 0.20.5 is no longer supported. It contained many nasty problems like what you've run into. The only way to solve a lot of the

Re: OutOfMemory for one page-sequence

2007-10-24 Thread Chris Bowditch
fma-001 wrote: Hi Chris, thanks for your hint - it's good to know. But my problem is: I do not know when to break a page (since the document is a huge list with no manual break). How do you generate your FO? Using XSLT? I'm not suggesting that breaking large page-sequences into smaller ones

Re: A bug in the method choosing the master-reference page?

2007-10-25 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Thanks Pascal, But the problem happens because sometimes the first page can have odd page-number. In your example, if I add another page before Model1 page (the "first"), the Model2 and Model3 pages will alternate in the inverse order! Here is the test I done: I unde

Re: problem in HTML

2007-10-25 Thread Chris Bowditch
nancy_b wrote: Hi guys, I have a weird problem with the content of items when I convert from Docbook XML to HTML with FOP 0.93. It seems that FOP cannot match formalpara to any corresponding element in HTML, so that its text appears with no formatting at all (e.x., no bold formalpara titles).

Re: Spanning page multi-columns

2007-10-29 Thread Chris Bowditch
Barry Whiting wrote: Hi I have a project that needs a column count of 4 in the simple-page-master -> region-body, but in the page I want to be able to span just 2 of these columns and then continue to process the page with 4 columns. This requirement cannot be fulfilled using the XSL-F

Re: Wanted: Examples of TOC tabs?

2007-10-29 Thread Chris Bowditch
siegfried wrote: There used to be some examples in the fop examples directory of how to generate index tabs. I cannot find them now. I believe PDF has this feature. How can I use FOP to generate index tabs as a fancy table of contents? Do you mean PDF Bookmarks? FOP 0.20.5 used an extension

Re: Help for TIFF insertion in PDF/A-1b file (FOP-0.94)

2007-10-29 Thread Chris Bowditch
Arsène Kafando wrote: Hello, I tried the change in ImageFactory.java but I have this exception : Exception in thread "main" java.lang.OutOfMemoryError: Java heap space At this link http://xmlgraphics.apache.org/fop/0.94/graphics.html#tiff it is write that images must respect all the follo

Re: Bullet points in japanese

2007-10-30 Thread Chris Bowditch
Akagi K wrote: Bullet points in Japanese (IPA font) do not show, when using itemizedlist/listitem. Could anyone please show me where to set this? I can see big bullet points in list.xml, but... could it be font dependent? Yes the glyphs available depend on the font-family selected in your FO.

Re: IndexOutOfBoundsException of fop trunk 2007-10-31 07:44:39 +0800(r590514)

2007-10-31 Thread Chris Bowditch
Dongsheng Song wrote: If no font conf file userconfig.xml, it's ok, but the pdf file content is bad for my chinese doc. With a userconfig.xml, it give me the following errors(fop trunk): Hi, I can see from the stack trace that you are using FOP v0.9x. Can you tell us exactly which version yo

Re: OutOfMemory for one page-sequence

2007-11-02 Thread Chris Bowditch
fma-001 wrote: Hi, I tried to solve this problem with the maximum-repeats attribute, but FOP 0.93 does just write some warnings. I configured the page-sequence as followed: I thought maximum-repeats does take a new page-sequence after 250 pages. But apparently it's not li

Re: Out of memory problem

2007-11-05 Thread Chris Bowditch
Michael Wechner wrote: Hi We are trying to generate a pricelist of about 200,000 products and are running out of memory. Well, we could increase the memory of the virtual machine, but I thought there might be more elegant solutions. How do other people handle the generation of very large

Re: Fop null pointer exception and tiff image

2007-11-07 Thread Chris Bowditch
Jeremias Maerki wrote: Hi Jeremias, Can you post the TIFF image, please? I think your TIFF image doesn't contain resolution info and that's why the error happens. A NullPointerException is usually an uninitialized object reference, i.e. a bug or just an unexpected situation (like here). If I ge

Re: setting a pdf as the background of another pdf

2007-11-08 Thread Chris Bowditch
Jeremias Maerki wrote: Hi Jeremias, This is certainly the right place to ask this question. It's not about XSL-FO in general, but about FOP. I suggest you look at the following Wiki page and go on from there: http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf Interesting. I thought the

Re: PDF Report generation issue using FOP..

2007-11-09 Thread Chris Bowditch
Roopesh Chandran wrote: Hi, . FOP Implementation-Version: 0.90alpha1 0.90alpha1 is quite old now and there have been several releases that fix many bugs and since then. An upgrade is recommended although it won't fix the problem you are experiencing.

Re: Character encoding problem

2007-11-12 Thread Chris Bowditch
Michael Niemann wrote: Hello, I've read quite a few older postings about encodig problems and mine might not be connected to FOP directly. I pass two streams to FOP. The xslt stream includes the output tag with its encoding set to UTF-8 but still the resulting pdf doesn't show the german Umlau

Re: Character encoding problem

2007-11-12 Thread Chris Bowditch
Michael Niemann wrote: I'm actually not using any specific fonts in the current phase. Instead of the unicodes starting with '#' the ü is displayed like this: ü If you don't specify a Font Family then FOP uses "Times" by default. Indeed the symptoms you describe seem to be more consistent wi

Re: How to keep pagenumber over several page-sequences

2007-11-14 Thread Chris Bowditch
Michael Niemann wrote: hello, I've split up my document into several page-sequences for better performance. initial-page-number="1" force-page-count="no-force"> border-bottom="solid black 1px" id="{generate

Re: How to omitt a sequence

2007-11-15 Thread Chris Bowditch
MichaelNie wrote: If at least on XY element exists the toc is generated properly but that's not the case a blank page is put between the index page and the content. I don't know what causes this blank page. Th

Re: font problem ugrading from 0.93 to 0.94

2007-11-15 Thread Chris Bowditch
Alexander Lohse wrote: Hi, I am having trouble upgrading from 0.93 to 0.94. Is there any significant change regarding font handling in 0.94? Yes, Font autodetection was added which saw some major changes in the way Font Configuration works. There was also a change around the handling or UR

Re: Problem generating PDF with FOP 0.94

2007-11-26 Thread Chris Bowditch
Andries Burger wrote: a .fo file generated for the layout I want, except that I end up with a double element in the FO file. http://www.w3.org/1999/XSL/Format";> Does your XML input contain 2 printspecification elements? I would guess that is the most likely reason you end up

Re: fop remains active

2007-11-28 Thread Chris Bowditch
Roel wrote: When i use fop in a servlet to render an xml doc to pdf and undeploy the servlet afterwards, parts of the servlet are not removed preventing me from redeploying it. The files that remain in the directory are the jar of the batik library and fop.jar. Do i need to close something to un

Re: Question regarding FOP usage and PCL duplex

2007-11-29 Thread Chris Bowditch
David Hurcomb wrote: I have started to evaluate FOP for document production purposes. At first look I am very impressed and hope to use it to produce PCL for print runs of (less than 10) thousand small simple documents(2-3 pages). I also intend to store the FO make up of the document of the

Re: FOP creates only blank pages

2007-11-30 Thread Chris Bowditch
Michael Siepmann wrote: Hi, we have a content management system, which can create FO and with the help of FOP PDF. The system uses an Apache Tomcat 5 and we have used FOP 0.20. This combination works. But now, I've switched to FOP 0.94 and changed the code which creates the PDF. At this mome

Re: Blank half-cell on page1; text showing on page 2

2007-12-31 Thread Chris Bowditch
Akagi Kobayashi wrote: Hi, I'm afraid I need further details on how to run the command: fop -xml doc.xml -xsl table.xsl -foout doc.fo where FOP is installed - (By FOP, you mean the docbook xsl?) ok. For example, if I were to place a sample document called sample.xml in the same directory

Re: page-position="last" doesn't work for 1 page document

2008-01-02 Thread Chris Bowditch
irene23 wrote: Hello, Hi, I see you have posted this question on fop-dev@ and [EMAIL PROTECTED] Please don't cross post in future. The developers look on all lists, and fop-users@ is the correct mailing list for questions. I have two page-masters defined, with one having a different foo

Re: Keep-with-next and keep-with-previous properties do not work.

2008-01-02 Thread Chris Bowditch
Harshini Madurapperuma wrote: Hi All; Keep-with-next and keep-with-previous properties does not give the desired outputs all the time. Is this a limitation in FOP? If so is there any other way to implement this functionality? What version of FOP are you using? AFAIK keep-with-next and keep-w

Re: Keep-with-next and keep-with-previous properties do not work.

2008-01-02 Thread Chris Bowditch
Harshini Madurapperuma wrote: Hi; I'm using fop 0.20.5 version. Even though we set the attribute to "keep with next" it doesn't always keep with the next element. One of the main reasons for the redesign effort was the design of 0.20.x prevented implementation of keep-* properties. Keep-* p

Re: Need image to render at higher DPI

2008-01-04 Thread Chris Bowditch
Glenn Brand wrote: I have a graphic that is rendering at a low resolution. See below in the last several lines. How do I get the image to render at a higher resolution? When including an image via fo:external-graphic tag the resolution can be controlled by making the content-width/height smal

Re: Rendering time configuration settings using fo:declarations

2008-01-15 Thread Chris Bowditch
Adrian Cumiskey wrote: Something like this shouldn't be too difficult to implement (any volunteers?) and I think it might provide quite a bit of value. It would be important to remember that the lifetime of these settings would only remain within the rendering run of the particular docume

Re: language specification for PDF document

2008-01-15 Thread Chris Bowditch
Li, Hao wrote: Hi All, Our goal is: Create a PDF document via FOP with the language set to English (en) at the document level. Is there a way in Apache FOP to achieve this goal? Does the common hyphenation property "language" applicable? Yes you can specify language property on fo:root eleme

Re: Apache errors

2008-02-11 Thread Chris Bowditch
Cristian Ferrero wrote: Jeremias i did what you wrote, also i tried inserting a block with span="all", but the problem is that the table don't show all the information, it doesn't continue in other page, if i dont write position="absolute" it works good (the table continues in another page),

Re: Continue page break

2008-02-13 Thread Chris Bowditch
cferrero wrote: Hi, hello i want to know if is posible this: i have a table wich extends across two pages (depends data) i want to put after the page footer "continue in next page" if table extends to second page, and if not , replace "continue" with "total" You can use fo:marker if the

Re: Continue page break

2008-02-14 Thread Chris Bowditch
Cristian Ferrero wrote: thanks Chris i will take a look ,,, and something similar can i conditionate what i put inside an xsl-region-after to be printed only in last page (if i have more than one) ? Yes - you can create a separate fo:simple-page-master for the last page only and give th

Re: Continue page break

2008-02-14 Thread Chris Bowditch
Cristian Ferrero wrote: Chris, it worked, the problem is that sometimes will have more than one page (works fine, shows what i want in last page), but when exists only one page i need las't page footer not first.)..do you understand me ? Yes I understand. What you need is page-position="o

Re: leader between blocks some conditional

2008-02-14 Thread Chris Bowditch
nmwp wrote: Hi I got simple question/requirement. I was searching the mailing list but without any luck. I got 2 blocks of text. If there isn't enough room to completly hold the second block of text on the first page, then new page will be inserted and that second block will fill the second pa

Re: To convert any image / doc to pdf using FOP

2008-02-22 Thread Chris Bowditch
myforums2008 wrote: I have tried converting an image to pdf. But it says there was an error in opening this document, when I try to open the document. Please let me know if you know of any solution. Fop expects XSL-FO files as input. For convenience it also accepts XML and XSLT files. However

Re: some diacritical characters not rendered correctly

2008-02-22 Thread Chris Bowditch
Ben Bosman wrote: I use fop to generate pdf's from docbook xml files. Everything is rendered correctly except for a few rare diacritical characters. A name like "Müslümanoğlu" is rendered as "Müslümano#lu" Another example is "Konstantinović" which is rendered as "Konstantinovi#" If I generate

Re: Assigning generated page number to a variable fo:page-number citation

2008-02-26 Thread Chris Bowditch
Nedim Buke wrote: Hi Everybody, I need to generate index for the document. I tried to find out whether there is extensions for doing this. Unfortunately it couldn't find any predefined solution So I decided to write my own index generator via xsl-fop using templates. This index consisting of

Re: retrieve-marker to show page continues

2008-02-28 Thread Chris Bowditch
bonekrusher wrote: Hi, I am having a heck of a time to get this working. I want to add a "continued" to the second page (and all subsequent pages) if the page continues. However the marker shows up on the first page also. What am I doing wrong? If you never want this message on the first page

Re: Table row background images

2008-02-29 Thread Chris Bowditch
Thanks for the explanation Jeremias. I've raised a bug so we don't forget about this limitation. https://issues.apache.org/bugzilla/show_bug.cgi?id=44507 Jeremias Maerki wrote: The problem with PCL (or at least PCL5 which I've worked with) is that it doesn't support clipping [1]. Clipping mak

Re: keep-together Problems

2008-03-05 Thread Chris Bowditch
Alexander Lohse wrote: Hi, I have following problem: Inside a table:row with attribute keep-together.within-page="auto", we have cells containing blocks with attributes: linefeed- treatment="preserve" and white-space-collapse="false", but these are ignored. By ignored do you mean the t

Re: Any changes in regards to svg tags handling between Batik 1.6 and Batik 1.7?

2008-03-10 Thread Chris Bowditch
Andrejus Chaliapinas wrote: Hi, If I use batik-all-1.6.jar under JDK 1.4/1.5 - I could normally handle svg tags, but if I use batik-all-1.7.jar instead - I get this exception: What version of FOP are you using? Each release of FOP is tied to a specific release of Batik. FOP ships with the ve

Re: Problem with linefeed-treatment='preserve' and hyphenation

2008-03-12 Thread Chris Bowditch
Dirk Eiden wrote: Hello, I got a problem with linefeed-treatment='preserve' and hyphenation: This is a known bug. See: https://issues.apache.org/bugzilla/show_bug.cgi?id=38264 Chris - To unsubscribe, e-mail: [EMAIL PRO

Re: missing column bg color in 0.94 - workaround

2008-04-02 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: FYI: When I upgraded to 0.94 from 0.20.3, my column background colors stopped working. I found a quick workaround was to add the following to each cell: background-color="from-table-column()" This seems to do the trick. Anyone see any potential issues with this?

Re: Multi page pdf using fop-one page for each person tag

2008-04-05 Thread Chris Bowditch
Hi, Each of the employee tags need to go into a separate page in the pdf. When I am creating the pdf its writing on the first page only without advancing to the next page. Can somebody please point out the mistake in my xsl template. Try putting the following before the first fo:block-containe

Re: java.lang.NullPointerException

2008-04-16 Thread Chris Bowditch
pdiop wrote: I need your help everybody. I am getting the following error while running fop on resin : java.lang.NullPointerException at > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:290) > at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:1

Re: 0.95BETA Regression: ZapfDingbatsEncoding in final PDF output?

2008-04-17 Thread Chris Bowditch
kennardconsulting wrote: Dear All, There seems to have been a change from 0.94 to 0.95BETA. I'm not sure if this is intentional, but the encoding 'ZapfDingbatsEncoding' (which I understand to be some kind of FOP-specific workaround) is making it into the final PDF output: 128 0 obj << /Type

Re: Help Needed in XSL:FO

2008-05-16 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Don't forget you can also include single page PDFs via fo:external-graphic using Jeremias's FOP Extension: http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf This will ensure the input PDF appears exactly as required in the output. If the PDF in question is mul

Re: Problem with fop 0.95 in Oracle Java VM

2008-05-30 Thread Chris Bowditch
Robert Eberhardt wrote: Looks like the program has a problem saving the font cache to the File System. Maybe someone can tell me how to disable that font cache or where fop wants the font cache save to. You can enable/disable the Font cache and/or change the location where FOP store

Re: Editing Text in the Intermediate Format

2008-06-04 Thread Chris Bowditch
Jeremias Maerki wrote: Sure: Stream processing. But I don't know if you have SAX (or something similar) on .NET. Yes .Net does have a SAX equivalent: XmlReader. Which IMHO is not as elegant as a ContentHandler but can be used instead of XmlDocument to process large XML Files. On 04.06.20

Re: java.lang.NoClassDefFoundError: com/sun/jimi/core/Jimi

2008-06-05 Thread Chris Bowditch
Jeremias Maerki wrote: So if FOP does want Jimi, putting it in the classpath hopefully fixes the problem. But still, I'm at a loss to explain why the JimiImage class is triggered in the first place. The Original Post said FOP had been built via Maven. So could it be that the FOP Maven POM

Re: Forward references in marker element throws NPE

2008-06-27 Thread Chris Bowditch
Browning, Jamie wrote: All Am I right in assuming that forward references in marker elements no longer work in FOP 0.9x? My assumption is based on the fact that the marker examples included in the binary dist for both 0.94 and 0.95beta are throwing a NullPointerException. A NPE is bad indee

<    1   2   3   4   5   6   7   >