« first day (1365 days earlier)      last day (2415 days later) » 

1:33 AM
@rgchris do you have scripts that convert makedocpro to markdown?
 
 
2 hours later…
3:09 AM
@rgchris Thanks Chris. I did have a go at that some time ago but wasn't successful at getting it working (didn't get to work out what the issue was). For now I'll develop my interface on Graham's http scheme and see whether I hit any issues or can make it a preference as to the underlying mechanism.
 
 
5 hours later…
7:44 AM
R2 question: Is it possible to detect whether the console window is open, say, in a VID program? I'd like to record this in a bug report.
 
@Henrik scan for window titles?
 
how? the console window is not a View window.
 
7:59 AM
gets the process id for your app, and then searches all the child windows
 
Not really. The console window should be clearly identified.
 
I know I use a function called WindowTitle to give any console windows unique titles.
Still thinking of how to organise the Rebol3 documentation.
Now that I got softcover working, I can convert from markdown to html, pdf, mobi and epub.
So, I propose that we have a repo on github with all relevant docs in markdown format as used by softcover. If there's a commit, then somehow automate the generation of new pdf, html etc and upload them somewhere.
Softcover's markdown format allows you to markup code using pygments so we can colorise Rebol3 source inline.
softcover is oriented to producing books rather than documents so not sure how that works yet.
 
 
5 hours later…
1:34 PM
@Brett The pure-Rebol version was a bit unreliable, but the Curl version is fairly solid (albeit with the obvious Curl dependency).
@HappySpoon Not exactly, I can load MDP documents though. Give me a sec...
 
 
1 hour later…
2:55 PM
The AsciiDoc emitter could be adapted for that purpose: reb4.me/md/asciidoc.r
 
 
5 hours later…
8:12 PM
@rgchris the makedoc stuff seems to lack any documentation?
 
8:59 PM
So, to read in a mdp document and convert to asciidoc, we need to have %asciidoc.r local, and also %mdp-paragraph.r as well as %mdp-document.r
make-doc/custom to string! read r3gui.com/docs/developer/actors/actors.txt [paragraph: %mdp-paragraph.r document: %mdp-document.r markup: %asciidoc.r]
should convert that mdp document to asciidoc?
 
 
1 hour later…
10:21 PM
pastebin.com/ZheE9aUG Here it says I can't use "m and n"
I'm trying to find sum of multiples of 3 and 5
 
@user3398747 if type? m and n <> decimal! [sum: sum + i] ; won't work
If you want the number that is both divisable by 3 and 5, then
if all [ integer? m integer? n ][ sum: sum + i ]
 
10:47 PM
thanks. and if I wanted either divisible by 3 and 5, I need any function. now to see the next exercise on the project euler site
 

« first day (1365 days earlier)      last day (2415 days later) »