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

World: r3wp

[Make-doc] moving forward

Ashley
20-Jan-2005
[271]
Exactly, which means each emitter then has to generate a TOC and 
number the section headings - this content manipulation should not 
be the concern of each and every emitter! ;)
Chris
20-Jan-2005
[272]
It'll still have to occur after the first pass, natch -- 'tis a pass 
unto itself.
Robert
21-Jan-2005
[273x2]
The thing is, that the TOC might look very different depening of 
the output format. A TOC for LaTeX is just one command, for HTML 
you need to insert numbering as plain text etc.
Some emitters want numbers others letters or mixes of both. It all 
depends and that's why the job is left to the emitter.
Sunanda
21-Jan-2005
[275]
Good points,. Robert. And some may need to defer it until nearly 
the end of Phase 2 because they need actual page numbers.
Ashley
21-Jan-2005
[276x2]
OK, makes sense now. ;)
How about this for an obvious enhancement: the ability to href an 
=image (i.e. image + URL)
eFishAnt
21-Jan-2005
[278]
good idea, Ashley...the Devcon page maker has this in it, if I understand 
what you mean.
Robert
21-Jan-2005
[279x3]
Can you give me an example?
You want to use =image with an URL? That's possible.
update: I just extended make-doc-pro to support forms. Looks like 
this:

Test of Form Dialect in make-doc-pro

=toc

=options debug

===Introduction
This file test the form generation dialect.

\form test.cgi
	cgi-bin http://localhost/cgi-bin/

	; same-width with fields & buttons
	same-width left [
		field "Name1"
		field "Name12" 10
		field "Name123" 10 20
		field "Name"
		radio "R1" [Robby Linna Bunny Blacky]

		btn-enter "Abschicken"
		btn-cancel "Abbrechen"
	]

/form
Ashley
21-Jan-2005
[282]
You want to use =image with an URL? That's possible.

For example:

	=image %myimage.png http://mysite.com


click on the image to go to the site. I don't think the MD2 standard 
currently supports this.
eFishAnt
21-Jan-2005
[283x2]
I did wonder if that was what you meant...a good suggestion.
(and not hard to do at that)
Robert
21-Jan-2005
[285x2]
I would suggest something else:
=url http://www.mysite.com%image.png
It's a URL you want to specify, not the image.
Chris
21-Jan-2005
[287x4]
I never like to do to many arguments in Make-Doc, but what of Alt 
Text...
=url http://www.mysite.com%image.png Alt Text, but code sensitive 
parts of the line are getting more numerous...
Re. Forms, as discussed briefly, I have a different vision for forms 
-- primarily as I think we have a different end user in mind.
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
[317x4]
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