[REBOL] Re: Make-Doc Formatter replaces Make-Spec
From: al:bri:xtra at: 27-May-2001 11:01
Robert wrote:
> Carl wrote:
> > Tabs indicate code sections. E.g.:
> >
> > This is a section of code.
>
> What I don't like with the current approach is, that I can't visually
structure my text, as indents have a semantic use. How about something like:
> ->
> This text is indent.
> <-
>
> -code-
> This is a seciton of code.
> -code-
>
> With this I can indent my text as I want, and tell the generator what I
want.
I prefer using a single tab for start of paragraphs, and double tab for code
sections. For example:
A continuing paragraph, followed by:
print "My rebol script sample." ; An example script.
With a continuing paragraph afterward.
And here's a separate paragraph that shouldn't have a first line indent.
The goal of my eText is that the plain text should be very user friendly and
look like the formatted text, with no explicit markup. Having "-code-" to
indicate code sections or "->" for indents isn't nice, particularly when my
eText script all ready works correctly for the above example and outputs the
correctly formatted HTML code using style sheets, and uses appropriate fonts
with my eText stylesheet.
> Andrew, maybe we can extend Make-Doc to Make-Doc/Pro and add some stuff
from the eText project?
I'll have to add the "#" part for numbered lists.
Andrew Martin
ICQ: 26227169 [new Rebol/eText site soon!]