[REBOL] Re: another piece for pdf-dialect
From: g:santilli:tiscalinet:it at: 30-Jul-2001 19:34
On 30-Lug-01, you wrote:
RM> Hi, AFAIK does TeX use such a multi-box approach. Each
RM> character uses a defined 2D space, depending on the font
RM> settings. TeX sums all those boxes and knows the size of the
RM> page, therefore it should be possible to calculate a page
AFAIK TeX tries not to break paragraphs, avoids putting section
titles or spaces at the end of the page, etc. Ita has a lot of
nice euristics to create the best layout.
RM> break. Do you have access to Donald Knuth's book about TeX?
I don't, unfortunately. I've not been able to find Knuth's books
in local book stores or libraries...
RM> The basic algorithm isn't that hard I have heard. And let's
Indeed, as I said, a QAD solution wouldn't be difficult to add.
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/