[REBOL] Re: Please read! Help needed.
From: g:santilli:tiscalinet:it at: 19-Aug-2001 13:10
Hello [agem--crosswinds--net]!
On 18-Ago-01, you wrote:
a> i like "font Times-Roman 4.23 justify with left margin 0"
a> Here comes a dialect to show what dialects are for :)
:-)
a> now something to split page automatic (or i missed it?),
With the current typesetter it would not be difficult; it just
needs a check in EMIT-LINE to see if the current textbox is full
and a way to define in the dialect a chain of textboxes and a
single text that goes all over them in any page. But I'd like to
make it smarter than this... e.g. the user should be able to say
things like "this paragraph should not be rendered at the bottom
of a page" or "this paragraph should not be broken" etc.
a> how to format and calculate all boxes and give them back to
a> the user in a block with sizes, positions and content, then
a> let user script how to pagebreak? there could be some naming
a> for boxes so user can check what to take to the next page?
a> together with a pre-defined breaker, of course.
I have been thinking about that. Maybe conditional rendering?
a> also some naming for styles to specify macros,
a> that could quick match to make-doc-labels?
You can see in the doc I used compose to do macros. I have been
thinking of a way to do it in the dialect, but it's not easy to
make it general (so that you can put them anywhere). Maybe a
preprocessor that works like compose? Or we should drop the idea
of having them anywhere. :)
a> font-changing is somewhat large.
Yup. Maybe something like:
r: font Times-Roman 4.23
i: font Times-Italic 4.23
r {roman } i {italic} r { roman again}
?
a> then for encoding, i had a weird idea:
[...]
Nice! But then I think I should support other encodings than
WinANSI (to make Mac users happy, it seems like everyone else uses
WinANSI --- am I wrong?)
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/