On 24.03.2006 11:07:05 Joachim Pfaff wrote: > Hello, > > as I already mentioned, I use FOP to create the printed version of an > online magazine. Most thinks are working fine. And the result looks > now pretty much like as it should :) > > A big 'BRAVO' to the fop-staff, and this mailinglist! > > I forgot exactly why I choosed to use FOP-Trunk, but I think it was > because of some margin/region-overflow-Problems I had with 0.91beta. > > Unfortunately the last time I downloaded the FOP-Trunk via svn all my > text-align="center" where messed up, and corresponding to [1] I > decided to use the release 381617. > > So here comes my first Question: > Is the text-alignment now corrected?
Yes. > I am using embeded fop with Java 1.5.0_06-b05 and Win XP SP2. > > Another Problem: > In the TOC of my fo I use the following statement: > > <fo:block space-after="3mm" text-align-last="justify" end- > indent="30mm" keep-together.within-page="always"> > <fo:inline>Heinrich Heines "Religionsgespräche" sind aktueller denn > je/ </fo:inline> > <fo:inline keep-together.within-line="always">Von Ursula > Homann<fo:leader leader-pattern="dots"/> > <fo:page-number-citation ref-id="N101C5"/> > </fo:inline> > </fo:block> > > I thought the last fo:inline would say: Try always keep the things > inside this Element on one line. But it does not work.Maybe I > misunderstood the property in combination with the fo:inline. Can > anyone help? Hmm, yeah, inline keeps don't work, yet. Unfortunately. Although it would probably not be a big deal to implement them. I guess I should finally update the compliance page so this is highlighted. > I placed a sample fo, and the resulting pdf under [2] and [3]. > > I do *not* want the "Von Ursula Homan" apearing on one single line. I > just want them *always* keeped together. A small but important > difference ;) > > And last but in no way least: > Is it planed, that fop will implement last-line-end-indent? This > property is IMHO pretty important, for professional TOCs. What a big box of secrets FOP still is sometimes: Although the compliance lists this property as unsupported, it actually works. I'm just now writing a test case for it and I will update the compliance page afterwards. Your post shows: Don't trust the compliance page. :-) It seems that the property has the same problem as text-indent, however. There's a special case (nested blocks) which shows a misinterpretation of the spec which I'm going to correct as one of my next tasks. Might as well do the same for last-line-end-indent while I'm at it. Shouldn't be a big deal. > I did never worked in an Open-Source project, but i think that I am > not the worst java-coder. So what do you think how hard would it be, > implementing it? Obviously, you don't need to implement last-line-end-indent, but if you want to take a stab at inline keep-together, that should also not be too difficult. The only problem is that you need to have some basic knowledge about the Knuth element model. Implementing keeps simply means switching off break possibilities in terms of the Knuth model. The absolutely essential basics are here: http://wiki.apache.org/xmlgraphics-fop/KnuthsModel But the paper referenced on that page helps much more. If you're serious about it I can point you to the right places in the code. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
