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

World: r3wp

[Make-doc] moving forward

Chris
21-Jan-2005
[290]
Perhaps this is better discussed in a dedicated group...
Ashley
27-Jan-2005
[291]
A proof of concept IDE for MakeDoc2 - http://www.dobeash.com/files/md2-ide.zip
- enjoy! ;)
DideC
27-Jan-2005
[292]
Argh! You was faster than me !! 

I wanted to do a things like that. I have a style to render inline 
formating if you want.

I have also an editor with some funcs to help inserting tagswith 
key shortcut.

Do you bother if I do a fork of it with my own idea ?
Ashley
27-Jan-2005
[293]
I have a style to render inline formating if you want
 ... yes please!

Do you bother if I do a fork of it with my own idea?
 Not at all, the code is really QAD though ;)
Geomol
27-Jan-2005
[294]
Cool! :-) I'm looking forward to something like this for my NicomDoc 
format, when I release it soon. ;-)
eFishAnt
27-Jan-2005
[295x2]
nice, Ashley
curious about QAD ?
Gregg
27-Jan-2005
[297]
Isn't there also an MDP-GUI project somewhere?
DideC
27-Jan-2005
[298x2]
MDP-GUI is on rebol.org.
But it's not what I need. MDP-GUI is a help for those who don't know 
MakeDoc rules.

I just want an editor that help me to insert the most bothering tags 
(like <b></b>) arround the text I want.

Typing tags is not very confortable on French Keyboard : < and > 
are on the same key and the last require Shift. / require Shift too. 
So typing tags all the time is very annoying.
Volker
27-Jan-2005
[300]
How about own tags and a preprocessor?
DideC
27-Jan-2005
[301]
explain.
Volker
27-Jan-2005
[302]
mark tags in a different way. maybe {tag} or [tag]. then exchange 
"{" with "<". then makedoc.
eFishAnt
27-Jan-2005
[303x2]
good point on  < > DideC
that is why [ ] is used in REBOL instead of { } for blocks, so a 
shift key is not needed, IIRC.
Geomol
27-Jan-2005
[305]
[ and ] is <Alt Gr>-8 and 9 on my danish keyboard. Where are they 
on a french keyboard?
Ashley
27-Jan-2005
[306]
QAD = Quick And Dirty
DideC
27-Jan-2005
[307]
[
 is AltGr+5 , "]" is AltGr+8
{
 is AltGr+4, "}" is AltGr++

I'm wondering how French like Rebol so much with so "tortuous" typing 
;-))
Geomol
27-Jan-2005
[308]
:-) There's the idea for what keys to put on the left side of the 
keyboard to make it more balanced. Well, maybe it will become too 
big!? And then use Dvorak layout (http://www.mwbrooks.com/dvorak/) 
to speed up typing.
shadwolf
27-Jan-2005
[309x7]
Hi ashley !! I see your MD2IDE it seems you have open the competition 
with my MDP-GUI hahahaha. Well I like the redering window on right 
of the Window. The bad point is that the previsualisation of the 
texte is not updated until the save action. Updating it dynamicaly 
could be a good thing. There is no button to short cut the insertion 
of the balise like in MDP GUI (feel free to retake from MDP-GUI evry 
thing you need). Personnally Im waiting for the new rebol/view version 
that will speed the drawing engine and be able to use AGG based styles 
like Cyphre showed us to do. what about integrating to your product 
MD2IDE the net releasing support (for example to update quickly a 
blog based   on carl's REBOL script)
Great work stay tuned :)
I tested MD2-IDE with MDP formated doc the rendering is pretty good 
only some little flags aren't supported like = toc ;)
Well Ashley you make a such good work with your preview widget in 
your MD2-IDE project that I couldn't resist to the temptation to 
add it to my own MDP-GUI v1.3
it's still not satble I need more time to revamp all the GUI according 
to the new insertion
but I think it's a good start
MDP-GUI 1.3 can be found here:  http://www.agora-dev.org/forums/view.php?site=rebol&bn=rebol_prjnvxprod&key=1106873711
Ammon
27-Jan-2005
[316]
What would really make that MD2 IDE kewl is the ability to directly 
edit the elements in the preview pane.
shadwolf
27-Jan-2005
[317x11]
Ammon sure and if we get a better featured widget engine I could 
make in it a flying dragon ;)
a picture of  MDP-GUI 1.3 including the render API of Ashley/Gabriele 
http://shadwolf.free.fr/mdp-gui13.r
serriously the rendering is slow beacause it's a hudge cheat ( Ahley 
compone on fly a multi composed widget layout) make a change and 
click ave to see how long it take to be refreshed...
I have problems with s it's 2:30 and i need to woke up at 5:00
http://shadwolf.free.fr/mdp-gui13.jpg-> image of MDP-GUI 1.3
it's like adding line selection displacement (that eFishAnt suggested 
to me for MDP-GUI...) well thinking of it it's cool !!! but I'm affraid 
to say that the text displacement  motion will be so slow that this 
feature will not be very shinny for users ...
I fund very best hope for all this kind of highly advanced features 
with rebol View AGG engine (rendering those kind of advanced widgets 
 that need lot of refresh and quick rerendering to be visually smooth 
and less processor calculation could be very a good thing if we make 
them in AGG) but that's a hudge work ...
maybe I'm over estimating the capabilities of AGG on it's actual 
form too... because it's still depending on View layout rendering 
engine
it will be great to have Carl's opinion on those topics ;)
it's like on fly colored text  in area it"s a very good idea too 
but for the same reason it's actually not in the plans
who want to wait 3 minutes is code to be refresh every time he insert 
a new caracter on an existing colores text interpreted area ??? (3 
minutes okay I'm over estimating the time that takes but maybe not 
for hudge text in fact ...more you have text displayed in the area 
more slow will be the refreshment on new caracters insertion)
Chris
28-Jan-2005
[328x4]
If I may make a suggestion (though this may already have been considered) 
-- use a display toggle (with keyboard shortcut) instead of split 
screen.  Upon activating the toggle, you could then scan-doc -> gen-doc 
the area text without saving it to disk...
Though the split-screen display may be preferrable for those with 
larger screens than my own :o)
Ctrl-U for 'Update' ?
Also recommended -- http://homepages.paradise.net.nz/left/rebol/scripts/scrolling.r
Ashley
28-Jan-2005
[332]
Great stuff shadwolf! MDP-GUI has a good look and feel to it now. 
A couple of suggestions:


1. The preview pane is out by 40 pixels, page-width: 360 should fix 
it
2. Full-screen (even as an option) would be good
3. Option to use makedoc2.r instead of make-doc-pro.r


Now that the "proof of concept" seems sound I'll be concentrating 
on the VID emitter with a view to making it MDP complient and more 
efficient.

ability to directly edit the elements in the preview pane
 I'm working on that, but its a real pane (pardon the pun).

the rendering is slow because its a huge cheat

 - yes, like you I looked at a "live update" but its just too slowwwww. 
 An intermediate solution might be to have a timer that refreshes 
 the preview every few seconds or so.
Graham
28-Jan-2005
[333x3]
yeah .. it would be good to be able to choose which variant of makedoc 
to use.
>> do %mdp-gui-v1.r
Script: "Untitled" (6-Oct-2004)

** Script Error: split-path expected target argument of type: file 
url

** Where: func [face value][browse join (first split-path config-data/current-file) 
%makedocpro.
html]
** Near: first split-path config-data/current-file
where I didn't select a path to mdp, and then clicked on the help 
button
Terry
28-Jan-2005
[336]
I'm adding some °7° function to MD2 that will parse °7° tags.. this 
would add a global DB for adding links, addresses, bit's of MD code 
etc.   update the °7°, and you instantly update any future MDs.  
You can run the latest MD2 from Carl with this.. 

do load http://powerofq.com/start
°run° {°Make Doc 2°}
shadwolf
28-Jan-2005
[337x3]
Ashley thank you very mutch for the tips ;) I will work on special 
adaptation to MDP format requirement on the redering process. Option 
tu use makedoc 2  sure but in this case your cute MD2IDE will be 
deprecated and I  doesn't want that... MDP and MD2 have similar form 
but diferent kind of rendering processs. I don't want to make a monster 
application ... I want to make a quick usefull little GUI to write 
aesyly MDP formated programs with lot of automation like save on 
quit, recent file list, etc...
graham yes the help is not included into MDPGUI it's included into 
the MakedocPro.r directory (makedocpro.txt) so normally I use the 
MDP.r directory path to find the help file
I will fix this by forcing ppl to put a path for mdp script