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

World: r3wp

[Make-doc] moving forward

Robert
24-Mar-2005
[484]
So, I have made some enhancements to MDP and put a beta online. You 
can find it at: http://www.robertmuench.de/download/make-doc-pro.r

The following changes have been made:
*Bugs fixed:*

#State tracking flags weren't correct, could lead to strange results 
when using tables where cell text used inline markup. Especially 
in site-mode.

*New Features:*

#Code can now be included via ~=include code <filename>~ where the 
included code will be automatically indented and hence handled like 
an example by the output format emitter.

*Programmatic changes:*
#Celeaned up the global word pollution (Thanks to Ahsley Truter)

#Renamed ~generate-files~ function to ~scan-doc~ to meet MD2 wording
shadwolf
25-Mar-2005
[485]
MDP-GUI was erased on the fwk the gived link is no more active to 
dl it refere to : http://shadwolf.free.fr/mdp-gui-1-4-1.zipsorry 
for the disturbs...
Alan
26-Mar-2005
[486]
404ed 4 me :)
Ashley
26-Mar-2005
[487]
Works here.
shadwolf
29-Mar-2005
[488x3]
works for me too ... just click on the link alan :)
I will set an entry to rebol.org as this version is a stable one
rebol.org does not support  zip archive
Ammon
29-Mar-2005
[491]
Have you looked at uploading it as a package?
shadwolf
29-Mar-2005
[492x2]
yes a package is weird to set ...
I'm still trying to understand how to compose my mdp-gui 1.4.1 package 
...
Ammon
29-Mar-2005
[494x2]
The Header File value on your MDP-GUI script needs to point to the 
script not the ZIP.  I believe that is your problem...
So changing the File value in the script header to %mdpgui1-4-1.r 
should make it work...
shadwolf
29-Mar-2005
[496]
well in fact the script countains lots of different files and handle 
them one by one it a true torture
Ammon
29-Mar-2005
[497]
Is the actual ZIP file that you are uploading named %mdpgui1-4-1.zip 
???
shadwolf
29-Mar-2005
[498]
no I dont even arrive to the upload pannel
Ammon
29-Mar-2005
[499]
Have you tried changing the script file extension from .ZIP to .R 
???
shadwolf
29-Mar-2005
[500x2]
yes I do it
k found ...
Ammon
29-Mar-2005
[502]
The good news is that there is now a different error.  With .ZIP 
it said that mdpgui1-4-1 was not a package now it is saying the package 
is unavailable...
shadwolf
29-Mar-2005
[503x2]
pfffffffffffiouuuuuuuuuuuuu OOOOOOOH MY it was hard  !!
type: [package] that was my problem
Ammon
29-Mar-2005
[505]
Ah, I see  TYPE needs a Block!
shadwolf
29-Mar-2005
[506x2]
yes I notice that it's hard
files have been uploaded but I can't dl them with repack
Ammon
29-Mar-2005
[508x2]
THat error means that you have the files set as not downloadable...
Browsing the package information on REBOL.org gives me this:  "Available?	false. 
This package is NOT available for download. The owner may be updating 
it."
shadwolf
29-Mar-2005
[510x4]
...
how can i change that ?
I foiund oki it's available now
good
Ammon
29-Mar-2005
[514]
Sweet!  There it is. ;~>
shadwolf
29-Mar-2005
[515x3]
so ppl now to  dl MDP-GUI 1.4.1 all you need is to append a rebol/view 
console and copy/paste  do http://www.rebol.org/library/public/repack.r
then find in the list MDP-GUI-1-4-1.r all the files in the package
need to be downloaded ;)
Brock
29-Mar-2005
[518]
Download/install works like a charm.  Nice job on mdp-gui.
shadwolf
29-Mar-2005
[519x5]
thank you brock it cost me a lot to put it online to rebol.org ;)
that to ashley and all the beta tester contributors idea teasers 
;) that allow me since november to heavyly enhance and make progress 
this app ;)
next step to MDP -GUI is to be made using RebGUI and encaped (wrapped) 
 by GREBOX  and a cute little installer for non rebol.org download 
;)
don't know if I could get enaought patience to make an input/rendering 
same window intaface once MDP-GUI interface will be based on rebgui 
;)
thank  to ashley and all the beta testers, contributors, idea teasers 
;) that allow me since november  2004  to heavyly enhance and make 
progress tMDP-GUI ;)
Brock
29-Mar-2005
[524]
Shame on me, nice job to all working on MD, MDP, GUI, and Ashley's 
MD-Viewer and RebGui.
shadwolf
30-Mar-2005
[525]
MDP-GUI Is one person coded but community inspired I love this kind 
of work  ;)
Robert
1-Apr-2005
[526]
I'm thinking about refining how emiters for MDP can be written. How 
about this:
- The parser part will stay as is.

- There will be a generic scan-doc routine that can handle: string!, 
file!, url! and block!
  The block can be a mix of string!, file!, url!

- Than there will be one generator loop that loops over the output 
from the parser (the intermediate format)

   This loop has a gib SWITCH statement for all intermediate format 
   words generated by the parser

- The particular generator will be provided in a context to the GENERATOR 
function and than only needs to
   contain the function stubs.

What do you think?
Vincent
1-Apr-2005
[527]
Robert : For the structure, you can look at my 'Easy-Doc prototype:
http://rebol.dev.fr/view.php?sid=141
It works with 3 sets of modules: readers, parsers and writers. 

'readers have to supply a text string to parsers (ie. MS-Word files 
are scanned for text),

'parsers build a block in intermediate format (there is a makedoc 
parser,)

and 'writers output the result either in file or on screen (VID / 
html / pdf / rtf / swf).
Robert
2-Apr-2005
[528]
Thanks I take a look. Well MDP is quite old and IMO needs some refactoring 
:-))
[unknown: 5]
2-Apr-2005
[529x2]
I was thinking that another good feature to add for makedoc is a 
javascript popup link
Maybe incorporate tag symbols in the text for the parsing
Normand
5-Apr-2005
[531]
Did some one found a way to have a FAST Rebol editor.  I did remarked 
that the cursor is slowing to a crall on big texts in MDP-Gui.  It 
is also quite slow with VT-editor or ion-pe, or even with this very 
small editor in alt-me, the one with which I write now.  Tcl, for 
example, does have two tk texts widgets (text and C-text) to properly 
handle text.  Could there be a way to have a fast editor in Rebol, 
something that could handle a text of 100-200 pages in a manner that 
is as fluid as something like notepad.  I am a newbee and find MDP-Gui 
to be a nice course on how to play with text rendering.  Although 
I would rather have only one window, and alternate from the editing 
window to its rendered view.  Full window is nicer to write text. 
 Side by side is nicer to compare marked-up text to its rendering, 
but after a while, we know the rendering and simply want the fuss 
a a nicely rendered text.  I am fidling with this idea, but do stumble 
on the editor part.  I dont even know who is the culprit, area or 
the ctx-edit.  If someone has a simple solution to this, he should 
post it.
shadwolf
5-Apr-2005
[532x2]
Normand thank you for your concern about MDP-GUI. AS MDP-GUI main 
author I can say that the one vindow rendering is one of my futur 
goals. By default Area are absolutly unable to handle ritch text 
..  Carl Sassenrath plans to add a new VID widget to do so called 
TDM... (But The double formating maybe very slow). MDP redering format 
pull us to have en extensive use of VID widgets capabilities I'm 
not sure even with TMD we could reach the same level of beauty. I'm 
making some research too on my side to  found a pretty way to transform 
redered widget to editable ones keeping there settings... But so 
far I wasn't able to produce a relevent soution in this issue :)
One pist could be to systimatically clone itch widget having them 
in two ways the first one would be a redered form based on face the 
other one would be based on field and will have stricly the same 
setting than it twin  If the rendered widget recive a mouse down 
even then we substituate the redered widget base on face by it's 
clone base on field  once this last receive a key  enter  event type 
we affect the clone content to the redered widget .... But with this 
system pref will be verry slow !!! and memory consumsion will be 
twice important ...