AW: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Georg Datterl
Hi Mathieu, can you post the fo file, please? I'd like to help, but I don't have your transformation file. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert

Re: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
Hi Georg, Thank you very much for your help ! Here it is attached as gzip compressed. It was generated from the xml with: xsltproc --stringparam fop1.extensions 1 --stringparam ulink.show 0 --xinclude -o out.fo /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl ./test.xml Thanks

AW: fo:block and wrap-option=wrap

2010-02-17 Thread Georg Datterl
Hi Florian, I had a similar problem with blocks in table cells. The answer I got is: No, strings without blanks are not broken. This is a design decision made by the team. I think, you can find this decision at the end of the bug discussion you mentioned, starting with Vincent's first

Re: table markers bug

2010-02-17 Thread Pascal Sancho
Hi Lars, You should post using-Fop related questions on the Fop-user list, please. The XSL-FO REC 1.1 says that fo:marker content is (#PCDATA|%inline;|%block;)* (see [1]). Therefore, as said in log, your fo:marker contains at least 1 fo:table-row, while it should not. Can you check that? If this

AW: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Georg Datterl
Hi Mathieu, With my trunk from around December the fo file works fine. I get lots of Image not found: images/draft.png and the two font warnings, but the pdf is complete with TOC, title, spot and bookmarks. Which fop version are you using? Regards, Georg Datterl -- Kontakt -- Georg

Re: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
This is the latest from debian: # apt-cache policy fop fop: Installed: 1:0.95.dfsg-7 Candidate: 1:0.95.dfsg-7 Version table: *** 1:0.95.dfsg-7 0 500 http://ftp.fr.debian.org sid/main Packages 100 /var/lib/dpkg/status So I am guessing this is an official release. I'd like

Re: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
Hi Georg, Thanks a bunch for the info. I'll raise the issue on the debian package itself. fop is pretty much useless if one cannot even use a simple anchor/ element ! Just for info I did compare trunk to fop 0.95 using diff -u: $ diff -x .svn -ru fop-0_95 trunk | wc 149462 621452 5984407

java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:375)

2010-02-17 Thread Mathieu Malaterre
Hi there, I have a new segfault for you: ?xml version='1.0' encoding='UTF-8'? !DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.5//EN http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; [] article section titletitle/title blockquote para The emphasis role=boldanchor

AW: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:375)

2010-02-17 Thread Georg Datterl
Hi Mathieu, Now it starts to be a problem for the more experienced users or developers. I can see prevLM, which is the layout manager of an old element, is null. The old element is a KnuthInlineBox with position = null, maybe a footnote element, but I'm not sure. I guess, it's somehow related

Re: Loading font error with fop

2010-02-17 Thread philippe voncken
It's work thanks. It was my fault, I've created an UriResolver which don't work with FileSystem. :/ Philippe 2010/2/16 Jeremias Maerki d...@jeremias-maerki.ch metrics-url and embed-url requires a URL, not a filename. Please note that starting with FOP 0.95 you can omit the metrics-url

Re: AW: fo:block and wrap-option=wrap

2010-02-17 Thread Florian Apolloner
On 01/-10/-28163 08:59 PM, Georg Datterl wrote: I had a similar problem with blocks in table cells. The answer I got is: No, strings without blanks are not broken. This is a design decision made by the team. Okay, that's kinda bad, but okay as long as hyphenation works for me, which it does

making region-before dynamic

2010-02-17 Thread Florian Apolloner
Hi, is there any way to not specify an extent for region-before (+ margin-top for region-body) and just make it as big as the content needs it to be? Or is there another way to display a block on every page start end? Thanks in advance, Florian signature.asc Description: OpenPGP digital

Re: making region-before dynamic

2010-02-17 Thread Florian Apolloner
Hi Pascal, On 02/17/2010 04:11 PM, Pascal Sancho wrote: region-body: - you have to ensure yourself that the top-margin is greater than region-before content height if you don't want to see the flow content drawn over region-before content. there is no automatic adjustment for that

AW: making region-before dynamic

2010-02-17 Thread Georg Datterl
Hi Florian, depending on your data, you can maybe calculate the number of lines needed, based on number of character, lineheight and spaces, and then use this value. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg

RE: making region-before dynamic

2010-02-17 Thread David Breare
Can an administrator please remove me from this mailing list. The posted method for removal does not seem to work. Thanks David -Original Message- From: Georg Datterl [mailto:gdatt...@geneon.de] Sent: 17 February 2010 15:16 To: fop-users@xmlgraphics.apache.org Subject: AW: making

Re: making region-before dynamic

2010-02-17 Thread Florian Apolloner
On 02/17/2010 04:13 PM, Florian Apolloner wrote: Hmm, to bad I guess I'll setup sensible defaults then :/ Replying to myself ;) I did fake the wanted behavior now by wrapping my stuff into a table-header :) Let's see what I can do about the footer… signature.asc Description: OpenPGP digital