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

World: r3wp

[Make-doc] moving forward

Josh
6-Dec-2005
[667x2]
OK, I updated the MakeDoc2 file per MikeL's changes and here is a 
URL for testing:   http://www.cs.grin.edu/~shirema1/makedoc2.r
Worked ok for me
Volker
6-Dec-2005
[669]
Quick work :)
Josh
6-Dec-2005
[670x2]
Thank you
MikeL
james_nak
12-Dec-2005
[672]
Is there a way to make blank lines (also blank boxes) in Makedoc?
Volker
12-Dec-2005
[673]
if nothing else: html. <br> <p>
btiffin
12-Jan-2006
[674x3]
Hi,
Hi,
Is there any easy way to get blank columns in makedoc tables?
[unknown: 9]
12-Jan-2006
[677]
\table

<BR>


=row

<BR>


/table
btiffin
12-Jan-2006
[678x2]
Thanks Reichart, I was just about to post that I stumbeld on a non 
breaking space  &nbsp; solution.
And then I stumbled on posting stumbel
eFishAnt
13-Jan-2006
[680]
makespace
[unknown: 9]
13-Jan-2006
[681x3]
Am I correct that tables in MakeDoc are only vertical?!!?
Meaning, the the top is darker than the rows.
Is there way to make a table in MakeDoc that has the first column 
all dark, then each column to the right is white?
Ashley
14-Jan-2006
[684]
You want row headings instead of column headings. Not supported.
Graham
14-Jan-2006
[685]
It's not supported by html
[unknown: 9]
14-Jan-2006
[686]
In HTML I can colour the table cells on the left, and leave the other 
columns clear.  So that should work.
Ammon
14-Jan-2006
[687]
Actually, it's pretty simple to do it in HTML:

<table>
    <tr>
        <th>One</th><td>one</td>
    </tr><tr>
         <th>Two</th><td>two</td>
     </tr>
</table>

Just use TH instead of TD where you want the Header cells to be.
btiffin
16-Jan-2006
[688]
.
btiffin
17-Jan-2006
[689]
.
Thør
1-Apr-2006
[690]
.
Henrik
16-Nov-2006
[691]
Is it me or is there not a hidden option to make 2 column output 
in makedoc 2? I seem to remember one.
Gabriele
16-Nov-2006
[692]
some versions have something like that, not sure the official version 
does.
MikeL
16-Nov-2006
[693]
Henrik, I am not sure what you mean but this makes a two column table 
for me

\table

Column1 Heading

Column2 Heading

=row

Cell 1,1

Cell 1,2

=row

Cell 2,1

Cell 2,2


/table
Henrik
16-Nov-2006
[694]
Mike, I was thinking like this: http://www.rebol.net/docs/makedoc.html
Louis
17-Nov-2006
[695]
With MakeDoc2 is there any way to comment out a block of text you 
don't want to print? I found =: but that doesn't seem to work. Or 
perhaps I just don't know how to use it.
Gabriele
17-Nov-2006
[696x2]
put ; in front of the paragraph
henrik, the source to that page uses \column ... =column ... /column
Louis
17-Nov-2006
[698x2]
Gabriele, Thanks! I should have known to try the REBO way. But the 
comment in MakeDoc2 says to use "=: "
REBO = REBOL
Henrik
26-Nov-2006
[700x2]
; Options still need work!!!
 <---- found this in the source code for makedoc 2 on rebol.org


Does this mean that reusing makedoc in the same run-time session 
really is broken? If I turn off table of contents for one doc, it 
will not be on for the next for example.
I found a bug that accumulates the options over several documents. 
maybe I can fix it...
Henrik
27-Nov-2006
[702x3]
Fixed!
set 'scan-doc func [str /options block] [
    clear out
    title: none

    if options [
        if find block 'no-title [title: true]
    ]
    emit options opts
    clear opts
    str: join str "^/^/###" ; makes the parse easier
    parse/all detab str rules
    if verbose [
        n: 1
        foreach [word data] out [
            print [word data]
            if (n: n + 1) > 5 [break]
        ]
    ]
    out
]
options are now cleared properly before a makedoc document is scanned.
Brock
8-May-2007
[705]
To Brian's comments on Make-doc.  I've tried using it as well.  I 
found it was great for short documents and started to get hard to 
us as we moved to larger documents.  i shouldn't say hard to use, 
but hard to edit the document once I made changes or stumbled across 
errors in the original.  I should have used 'find' more, as it really 
was difficult to scroll around and find where you were in a larger 
documents.  Has anyone else experienced the same thing?
Geomol
8-May-2007
[706]
Yes, I have some problems navigating my large documents in NicomDoc 
format, which is original based on MakeDoc. I use search/find a lot. 
Maybe a syntax recognizer using colours would help.
Brock
8-May-2007
[707]
I was thinking a conscious effort in adding lots of additional blank 
space in the document would help better define paragraphs and sections 
of the document.  So it's ignored by the MakeDoc parser, but gives 
the user a better visual hint, which is what the difference is between 
the text and the output.
btiffin
8-May-2007
[708]
Perhaps a syntax highlighter for kate or other folding editor would 
help?  Not that I know

anything about syntax files for editors...I haven't run PC edits 
in a long while, but most
editors now support code folding.  At least in Linux land.
Brock
9-May-2007
[709]
May be the answer.  Might have to look into this the next time I 
play with Make-Doc
Henrik
9-May-2007
[710x2]
I would like to see a rewrite that lets it work on a series of text 
documents, build a TOC an link to subdocuments, like the HTML REBOL/Core 
manual.
and allow insertion of automatically scaled images
james_nak
8-Jul-2007
[712]
This is an odd one. I just re-downloaded makedoc2.r and for whatever 
reason I can get it to output. The html file includes only <% page-body 
%> despite the in input including the examples. ANyone have any ideas?
btiffin
8-Jul-2007
[713]
james;  My quick test worked out ok.  Do you have a local template.html 
maybe?  Which version did you snag.  I just pulled one out of rebol.org 
with Version: 2.5.7  Date: 10-Mar-2007  And then saved the MakeDoc 
Example from http://www.rebol.net/docs/makedoc/fastmd.htmland it 
worked as expected.
james_nak
8-Jul-2007
[714x3]
Btiffin, let me check...
I have the same makedoc version 2.5.7 and view 1.3.2.3.1. I've tried 
that exact example as well though with verbose on I am seeing an 
error:

** Script Error: copy expected range argument of type: number series 
port pair
** Where: debug
** Near: copy/part here find here newline
Without verbose on I don't get the error but then I don't get the 
output either. I'll check to see if it thinks I need a template. 
Shouldn't of course.