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

World: r3wp

[Make-doc] moving forward

James
31-Jan-2005
[420]
Ah. This is where it pays off to know basic HTML. :)
Geomol
31-Jan-2005
[421]
:)
James
31-Jan-2005
[422]
Thanks! I'll have to do that.
Geomol
31-Jan-2005
[423]
Problem is, if you wanna build a system to have other output than 
HTML.
James
31-Jan-2005
[424x2]
True. That would be a little more difficult.
What about layouts? Do those work the same?
Geomol
31-Jan-2005
[426]
I've written a MakeDoc2 summary. Look here: http://home.tiscali.dk/john.niclasen/nicom-md2-spec.html
James
31-Jan-2005
[427x2]
Cool. Now I have a reference!
Thanks again.
Geomol
31-Jan-2005
[429]
You're welcome!
shadwolf
1-Feb-2005
[430]
Geomol is right I had to add the parsing of =url flag into the Ashley 
MD2-IDE rendering process to adapt it to the MDP format
Geomol
2-Feb-2005
[431x4]
I'm going on skivacation for a week, but I desided to put my work 
so far on the NicomDoc document format up on my website. It's NOT 
version 1.0 yet, so some features are not supported. I'll write a 
short specification in a moment.


Parsing a NicomDoc document to HTML goes in two passes, first the 
raw document is converted to RebXML format. This is done by this 
script:
http://home.tiscali.dk/john.niclasen/nicomdoc/nicomdoc.r


Next the RebXML version is converted to HTML. This is done with this 
script:
http://home.tiscali.dk/john.niclasen/nicomdoc/rebxml2html.r


I've also made a little script, that will do the whole conversion 
in one go by calling the other scripts. It works much like calling 
makedoc2.r, and it can be found here:
http://home.tiscali.dk/john.niclasen/nicomdoc/ndoc.r


Those of you, who want to work with this format, e.g. make VID output, 
should work from the RebXML version of the document (after first 
parsing from raw document to RebXML with the first script), because 
this script handle all the complicated rules, so the RebXML version 
is much easier to work with.
Specification here: http://home.tiscali.dk/john.niclasen/nicomdoc/NicomDoc.html

Example of use: http://home.tiscali.dk/john.niclasen/nicomdoc/example.txt

And the output: http://home.tiscali.dk/john.niclasen/nicomdoc/example.html
Notice! As this is not version 1.0 of NicomDoc, some things will 
probably change. The namespace might change. Example: I use 'p' for 
paragraph in the RebXML version to make it short (also if someone 
wants to make XML output, which is bloated), but I might change it 
to have a more saying name for a paragraph. And URL keyword might 
go away and be replaced by a more general term like a reference.
It's of course possible to make XML output of a NicomDoc document 
by first parsing it with nicomdoc.r and then use http://home.tiscali.dk/john.niclasen/rebxml/rebxml2xml.r
on the RebXML version. And back again with http://home.tiscali.dk/john.niclasen/rebxml/xml2rebxml.r
Piotr
3-Feb-2005
[435]
wikiDoc = makeDoc with dokuwiki syntax; 
http://www.rowery.olsztyn.pl/wspolpraca/rebol/wikiDoc/
shadwolf
5-Feb-2005
[436x2]
and wiki rendering like to ... it's closer from IRC or chat or web 
php/forum it include Smyleys ;)
It could be included to rebforum work  As soon we restart working 
on it ... we are waiting for rendering  for Ritch Text enhancement 
 (TDM) to rework on it
eFishAnt
6-Feb-2005
[438x2]
I love the way makedoc2.r shows the out of place markups...so you 
can see why something didn't work...for example, if you do a # without 
the para...it shows the out of place # in the html
makes it REAL easy to fix ML typos.
Henrik
13-Feb-2005
[440]
has there been any ways suggested with making colspans in tables? 
otherwise I would suggest a:

\colspan

col1

col2

col3

/colspan


tag. Just build the table as normally and enclose the columns you 
want in a specific row with those tags.
Geomol
13-Feb-2005
[441]
It's tricky to make tables easy to produce for the writer, and at 
the same time give opportunities to have colspan and rowspan. And 
do we have the need to have tables within tables? That'll just make 
it even more complicated. I guess, learning by doing is a good way 
to figure it out. (That's one idea behind my NicomDoc format. To 
try things out.)
Henrik
13-Feb-2005
[442]
I suggested this, if tables were to continue with their current syntax 
in makedoc2. The syntax has the advantage, I think, that cell contents 
can be complex or almost an entire document in itself, but bigger 
tables are hard to overview in text. I don't think this tag will 
cause the current method to become that much more complex.
DideC
13-Feb-2005
[443]
Do one knows why "=url" is not part of makedoc 2.6 (nor 2.5) ??
eFishAnt
18-Feb-2005
[444]
you can inline the HTML, I discovered...
shadwolf
18-Feb-2005
[445]
sure but why the =url as been retire for it ? it simplifies the creation 
of links
shadwolf
23-Feb-2005
[446x4]
brand new version of MDP-GUI 1.3.6 is available here: http://rebol.dev.fr/view.php?sid=151
what's new : - Better rendering images and tables support. Try to 
load the default make-doc-pro.txt that come with Make-Doc-Pro
to see all the parsing rendering improments
new link http://rebol.dev.fr/view.php?sid=152
Robert
23-Feb-2005
[450]
Shadwolf, looks pretty cool!! Tables look very good. Is italic supported?
shadwolf
23-Feb-2005
[451x7]
good question ;)
marker parsing as MDP  format or as HTML flags
are coded but I don't know if all are perfectly parsed;)
Underlined,blod are supported italic ~text~ is not supported
Has I  forget toremove a disgracingprobe I can fix that too
k fixed ;)
http://rebol.dev.fr/view.php?sid=154
shadwolf
27-Feb-2005
[458x2]
[MDP-GUI DEV NEWS ] I improved the rendering speed by 300% integrating 
the MDViewer rendering method that ASHLEY created. That new algorithm 
really rocks !!! I had to change the inline formating flags to conserv 
the most speed. I conserv the ashley way to deal with inline marcker 
has HTML tags (e.g: <b>text bold</b>) I adapt ashley's code for all 
little  other différences that exist beetwin MD2 and MDP format. 
Next step is to enhance the toc rendering process. I remade the first 
start up process. I plan to give MDP-GUI.r, make-doc.r, make-doc.txt, 
ms-word.gif, in a single ZIP archive that make easier the release 
and use. As johnatemps says to me people wants to download and use 
and not try to configure the program durring lot of time.
maybe later i will wrap all the zip package into a .exe file using 
grebox wrapper from shadwolf and spag' :)
Geomol
2-Mar-2005
[460]
New version of NicomDoc is out. It's still not v.1.0, so things will 
change.


Specification: http://home.tiscali.dk/john.niclasen/nicomdoc/NicomDoc.html

Example: http://home.tiscali.dk/john.niclasen/nicomdoc/example.html

Example source: http://home.tiscali.dk/john.niclasen/nicomdoc/example.txt

Main script (this is the one, you should run. Works like makedoc2.r.): 
http://home.tiscali.dk/john.niclasen/nicomdoc/ndoc.r

NicomDoc to RebXML script: http://home.tiscali.dk/john.niclasen/nicomdoc/nicomdoc.r

RebXML to HTML 4.01 script: http://home.tiscali.dk/john.niclasen/nicomdoc/ndrebxml2html.r


Changes from previous version are: simpler tables, better magic mode 
(rich text), better handling of paragraph states like centered text 
(won't effect the inner of e.g. tables), better handling of faulty 
input, tables within tables, same with notes (not sure, if you could 
that in previous version) ... and probably some more, I can't remember.


You need atleast REBOL/Core 2.5.3, because of new break word within 
parse rules. So it won't work with official REBOL/View 1.2. Get a 
newer one!
Micha
3-Mar-2005
[461]
how do to exchange on document html rebol ?
Anton
3-Mar-2005
[462x2]
Micha, I do not understand. Please ask again another way? What is 
your native spoken language ?
Oh, you mean "how to export a NicomDoc document --> html" ?
shadwolf
3-Mar-2005
[464]
according to micha's  email I would say he is from polonia ;)
DideC
3-Mar-2005
[465]
Poland not Polonia ;-)
shadwolf
3-Mar-2005
[466]
oups sorry
Anton
3-Mar-2005
[467]
Poland = Polonia ?
shadwolf
3-Mar-2005
[468]
foreign countries names are not my best point :)
Anton
3-Mar-2005
[469]
No luck finding a free polish - english translator..