World: r3wp
[Rebol School] Rebol School
older newer | first last |
Geomol 8-Feb-2009 [1934] | kib, yes :-) |
Janko 8-Feb-2009 [1935] | kib2: technically , that is not a function but a block of code (which is very usefull) :) .. sorry to be a smartass |
kib2 8-Feb-2009 [1936] | Is there any tool to edit and view at the same time rebDoc files ? I've an idea... |
Geomol 8-Feb-2009 [1937x2] | kib, like "Easy VID"? Go to ViewTop and REBOL.com/Demos/Easy VID When you read a page, you can click the code and see how it evaluate. |
The whole Easy VID is a 15.1 kb script. You can right-click an icon on the ViewTop to see source, size, etc. | |
kib2 8-Feb-2009 [1939x4] | Geomol: no, I mean something to write documentations for a rebol lib. |
but Easy VID is really great (but I don't like the fonts) | |
2 secs, I'm making a screenshot | |
Like this : http://tinyurl.com/cfetnn(that's the tool I've build to make my posts on my blog) | |
Geomol 8-Feb-2009 [1943x2] | Ok, got it. Carl use MakeDoc to make his documentation, I use NicomDoc (my version of MakeDoc). I don't know of a tool, that can show you the result, while you type. |
kib, so that's a good project for you! :-) | |
kib2 8-Feb-2009 [1945] | Geomol: I think so :) But for the moment it's in Python (and Qt4). Is there any browser-like widget in the Rebol GUI ? |
Geomol 8-Feb-2009 [1946x2] | VID has many of the things needed: view layout [h1 "Heading 1" h2 "Heading 2" text "some text"] |
Maybe someone wrote a HTML viewer in REBOL? You could try search the library: http://www.rebol.org/ | |
kib2 8-Feb-2009 [1948] | great ! and can you make some parts of text to be bold or italics, etc ? |
Geomol 8-Feb-2009 [1949] | view layout [text italic "italic text" text bold "bold text"] |
Henrik 8-Feb-2009 [1950] | there is limited freedom in VID for that in that each face must have one style, so if you want to render large chunks of formatted text, it may be a bit slow. this is solved in REBOL 3. |
Geomol 8-Feb-2009 [1951] | To make to look good with italic and bold text in the middle, you can use the function SIZE-TEXT to get the layout sizes. |
kib2 8-Feb-2009 [1952] | Geomol: so I've to study VID this week, but R3 seems so nice compared to R2 on this point. |
Geomol 8-Feb-2009 [1953x3] | Yes, it takes some more work to do it in R2. |
But still, compared with other languages, it's probably easy enough. | |
I'm going to bed. Night! And happy coding! :-) | |
Henrik 8-Feb-2009 [1956x2] | in R3, the DOC style is a miniaturized makedoc. |
night | |
kib2 8-Feb-2009 [1958x2] | good night Geomol, I follow you ! |
Good night Henrik, see you | |
Janko 8-Feb-2009 [1960] | incorporating webkit into rebol would certanly open whole new window of possibilites .. (but at this point it would also distract focus) |
Chris 8-Feb-2009 [1961x2] | K: If I could write the ALA article again, I would do it differently - even if the underlying principle endures. |
G: there was at least one View-based browser/HTML viewer, but it was one of FrankS's disappearing FX5 scripts. | |
DideC 9-Feb-2009 [1963] | I also give it a try. Not really a browser, just an HTML renderer with view/draw. But rendering HTML is a very complex thing to do, especially the layout, tables... So it is only able to render texte styles. |
Henrik 9-Feb-2009 [1964] | In the long run, it's probably better to adopt something like webkit. Creating a good HTML rendering engine is a monstrous task, but I would like to see an extension of the DOC style for good document reading. |
Janko 9-Feb-2009 [1965] | I fully agree wiht Henrik |
DideC 9-Feb-2009 [1966x2] | Yeah, DOC style is a good start. But there are already great things with R2 : remembering HyperNotes (In R2 Desktop, rebol.com, Contest) this is a Makedoc based and rendering is just fine, with links and so on !! |
It could be a good base for a remote Wiki editor. Just add an HTML generator to convert to static pages tree. | |
kib2 11-Feb-2009 [1968x2] | Hi ! |
How could I run a Rebol script from the command line (without using Rebol's own console). I've tried typing : "rebview.ewe myfile.r" (idem with rebcore) form a windows console, but the output disappear instantaneously. | |
Pekr 11-Feb-2009 [1970] | You want output to windows console? I am not sure it is possible with rebol console. It is possible with R3 though. If you want to stop your script, just add "halt" command at the end of your script, it will not close the console ... |
kib2 11-Feb-2009 [1971] | (I'm running under Windows 7) |
Pekr 11-Feb-2009 [1972x2] | Maybe I just don't understand, what you're trying to achieve ... |
also - type >> usage in rebol console to see possible options ... | |
kib2 11-Feb-2009 [1974x2] | Pekr: yes, I want to output to the console. |
But thanks, "halt" solved my problems as I can now launch my script from my editor and watch the Rebol's console output. | |
Janko 11-Feb-2009 [1976x2] | I am not sure if you can run rebol script in "real" console on windos, but on linux you can |
I mean , I didn't see that options on windows | |
kib2 11-Feb-2009 [1978x2] | Janko: it seems to me that it's not possible. |
Can someone help ? I want to know why my second title is not recognized : http://clojurepastebin.appspot.com/1007 | |
Henrik 11-Feb-2009 [1980] | Looks like the rest of the text is handled like one big paragraph. |
kib2 11-Feb-2009 [1981] | Henrik: sure, but why ? |
Henrik 11-Feb-2009 [1982] | I would guess you want a paragraph to be parsed until two newlines occur? |
kib2 11-Feb-2009 [1983] | Exactly! Also, running this snippet in R3 does not bring the same result. |
older newer | first last |