r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Make-doc] moving forward

eFishAnt
10-Jan-2005
[52x4]
(I used what you mentioned in the DevCon web pages, BTW)
Geomo: I think that is a problem anyway...to have a note criss-crossed 
with a table?  What would you want the outcome to look like?
Geomol....\group /group allows you to do some heterogeneous grouping...maybe 
to achieve what you want.
anyway, Petr...I didn't say "incompatible" ;-)
Geomol
10-Jan-2005
[56x2]
A note criss-crossed with a table; what should the outcome be? That's 
exactly the problem! A hierarchical standard based on start- and 
end-tags allow you to type it that way producing a problem. A hierarchical 
standard based on some type of container (block) makes sure, that 
you can't type something giving you a problem like that.
Example: note A note [table [some text] more text ]
Chris
10-Jan-2005
[58]
Container blocks aren't pretty though, and don't give any hint at 
the end what they are closing.  The crossover you mention could be 
circumvented by a smarter outputter...
eFishAnt
10-Jan-2005
[59x3]
but we don't want to have to put that extra stuff into the simple 
text file (only what is absolutely necessary...and I agree with what 
Chris says.
think of the text as being entered in "paragraphs"
I THINK /group \group allows you to do what you want there, Geomol.
Chris
10-Jan-2005
[62x2]
As I see it, I don't think you can apply the same rigour of a structured 
format to that of a free-form text format -- there simply has to 
be some level of user forgiveness, otherwise we need to create an 
even higher level format...
(though perhaps I see make-doc as higher level than it is/was intended)
eFishAnt
10-Jan-2005
[64x3]
It is entirely possible to parse blocks into text markup, when you 
want to allow code to automatically generate its own document (that 
is a hierarchical source, source code)
Geomol...your Example in make-doc2, now that you clarified:
\note A note

\group

\table

some text

/table

more text

/group

/note

###
Geomol
10-Jan-2005
[67x3]
Yes, it's possible! :-) It might also be possible without the group:

\note A note

\table

some text

/table

more text

/note

###


But my point is, that making the standard this way won't prevent 
the writer to type:

\note A note

\group

\table

some text

/note

more text

/group

/table

###


making an upredictable output. And that's the problem. It's not an 
optimal standard in my view.
A way to go may be to make a deep analyse of, what a document is 
- what it consist of. There are basic elements like letters, dividers 
(<br/>), ... Then there are bigger elements (containers) like notes, 
tables, ... And we can talk about change of state like bold-on, bold-off, 
italic-on, italic-off, font change, etc. The containers should be 
strictly hierarchical. The basic elements and the containers will 
be represented in a sequence. The inside of a container is maybe 
also a sequence. Decisions should be made, if change of state can 
happen anywhere, or if going to one state and back is a container 
too. (I'm thinking loud here, you may notice.)
Anyway I hope, you can use some of this input.
eFishAnt
10-Jan-2005
[70x4]
I don't see a difference between [ [] [[]] ] type nesting and what 
is currently used...I see that what you call "containers" are what 
the /  \  tags are doing.  Are you saying you prefer the scanner 
to die if the input is "illegal" than trying to proceed with it anyway?
what is there now already parses the "sketchy" usage in a reasonable 
way.
your examples do work pretty good on the new makedoc...just tried 
them in Developer IOS.
impressive.
shadwolf
11-Jan-2005
[74x2]
MDP-GUI to be the interface for writing datas to Carl's blog script. 
does the idea sound usefull for you ?
like adding a publish or blog button to publish it directly to the 
web distant blog
eFishAnt
11-Jan-2005
[76x2]
I tried an earlier version of MDP-GUI but did not keep up with it. 
 I would like to try it to understand better its functionality.  
I think you have some good ideas there.
I use IOS to keep version control of my website...so I usually have 
things integrated with that...but the GUI could make it easier...does 
it run makedoc2.r as well?
shadwolf
11-Jan-2005
[78]
yes I remember it but it was do to your low version that doesn't 
include teh set-face/clearface etc-face capability ...
eFishAnt
11-Jan-2005
[79]
oh yes, thanks, now I remember.
shadwolf
11-Jan-2005
[80]
I'm trying to do somthing that allows you with a bunch of clicks 
to and some little tipping to make your full doc verry quickly with 
a lot of usefull functionnality like in true texte editors (I dont 
support yet direct texte rendering or color syntaxe) but there is 
some trully good advantages
eFishAnt
11-Jan-2005
[81]
on makedoc2.r   I can use * ** and *** bullets without trouble, but 
I don't yet understand the 3 levels of enum  should it be #>> or 
>>#  so far neither seem to work.
Graham
11-Jan-2005
[82x2]
in the make-spec, there were things like ! and * for numbering ...
Did that get lost somewhere ..?
shadwolf
11-Jan-2005
[84]
in front of vi of windows notepad for example it's oriented  Make 
doc Pro (Robert Version) and the look and feel is not has nice that 
if I could include in it the whole widget AGG based set of Cyphre
eFishAnt
11-Jan-2005
[85]
(I was just perusing the source...the parse of enum2 and enum3 show 
">" and ">>"
shadwolf
11-Jan-2005
[86]
but I think is usefull you can earn time using it
eFishAnt
11-Jan-2005
[87x2]
yes, a make-doc friendly editor, if done right could enhance doc 
writing even further than makedoc2.r takes it.
being "agile" with lines for such an editor makes sense to me.
shadwolf
11-Jan-2005
[89x2]
agile ?
like cut copy paste ?
eFishAnt
11-Jan-2005
[91]
being able to rearange lines (more fluid than cut and paste.
shadwolf
11-Jan-2005
[92x2]
ha displace them oki like in recent text editors yes why not but 
I don't have the most little idea of how to concretise this ...
this functionnality could be reused into a rebol RAD (Rapid Application 
Developpement) tool for REBOL too
eFishAnt
11-Jan-2005
[94]
yes...I have some weak prototypes built, but hope to polish them 
this winter.
shadwolf
11-Jan-2005
[95x2]
like shrink/grow text function object
you get e + ma_func : func [][
eFishAnt
11-Jan-2005
[97]
I am glad Carl got this 2.5 out...so now no excuses to finish some 
cool tools.
shadwolf
11-Jan-2005
[98]
or a - ma_func: func [][
     print "hello"
    print " WORLD"
]
eFishAnt
11-Jan-2005
[99]
don't understand...sounds like Eubonics.
shadwolf
11-Jan-2005
[100x2]
well i thinkif you exit movable text i will include it a soon as 
possible to MDP GUI that was part of the defaukt fucntionnality I 
allways wanted in it  but has I don't get the knowledge to handle 
the task i send it to futur time
the + or  - is a icon outside the text that ollaw you to minimize 
maximize the function text content (or object )