- From: Patrick Gundlach <gundlach@speedata.de>
- Date: Fri, 8 Feb 2013 10:41:12 +0100
- To: "public-ppl@w3.org" <public-ppl@w3.org>
Hello, >> >>> Perhaps your ideas could be incorporated in a new processing model, >> >> >> well of course it's an old model, I think the lack of feedback from the >> renderer is the main issue anyone coming from TeX or or a TeX-like >> system faces when looking at XSL-FO. > > IMHO the prime request is for this feature, yet it was hardly > discussed in the WG. > > Given an 'if' or a 'choose' element in the vocabulary, > what conditions would you want to test, using feedback from the layout engine? The TeX way (which is what I use) is the following: Put the text/image/whatever onto a virtual page, which will afterwards have the exact dimensions of the material it contains. Now you can ask for its width and height. Thus can say for example: put text onto virtual page start: if height(virtual page) < remaining space on this page then put page into pdf else retypeset the virtual page with a smaller font goto start end put virtual page into pdf (more or less, I hope you get the point) I hope this answers your question!? Patrick speedata UG (haftungsbeschränkt) ------------------------------------- Telefon 030/57705055 Mobil 0178/1967142 Mail gundlach@speedata.de Web www.speedata.de Eisenacher Straße 101 10781 Berlin ------------------------------------- Amtsgericht Charlottenburg HRB 135360 B Geschäftsführer: Patrick Gundlach USt-IdNr: DE278023065
Received on Friday, 8 February 2013 09:41:44 UTC