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

[REBOL] Re: pdf-maker.r

From: g:santilli:tiscalinet:it at: 18-Apr-2002 21:45

Hi Luis, On Thursday, April 18, 2002, 6:56:33 AM, you wrote: DLAT> Question 1: Why won't page three (below) print the contents of the DLAT> variable named letter? Because PDF Maker's dialect does not evaluate words. (That needs to be added somehow, I hope I will be able to someday. :) Workaroud: use compose/deep. write/binary %pig.pdf layout-pdf compose/deep [ [ ;page 1 textbox [font Courier 4.8 "Example text 1."] ] [ ;page 2 textbox [center font Helvetica 2.8 "What?"] ] [ ;page 3 textbox [font Courier 4.8 (letter)] ] ] DLAT> Question 2: Is it possible to read into pdf-maker.r a pre formatted DLAT> text-only document (like that contained in the variable named letter DLAT> above), and have it printed as pre formatted without further coding? Or is DLAT> it necessary to change linefeeds to newline or ^/ etc.? DLAT> Question 3: How can one turn off justification? You can use the following paragraph alignments: textbox 15 100 100 160 [ justify {This paragraph will be justified. This is the default paragraph alignment. Original text formatting is lost.} left align {This paragraph will be left aligned. Original text formatting is lost.} right align {This paragraph will be right aligned. Original text formatting is lost.} center {This paragraph will be centered in the textbox. Original text formatting is lost.} as-is {This paragraph will be left aligned. The text will be rendered as is, so the original formatting is preserved. This is what you are looking for if I understand correctly.} ] DLAT> Question 4: I have version 1.21.0 of pdf-maker.r. Is that the latest? Yup. :-) DLAT> Question 5: I have a 6 page pdf-maker-doc.pdf, and a pdf-maker-doc.r. Is DLAT> there more documentation somewhere? Unfortunately, no. I am the one to blame for this. DLAT> Question 6: What is the purpose of the following line at the beginning of DLAT> pdf-maker-doc.r: It's the image of a REBOL face that appears in the second page. DLAT> Thanks for making pdf-maker.r available, Gabriele! I'm very glad you find it useful! Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r