Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

make-doc-pro: Version 1.0.3 beta available

 [1/5] from: robert::muench::robertmuench::de at: 11-May-2002 16:13


Hi, as I promised to some of you a new version of make-doc-pro for the last weekend (or the weekend before that) but failed to do so you will get it on this weekend. It's more a beta release this time and you can only get it through my Reb site (remember to reload the file). Why a beta release you ask? That's quite simple. I have rewritten make-doc-pro from scratch, mainly the parser and the emitter parts are now much cleaner and better to maintain. Further the code is a lot smaller ;-) about 600 lines of code. The current version has mostly everything for markup. The options, =image etc. stuff is currently missing, no indention done yet. etc. But you can write all the texts and it can now handle words like b*tree ;-)) without a problem. Oh, and it's mostly makespec, makedoc compatible now by handling explicit line-breaks in text paragraphs correctly. This should make it possible to convert all source-documents from RT. Have a look at it and let me know what you think. The gaps will be closed in the next days. Robert

 [2/5] from: rebol665:ifrance at: 12-May-2002 15:16


Hi Robert, I tested MDP 1.03 with Rebol 2.5.2. I noticed that HTML code, either expressed directly or in a rebol source (in a print statement for example) are interpreted. This could be usefull sometimes, but in my case it destroys the document. This is a little text that I have used for testing. It gives some example of the HTML problem. There are some other points and suggestions too. 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Testing MDP 1.0.3 author: Patrick Philipot date: 12-may-2002 =toc ===CGI with Rebol ! The first line is for Apache. It tells the web server where to find rebol.exe. It will be ignored if you are using PWS. ---The program Type and save this program as _cgi-hw.r_ in the cgi-bin directory of your web server. #!d:/rebview/rebol.exe --cgi REBOL [] print "Content-Type: text/html^/^/" print [ <HTML><BODY> <H1>"Hello CGI-World!"</H1> </BODY></HTML> ] ---Testing with a browser The testing must be done with a browser by typing the following URL: http://localhost/cgi-bin/cgi-hw.r \note Content-Type Gotcha ! #Notice that there are two newline ("^/^/"). /note ---Getting data from an HTML form (GET method) Here is the _hello-you-get.html_ page : <HTML><BODY> <H1> "Hello You: GET method" </H1> <FORM METHOD="GET" ACTION="http://localhost/cgi-bin/cgi-hy.r"> Name? <BR> <INPUT NAME="name" TYPE="field" VALUE="Tyler"><BR> <INPUT TYPE="submit" VALUE="Go"> </FORM> </BODY> </HTML> ===Suggestions ---Suggestion A line cannot start with a word in *bold* because *boldness* is indicated with the * character. *This* word was supposed to be bold. ---Suggestion Value including several _ characters are not expressed correctly, for example HKEY_LOCAL_MACHINE from the Windows registry, because the _ character is used for underlining text. ---Suggestion Full compatibility with makespec. ---Suggestion Full parameterization of css style. 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Patrick

 [3/5] from: robert:muench:robertmuench at: 12-May-2002 16:14


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
<<quoted lines omitted: 6>>
> are interpreted. This could be usefull sometimes, but in my case it destroys > the document.
Hi, well I think I have to escape the < and > chars... oh BTW: There are all kind of special chars that need to be escaped. Anyone written a function for this? IIRC Allen wrote one some time ago. I put it into my bug-reporter.
> ---Suggestion > A line cannot start with a word in *bold* because *boldness* is indicated > with the * character. *This* word was supposed to be bold.
I know, haven't done it yet. Within one of the next releases for 1.0.3.
> ---Suggestion > Value including several _ characters are not expressed correctly, for > example HKEY_LOCAL_MACHINE from the Windows registry, because the _ > character is used for underlining text.
Should not happen, as the rule is that the second markup char must be followed by a space. At least the actual version I have is checking this. I have updated my Rebsite to this version.
> ---Suggestion > Full compatibility with makespec.
Yes, no problem. Any incompatibilities found?
> ---Suggestion > Full parameterization of css style.
Yes, any idea how to do it? Robert

 [4/5] from: rebol665:ifrance at: 12-May-2002 19:54


Hi Robert, RM>At least the actual version I have is checking this. I have updated my Rebsite to this version. Yes, the underline problem is fixed. RM>Any incompatibilities found? [with makespec] Nop. RM>> Yes, any idea how to do it? Robert [about css styles] The CSS style are already stored in a bloc named 'stylesheets. My suggestion would be to allow using other blocks. For example, a makespec-style block, a old-make-doc-pro-style block (I liked the old yellow \note style). BTW Thank you for making Make-doc-pro. I am using it all the time. Even when experimenting with Rebol, I wanted to keep a trace of what I am doing ("verba volant, scripta manent"). MDP is the easiest way I know to make good HTML page. Patrick

 [5/5] from: robert:muench:robertmuench at: 13-May-2002 13:32


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: make-doc-pro: Version 1.0.3 beta available > Yes, the underline problem is fixed.
Hi, fine :-))
> The CSS style are already stored in a bloc named 'stylesheets. My suggestion > would be to allow using other blocks. For example, a makespec-style block, a > old-make-doc-pro-style block (I liked the old yellow \note style).
Yeah, the old note box. It's coming back I just hacked in some styles... ;-)). I have to think about this CSS customization stuff a bit more. It should be clean, easy and straight-forward.
> BTW Thank you for making Make-doc-pro. I am using it all the time. Even when > experimenting with Rebol, I wanted to keep a trace of what I am doing > ("verba volant, scripta manent"). MDP is the easiest way I know to make good > HTML page.
Great that you like it! And thanks to all of you MDP users who report errors, new feature requests etc. Keep on using it and keep on reporting to me :-)) Robert

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted