W3C home > Mailing lists > Public > public-ppl@w3.org > February 2013

Re: New Year. Renewed activity? New Chair?

From: Patrick Gundlach <gundlach@speedata.de>
Date: Fri, 8 Feb 2013 10:41:12 +0100
Message-Id: <74D045C3-D254-4662-9A38-46ADEC59BBFA@speedata.de>
To: "public-ppl@w3.org" <public-ppl@w3.org>

>>> 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
 if height(virtual page) < remaining space on this page then
   put page into pdf
   retypeset the virtual page with a smaller font
   goto start
put virtual page into pdf

(more or less, I hope you get the point) 

I hope this answers your question!?


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:57:25 UTC