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

World: r3wp

[Make-doc] moving forward

james_nak
8-Jul-2007
[719]
Thanks, btiffin, I changed the template-file to false. Now I'm goning 
to check if that is in the script.
btiffin
8-Jul-2007
[720]
I can't even find  page-body  anywhere in the source code.  And the 
<%  %> makes me curious too. It might be something on the server 
side.
james_nak
8-Jul-2007
[721]
Well, at least my mind wasn't playing tricks on me. The version in 
the script library has the template set to a file. Thanks for the 
hint!
btiffin
8-Jul-2007
[722x2]
%template.html  is a "one-of" default.  If it is not found it uses 
the embeded copy.  This code here
	if not no-template [

  template: any [select opts 'template select doc 'template template-file]
		if file? template [template: attempt [read template]]
		if not template [template: trim/auto default-template]
	]
It's actually pretty handy.
I'm starting to think you have more of a server side issue somewhere. 
 Something is tripping that <% page-body %> to get sent as the 'page' 
instead of the actual expanded page-body.
james_nak
8-Jul-2007
[724]
Could be but since it works I can get back to creating. I think you're 
right in that there is more than meets the eye.
PatrickP61
27-Jul-2007
[725]
Where can I find the latest make-doc.txt file used the make the Make-doc.html 
page at http://www.rebol.org/cgi-bin/cgiwrap/rebol/documentation.r?script=makedoc2.r
btiffin
27-Jul-2007
[726]
My house  :)  Unless you mean the actual useful example page at http://www.rebol.net/docs/makedoc/fastmd.html
in which case I don't know.  The doc I did for the library is mostly 
just a pointer guide to other guides.


When looking at the the docs in rebol.org you should see a Download 
Documentation As: HTML or editable.  The editable version is very 
close to the orignal source text  to get a clone of the original, 
just cut out the 5 or 6 lines of download header.  The first line 
of the original is

Introducing %makedoc2...
PatrickP61
27-Jul-2007
[727]
Thanks Brian,  Yep the editable version worked just fine!!!
btiffin
27-Jul-2007
[728]
That'll work for some docs, but a lot of rebol.org documentation 
is in Mulch.  The mulch processor isn't released for offline use 
yet.
PatrickP61
27-Jul-2007
[729]
You know, its kind of funny.  When I saved the document on my computer 
and opened it via wordpad, it opened up just fine.  When I renamed 
it from .r to .txt and then reopened it, wordpad had a lot of funny 
characters in it.  I had to rename it back to .r  reopen the document 
using wordpad and then did a save as .txt.  Now it looks just fine. 
 Must be a unicode thing or something like that!
btiffin
27-Jul-2007
[730]
Yeah, it's amazing that good old text format is now starting to break 
down as we head toward different encodings.  System designers like 
to outsmart themselves sometimes.  :)  Not that advancing out of 
an English only ASCII character set is a bad thing, but it may take 
a while to get everything back to quick and easy again.
Will
24-Jan-2008
[731]
What is the status about writing great docs? mac-doc? what is latest 
version? or QML or other? thank you!
btiffin
24-Jan-2008
[732]
My opinion; makedoc2.r is the preferred RT markup engine.  I like 
to promote Gabriele's PDF-Maker as well.  For DocBase, you need to 
get used to wikitext.  Take a look at http://www.rebol.org/cgi-bin/cgiwrap/rebol/documentation.r?script=makedoc2.r
for a fairly complete view of the various tools at our disposal. 
 Some are awesome domain enhancing tools such as John's nicomdoc 
with the math extensions.
Geomol
25-Jan-2008
[733x2]
I just found some broken links in my NicomDoc 2 spec at http://home.tiscali.dk/john.niclasen/nicomdoc/NicomDoc.html
Those should be fixed now.
I've been using NicomDoc with math for almost a year and a half now 
at university. It must be one of the fastest way there is to write 
equations. Many examples of use can be seen in my notes at: http://www.fys.ku.dk/~niclasen/
Will
9-Apr-2008
[735]
What is the status of MD? which one would you suggest or are you 
using the most? md, mdp, md3, nicomDoc ?
Geomol
9-Apr-2008
[736]
I guess, I shouldn't answer this. ;-)
btiffin
9-Apr-2008
[737]
I use makedoc2 right out of rebol.org and one I call makecv, that 
strips out all the ardornment from the default template.  Orginally 
modified for a resume, comes in handy for a few things.  nicomDoc 
for that rare times I need math.  But to be honest, Mulch, the markup 
used in a lot of the rebol.org documentation is pretty nice; but 
to use it you need to document rebol.org <wink><wink>  Sadly, I'm 
now getting too used to wikitext from DocBase.
Will
9-Apr-2008
[738x2]
Thanks, I'll go with md2 from rebol.org then
wooo.. my bad I just see I asked the same question in January.. sorry 
;) maybe I need holidays..
amacleod
25-Apr-2008
[740x2]
I'm having a problem with tables n Makedoc2: 
\table header
Extension_Ladders | Closed_Length | Weight |||
35'  | 20' | 135 lbs.
25'  | 15'  | 100 lbs.
24'  | 14' | 80 lbs.
16'  | 10' | 70 lbs.
/table

I'm getting a table that is six cells across and two rows down (Header 
and 1 row). - Not what I'm  looking for.
\table header
Extension_Ladders | Closed_Length | Weight ||
35'  | 20' | 135 lbs. ||
25'  | 15'  | 100 lbs. ||
24'  | 14' | 80 lbs. ||
16'  | 10' | 70 lbs. ||
/table
Getting closer: Now I have two cells and 6 rows.
Robert
25-Apr-2008
[742]
Is this make-doc2? Look a bit like MDP... ;-) If it's MDP remove 
the last || before the /table line. Because otherwise it means: Ok, 
add an other row. But there is not content coming.
amacleod
26-Apr-2008
[743]
THanks
Geomol
29-Nov-2008
[744]
NicomDoc has been moved to: http://www.fys.ku.dk/~niclasen/nicomdoc/

(NicomDoc is a document format based on MakeDoc2 with math formulas 
and some other stuff.)
Sean
5-Jan-2009
[745]
I'm using md2 v2.5.7 and cannot get the template function to work 
correctly. Is anyone having the same issue? In the file i use =template 
template_name
Henrik
5-Jan-2009
[746x2]
hmm... I never used it, so I can't tell whether it works or not.
could you describe the problem more closely?
Sean
5-Jan-2009
[748]
Henrik, when i have =template template_html_file as an example in 
the txt file and run md the parser just ignores it and uses the builtin 
template and does not use the seperate templating file
Henrik
5-Jan-2009
[749]
according to the make-doc code, it reads the file using:

if file? template [template: attempt [read template]]


so if it's not being read, it's being ignored, so perhaps check if 
the file can be read in the same console as make-doc uses.
Sean
20-Feb-2009
[750]
do we have a make-doc with a PDF emitter? I would like to use make-doc 
with a cgi script to create registration forms and PDF them before 
mailing
Robert
20-Feb-2009
[751]
I have basic PDF emitter for my make-doc-pro.
Sean
24-Feb-2009
[752]
Robert, is your PDF emitter something i can use? How could i try 
it out :)
Robert
25-Feb-2009
[753x2]
Well, I didn't touched it for a long time. So it's very basic (should 
have noted this more clear). I can send you all the parts and you 
can take a look.
Let me know.
Carl
29-Dec-2009
[755:last]
There is a simple question I need your help with regarding MakeDoc. 
Please see:
http://www.rebol.com/article/0446.html