Re: Vietnamese complex-script support?

2013-08-01 Thread Christopher R. Maden
On 08/01/2013 09:49 AM, Pascal Sancho wrote: I'm not sure there is a specific script for Vietnamese. IIUC, this can be written either with latin script, or with a chinese subset script. Both Latin ans Chinese scripts are handled correctly with Fop, without complex script feature. You should

Re: Speeding up FOP 1.0

2011-11-30 Thread Christopher R. Maden
On 11/30/2011 04:03 AM, Theresa Jayne Forster wrote: But then the big problem is when I transform the XSL / XML into PDF it is taking forever to generate Creating PDF Creation of PDF took 106384 Miliseconds transformer.transform(src, res); Why is this taking so long and

Re: Speeding up FOP 1.0

2011-11-30 Thread Christopher R. Maden
On 11/30/2011 11:12 AM, Theresa Jayne Forster wrote: On top of that, if I make the images local and not from the 3rd party site, the pdf then takes 2.5 seconds The images only take 8 seconds to download from the 3rd party site, so why is it taking so long? Oh, I missed that bit... I suspect

Re: Problem With Keep Together

2011-11-08 Thread Christopher R. Maden
On 11/08/2011 11:32 AM, Rita Greenberg wrote: Any suggestions as to how to keep the 8 lines together on the same page will be greatly appreciated! The best approach to solving problems like this is to hand-tweak the XSL-FO and get that to work, first. Then change your XSLT to generate that

Re: Problem with basic-link

2011-11-02 Thread Christopher R. Maden
On 11/02/2011 10:19 AM, Peder wrote: I'm having a problem with the basic link element. No, you are having problems with URLs. http:/www.google.com is not a well-formed URL; you need two slashes between the method and the host. ~Chris -- Chris Maden, text nerd URL: http://crism.maden.org/

Re: FOP font warning invalid

2011-09-13 Thread Christopher R. Maden
On 09/13/2011 02:42 PM, Eric Douglas wrote: Is there an official keyword list? Yes, the link previously posted: URL: http://www.w3.org/TR/xsl/#font-weight . ~Chris -- Chris Maden, text nerd URL: http://crism.maden.org/ “The present tendency and drift towards the Police State gives all free

Re: pagenumbering

2011-08-30 Thread Christopher R. Maden
On 08/30/2011 09:49 AM, Theresa Jayne Forster wrote: I was wondering, how can you change the page numbering on page-number-citation stuff, We have the requirement of numbering starting on the inside cover as page 1 not page 2 as currently the front page is classed as page 1. Is there any

XSL vs. FOP [was: Re: pagenumbering]

2011-08-30 Thread Christopher R. Maden
On 08/30/2011 10:52 AM, Glenn Adams wrote: actually, this is an FO issue, not XSL, since it is FOP that generates page numbers via fo:page-number XSL encompasses both Formatting Objects (sometimes “XSL-FO”) and XSL Tranformations (XSLT). An FO issue *is* an XSL issue. It is FOP that generates

Re: pagenumbering

2011-08-30 Thread Christopher R. Maden
On 08/30/2011 11:24 AM, Theresa Jayne Forster wrote: So, If I have it right, I need to set up 2 page-sequences one with the cover and one with the rest, And I need to set the page number at 1 for the second one, Reading through the links you gave appear to show that you cannot set a

Re: XSL vs. FOP [was: Re: pagenumbering]

2011-08-30 Thread Christopher R. Maden
On 08/30/2011 11:41 PM, Glenn Adams wrote: We may be applying different ontological models here. That does seem likely, since... I label anything having to do with XSL-FO as FO related. I label anything having to do with XSLT as XSL related. For me, FO related != XSL related. The XSL-FO

Re: Dynamic bookmark-tree

2011-07-25 Thread Christopher R. Maden
On 07/25/2011 02:50 PM, Michael Uplawski wrote: For simplicity I attach a screenshot of the generated and functional bookmarks in the Okular-reader. Compared to the examples that I find elsewhhere, I deem this a success already. But does one of you have a hint on how I can finally break out of

Re: org.apache.fop.fo.ValidationException: fo:list-block is missing child elements

2011-07-12 Thread Christopher R. Maden
On 07/12/2011 08:08 AM, tecshine wrote: fo:list-block line-height=1.5 provisional-label-separation=1cm provisional-distance-between-starts=6cm fo:list-item fo:list-item-label end-indent=label-end() fo:block font-weight=bold text-align=start/ /fo:list-item-label fo:list-item-body

Re: numberformatting problem (austrian format)

2011-07-12 Thread Christopher R. Maden
On 07/12/2011 10:21 AM, haichao.m...@raibau.at wrote: I?m using fop to process PDFs. I need to format a number. code: xsl:value-of select=format-number(1, ',###.00') / The output in this case is 10,000.00 My problem is, that I need the number format in Austria, which is 10.000,00

Re: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Christopher R. Maden
On 06/14/2011 07:25 AM, kalgon wrote: Yes I could transform the XML prior to rendering it to PDF but that wouldn't be as nice and clean as an extension which would take care of everything. Moreover, an extension can be reused whereas pre-transforming the XML would require a specific XSLT for

Re: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Christopher R. Maden
On 06/14/2011 10:15 AM, kalgon wrote: But then, what is the purpose of extensions? There are several extensions which generate barcodes (barcode4j, zxing-fop-qrcode)... so if I follow your reasoning, we should not use those and rather pre-generate the images and use fo:external-graphic, right?

Re: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Christopher R. Maden
On 06/14/2011 11:23 AM, kalgon wrote: I understand but if we want to be strict, XSLT only transform from XML to another format (often XML but also Text). In my case wiki syntax is not XML so we could say it shouldn't be transformed through XSLT. Text nodes are part of XML... XSLT can handle

Re: How to determine which block are fo:table-row from XML-AT output?

2011-06-10 Thread Christopher R. Maden
On 06/10/2011 12:49 PM, Andreas L. Delmelle wrote: It does make perfect sense, but from FOP perspective, also poses the challenge of properly implementing id on fo:table-row... Since there is no area to attach the id to, we currently have no location in the area tree that ref-ids can point to.

Re: Apache FOP Newbie needs Help Converting XML to PDF

2011-03-09 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/2011 11:41 AM, italocardwell wrote: Thanks everyone for helping me out. I do appologize for being a moron with this stuff. Is there any way to convert my xsl file to a xslfo file so that it can be used? Or will it have to be completely

Re: AW: ValidationException: Document is empty

2010-12-07 Thread Christopher R. Maden
On 12/07/2010 11:43 AM, Georg Datterl wrote: I'm not quite sure WHO exactly complains. The original xslt (with lt;) works fine if I use it to transform the xml file. It generates a fo-file which I can then transform into a pdf. The corrected xslt works fine, if I don't use more complex

Re: Greek text in the HelloWorld example causes Severe Exception

2010-08-29 Thread Christopher R. Maden
Nikolaos Paraschou wrote: This is the first time I am using Apache FOP. I started with the quick start guide and the Hello World example which worked just fine (with Latin characters). I decided to replace Frank with a name in Greek characters, lets say Νίκος. ; SystemID:

Re: Possible Bug: No control Over Itemized List Marks

2010-06-29 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Browder wrote: 1. Is this a fop bug? No. Your FO markup is almost certainly requesting the symbol you see. FOP does not make up list markers on its own; it uses the requested symbol. If you believe otherwise, post a sample of the FO XML that

Re: word wrap, hyphenation

2009-11-03 Thread Christopher R. Maden
Vincent Hennebert wrote: In your particular case though, you should not use the degree character as an abbreviation for number (which I guess it is). Looking on the web, the correct abbreviation seems to be ‘no’ or ‘no.’ [2]. In which case you wouldn’t have that line-breaking issue (you may

Re: Sobtotal per Page

2009-07-17 Thread Christopher R. Maden
Carsten B. wrote: I finally i found something. But I have a problem in calling the template. What ist wrong, can't figure it out. xsl:template mode=do-sum match=Auftrag fo:block font-size=9ptZwischensumme: ### Call Template

Re: Sobtotal per Page

2009-07-17 Thread Christopher R. Maden
Carsten B. wrote: Is this in possible in any way. I would do something like that in JS or Java. This is the root of your problem. XSLT is not like JS or Java. Those languages are procedural, while XSLT is a declarative language. Think about this processing model: the XSLT processor walks

Re: Subtotal per Page

2009-07-17 Thread Christopher R. Maden
c.bueh...@xdot.de wrote: a short small question. I could iterate through my XML until i find the OrderNumber witch i now use. Until that point i add all OrderSums together. So: First Oder: I iterate to order 1 check - Add the OrderSum - and step out of my iteration, because the compared

Re: Sobtotal per Page

2009-07-16 Thread Christopher R. Maden
J.Pietschmann wrote: On 16.07.2009 18:11, Carsten B. wrote: i searching about 2 days now. I need a subtotal on each page. That's known to be a difficult problem. In this case, I think it’s tractable. In fact, I think Carsten might be having problems with the XSLT rather than the FO. The

Re: Dynamically replace argument for 'if' test

2009-03-15 Thread Christopher R. Maden
Bernmeister wrote: However, is it possible to replace the argument for an 'if' test? These are really XSLT questions, not FOP questions, and are better suited for the XSL list[1]. That said, both of your questions have been pretty basic questions about stylesheet parameters, and you would

Re: Suppress the Form-Feed at the end of a page-sequence

2009-02-06 Thread Christopher R. Maden
Steffanina, Jeff wrote: Unfortunately, the single page-sequence is so large that I run out of memory. The problem is that figuring out a pagination strategy consumes memory. The page-sequence is one way FOP knows that it can stop calculating pagination and issue a bunch of complete pages; if

Re: Suppress the Form-Feed at the end of a page-sequence

2009-02-03 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffanina, Jeff wrote: To clarify: Current Process When you come to the end of a page-sequence, FOP automatically executes a form feed and continues at the top of the NEXT page. Desired Process: When you get to the end of a page-sequence, do

Re: Pronunciation

2008-11-15 Thread Christopher R. Maden
On Sat, 2008-11-15 at 23:04 -0600, Jay Bryant wrote: I pronounce it the latter way (as a single syllable). I think that, if one were being strict, it should be three syllables, as one would do with other acronyms. With FOP, though, it amuses me to conflate the acronym with the term for a

Re: FOP 0.95b observations

2008-04-09 Thread Christopher R. Maden
On Wed, 2008-04-09 at 09:39 +0200, Jeremias Maerki wrote: The thing with the stacktrace was a temporary measure as some exceptions were swallowed due to suboptimal exception handling. This will be improved with the next release as we add an processing feedback system that allows more

Re: FOP 0.95b observations

2008-04-09 Thread Christopher R. Maden
On Wed, 2008-04-09 at 11:17 +0200, Jeremias Maerki wrote: Actually, I have to correct myself. I just noticed that keep-together does not apply to fo:table.body: http://www.w3.org/TR/xsl11/#fo_table-body Wow... thanks for catching that. It’s working perfectly now. I can’t explain or

FOP 0.95b observations

2008-04-08 Thread Christopher R. Maden
1) FOP now complains about empty fo:table-cells. This is strictly correct, I suppose, but annoying. More troubling, it fails with an exception and a stack trace when it happens, rather than a simpler error message. 2) Line-wrapping doesn’t seem to happen automatically in table cells: Apr 8,

Re: FOP, Type 1 fonts, and .pfm files

2008-03-25 Thread Christopher R. Maden
On Tue, 2008-03-25 at 09:07 +0100, Jeremias Maerki wrote: One more reason to look forward to 0.95: see below. Spectacular. Thanks for the good news, Jeremias. My bated breath — can you smell it from there? (-: ~Chris -- Chris Maden, text nerd URL: http://crism.maden.org/ “Metonymy and

FOP, Type 1 fonts, and .pfm files

2008-03-21 Thread Christopher R. Maden
Thanks to Vincent for the earlier answer about page-breaking and tables; I am looking forward to trying 0.95 when it’s available. On a completely different project, I am having trouble (still with 0.94) with PostScript Type 1 fonts. I have the complete set of New Caledonia Type 1 fonts,

Pagination and multiple fo:table-body instances

2008-03-11 Thread Christopher R. Maden
I have a multi-page document which is one large table. I previously produced this document with FOP 0.20.5, and have recently switched to 0.94. The table has multiple fo:table-body elements in it. With 0.20.5, it paginated rather neatly, filling a page with as many table bodies as it could, and

Re: 508 compliance

2008-01-09 Thread Christopher R. Maden
On Wed, 2008-01-09 at 20:29 +0100, Andreas L Delmelle wrote: At first glance, it seems to be something that applies to accessibility of information in general (is not restricted to printed media). Yes. It would be better to make the information available in the PDF available in other

Re: Syntax of xsl:if

2005-08-25 Thread Christopher R. Maden
'. ~Chris -- Christopher R. Maden, Principal Consultant, crism consulting XML-SGML-HTML-DTDs-schemas-XSL-DSSSL-conversion-training-ebooks-B2B URL: http://crism.maden.org/consulting/ PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA