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

[REBOL] Re: make-doc-pro viewer

From: atruter:hih:au at: 1-Jul-2002 10:43

>> Has anyone built a good make-doc-pro viewer? I would like to >> be able to open any doc I choose and see it in its awesome format. Any
>Hi Ammon, can you explain it a bit more to me? You want a viewer, where
you can
>open a make-doc-pro formatted TXT file and immediatly get the HTML output? >Robert
I think he just wants something that will take a make-doc-pro document and render it directly in view/VID, sort of like a quick "preview" function. I have played around with variations on this theme, and the problem (much like trying to render HTML), is that while it is easy to render line based styles in view (eg. an <h1> followed by an <h2> followed by a <p> tag, etc) it is quite difficult to do intra-line styles (eg. <strong>, <emphasis> tags, or any intra-line colour changes). I got so stumped by this that I ended up creating a simple line-oriented markup language that easily renders to view (and PDF, using pdf-maker.r), nothing flash but it enables quick and easy help dialogs and simple letters / reports. I must add that rendering to a pageless scheme (eg. html) is significantly easier than a "page-aware" format (such as PDF), as you don't have to worry about how to determine where your rendered text is going to appear (and by implication, *when* you need to add page break(s)), but for printed reports PDF (or rtf if I ever get around to it!) is greatly preferable to html. So, after all that, how is make-doc-pro PDF support going Robert? I can certainly appreciate the difficulties you will / are encountering! ;) Regards, Ashley