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

rebol postscript/pdf

 [1/12] from: bry:itnisk at: 29-May-2002 10:03


I know there's the pdf maker script out there, I was wondering if there are any scripts/dialects out there for reading a postscript/pdf file?

 [2/12] from: g:santilli:tiscalinet:it at: 29-May-2002 12:16


Hi bryan, On Wednesday, May 29, 2002, 10:03:19 AM, you wrote: b> I know there's the pdf maker script out there, I was wondering if there b> are any scripts/dialects out there for reading a postscript/pdf file? Reading a PostScript actually means executing it, and it is a FORTH-like language so you'd need to write an interpreter for it etc. (Not trivial if you want to support all the language features...) PDF does not require a full-blown PS interpreter, but it's not trivial to parse in the general case (encryption, compression...), and you'd have to support a lot of things to get to be able to read most PDFs. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [3/12] from: gchiu:compkarori at: 30-May-2002 8:27


I was thinking the other day that I couldn't recall any packages that can create a desktop publication from a database eg. price lists. Some people produce price lists using Excel, but I didn't think that Excel could link cells to an ODBC source. And Publisher can't AFAIK. You can do it in Zope ( and presumably PHP4), but getting the HTML to exactly fit an A4 page is somewhat difficult. With PDF-maker, you could create the page, and bring in the data from an ODBC source ( if you have command ). Of course, creating the page in PDF-maker the very first time is a bit painful as it has to be hand coded ... but once make doc supports pdf, and tables, it could be quite a useful app. -- Graham Chiu

 [4/12] from: james:mustard at: 30-May-2002 9:58


Graham wrote:
> Some people produce price lists using Excel, but I didn't > think that Excel could link cells to an ODBC source. And > Publisher can't AFAIK.
Excel can quite easily link to ODBC data sources. To do so create an ODBC source database then: Data -> Get External Data -> New Database Query -> Select your ODBC database -> then select tables/queries/views that you want. There are various options to customize data returned and linking properties. We use this at work to display data from our MySQL WebServer. James.

 [5/12] from: gchiu:compkarori at: 30-May-2002 18:54


> Excel can quite easily link to ODBC data sources. To do > so create an ODBC
<<quoted lines omitted: 3>>
> database -> then select tables/queries/views that you > want.
Okay, thanks. As you can see, I'm not an Excel user. I'm guessing that you can write a macro that does this, and prints it out to pdf, but the Rebol solution could produce a stand alone applet. Gabrielle, are there plans to make active http links in the pdf document with pdf-maker? -- Graham Chiu

 [6/12] from: g:santilli:tiscalinet:it at: 31-May-2002 21:47


Hi Graham, On Wednesday, May 29, 2002, 10:27:05 PM, you wrote: GC> With PDF-maker, you could create the page, and bring in the GC> data from an ODBC source ( if you have command ). Of GC> course, creating the page in PDF-maker the very first time GC> is a bit painful as it has to be hand coded ... but once BTW, I have a function that creates a table from a "data source" if anyone is interested. I'm not planning in releasing it because it has some limitations and because I think I will add some support for tables in the dialect itself someday. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [7/12] from: g::santilli::tiscalinet::it at: 31-May-2002 21:50


Hi Graham, On Thursday, May 30, 2002, 8:54:23 AM, you wrote: GC> Gabrielle, are there plans to make active http links in the GC> pdf document with pdf-maker? Not in the near future, since I'm out of free time currently. However I'll try to have a look to the spec to see how much work would be involved... Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [8/12] from: jjmmes:y:ahoo:es at: 1-Jun-2002 0:06


Hi Gabriele, I just run pdf-maker-doc.r to get your documentation but I get a PDF file with just one page and 2 horizontal lines. What am I doing wrong ? Thanks --- Gabriele Santilli <[g--santilli--tiscalinet--it]> escribió: > Hi Graham,
> On Thursday, May 30, 2002, 8:54:23 AM, you wrote: > GC> Gabrielle, are there plans to make active http
<<quoted lines omitted: 17>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
_______________________________________________________________ Copa del Mundo de la FIFA 2002 El único lugar de Internet con vídeos de los 64 partidos. ¡Apúntante ya! en http://fifaworldcup.yahoo.com/fc/es/

 [9/12] from: g:santilli:tiscalinet:it at: 1-Jun-2002 2:02


------------76448E1BBED35B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Graham, you wrote: GC> I would be interested in looking at it. Would you send me a GC> copy? In attach. data-cache is an object with at least /PICK (to pick the n-th row) and /COUNT (number of rows). /PICK should return a block. columns should be like: [2 "Column 1" left 1 "Column 2" right] where the first number is the size (i.e. Column 1 will be twice as big as Column 2), the string is the column header and the word is the alignment (left, center or right). Let me know if you need any other help. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r ------------76448E1BBED35B Content-Type: text/x-rebol; name="pdf-tables.r" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pdf-tables.r" UkVCT0wgWw0KICAgIFRpdGxlOiAiUHJpbnQgdGFibGVzIHdpdGggUERGIE1ha2VyIg0KICAgIEF1 dGhvcjogIkdhYnJpZWxlIFNhbnRpbGxpIg0KXQ0KDQpjb250ZXh0DQpbICAgcHJlcGFyZS1jb2x1 bW5zOg0KICAgICAgICBmdW5jIFt4IHkgdyBoIGNvbHMgaGZvbnQgcmZvbnQgY3BhZCBycGFkIHJo IC9sb2NhbCByZXN1bHQgdG90d2d0IG5jb2xzIGN3IGNwXQ0KICAgICAgICBbICAgbmNvbHM6IHRv dHdndDogMA0KICAgICAgICAgICAgZm9yZWFjaCBbd2d0IG5hbWUgYWxpZ25dIGNvbHMNCiAgICAg ICAgICAgIFsgICB0b3R3Z3Q6IHRvdHdndCArIHdndA0KICAgICAgICAgICAgICAgIG5jb2xzOiBu Y29scyArIDENCiAgICAgICAgICAgIF0NCiAgICAgICAgICAgIHJlc3VsdDogbWFrZSBibG9jayEg bmNvbHMgKiA2DQogICAgICAgICAgICBjcDogbmNvbHMgLSAxICogY3BhZCAvIG5jb2xzDQogICAg ICAgICAgICBmb3JlYWNoIFt3Z3QgbmFtZSBhbGlnbl0gY29scw0KICAgICAgICAgICAgWyAgIGFs aWduOiBzZWxlY3QgW2NlbnRlciBbY2VudGVyXSByaWdodCBbcmlnaHQgYWxpZ25dIGxlZnQgW2xl ZnQgYWxpZ25dXSBhbGlnbg0KICAgICAgICAgICAgICAgIGluc2VydCB0YWlsIHJlc3VsdCBjb21w b3NlL2RlZXANCiAgICAgICAgICAgICAgICBbICAgdGV4dGJveCAoeCkgKHkpIChjdzogdyAqIHdn dCAvIHRvdHdndCAtIGNwKSAoaCkNCiAgICAgICAgICAgICAgICAgICAgWyAgIGZvbnQgKGhmb250 KSBjZW50ZXIgZG9uJ3Qgd3JhcCAobmFtZSkNCiAgICAgICAgICAgICAgICAgICAgICAgIChhbGln bikgc3BhY2UgLTUgZm9udCAocmZvbnQpIGxpbmUgaGVpZ2h0IChyaCkNCiAgICAgICAgICAgICAg ICBdICAgXQ0KICAgICAgICAgICAgICAgIHg6IHggKyBjdyArIGNwYWQNCiAgICAgICAgICAgIF0N CiAgICAgICAgICAgIHJlc3VsdA0KICAgICAgICBdDQogICAgZXh0cmFjdC1wb3NpdGlvbnM6DQog ICAgICAgIGZ1bmMgW2NvbHMgL2xvY2FsIHZscG9zXQ0KICAgICAgICBbICAgdmxwb3M6IG1ha2Ug YmxvY2shIDE2DQogICAgICAgICAgICBmb3JlYWNoIFt0ZXh0Ym94IHggeSB3IGggY29sXSBjb2xz DQogICAgICAgICAgICBbICAgaW5zZXJ0IHRhaWwgdmxwb3MgeCArIHddDQogICAgICAgICAgICBo ZWFkIHJlbW92ZSBiYWNrIHRhaWwgdmxwb3MNCiAgICAgICAgXQ0KICAgIGRyYXctbGluZXM6DQog ICAgICAgIGZ1bmMgW3ggeSB3IGggY29scyBibHcgdmx3IGhsdyBjcGFkIHJwYWQgaGggcmggL2xv Y2FsIGxpbmVzIHZscG9zIGh5IHR5IGNwYWQyIHJwYWQyXQ0KICAgICAgICBbICAgbGluZXM6IG1h a2UgYmxvY2shIDI1Ng0KICAgICAgICAgICAgdmxwb3M6IGV4dHJhY3QtcG9zaXRpb25zIGNvbHMN CiAgICAgICAgICAgIGNwYWQyOiBjcGFkIC8gMg0KICAgICAgICAgICAgcnBhZDI6IHJwYWQgLyAy DQogICAgICAgICAgICBoeTogeSArIGggLSBoaCArIHJwYWQyDQogICAgICAgICAgICB0eTogeSAr IGggKyBycGFkMg0KICAgICAgICAgICAgaWYgYmx3DQogICAgICAgICAgICBbICAgaW5zZXJ0IGxp bmVzIGNvbXBvc2UNCiAgICAgICAgICAgICAgICBbICAgYm94IGxpbmUgd2lkdGggKGJsdykgKHgg LSBjcGFkMikgKHkgLSBycGFkMikgKHcgKyBjcGFkKSAoaCArIHJwYWQpDQogICAgICAgICAgICAg ICAgICAgIGxpbmUgKHggLSBjcGFkMikgKGh5KSAodyArIHggKyBjcGFkMikgKGh5KQ0KICAgICAg ICAgICAgICAgIF0NCiAgICAgICAgICAgICAgICBmb3JlYWNoIHhwb3Mgdmxwb3MNCiAgICAgICAg ICAgICAgICBbICAgaW5zZXJ0IHRhaWwgbGluZXMgY29tcG9zZQ0KICAgICAgICAgICAgICAgICAg ICBbICAgbGluZSAoeHBvczogeHBvcyArIGNwYWQyKSAodHkpICh4cG9zKSAoaHkpXQ0KICAgICAg ICAgICAgXSAgIF0NCiAgICAgICAgICAgIGlmIHZsdw0KICAgICAgICAgICAgWyAgIGluc2VydCB0 YWlsIGxpbmVzIGNvbXBvc2UNCiAgICAgICAgICAgICAgICBbICAgbGluZSB3aWR0aCAodmx3KV0N CiAgICAgICAgICAgICAgICBmb3JlYWNoIHhwb3Mgdmxwb3MNCiAgICAgICAgICAgICAgICBbICAg aW5zZXJ0IHRhaWwgbGluZXMgY29tcG9zZQ0KICAgICAgICAgICAgICAgICAgICBbICAgbGluZSAo eHBvczogeHBvcyArIGNwYWQyKSAoaHkpICh4cG9zKSAoeSAtIHJwYWQyKV0NCiAgICAgICAgICAg IF0gICBdDQogICAgICAgICAgICBpZiBobHcNCiAgICAgICAgICAgIFsgICBpbnNlcnQgdGFpbCBs aW5lcyBjb21wb3NlDQogICAgICAgICAgICAgICAgWyAgIGxpbmUgd2lkdGggKGhsdyldDQogICAg ICAgICAgICAgICAgZm9yIHJ5IHRvLWRlY2ltYWwgaHkgLSByaCB0by1kZWNpbWFsIHkgdG8tZGVj aW1hbCBuZWdhdGUgcmgNCiAgICAgICAgICAgICAgICBbICAgaW5zZXJ0IHRhaWwgbGluZXMgY29t cG9zZQ0KICAgICAgICAgICAgICAgICAgICBbICAgbGluZSAoeCAtIGNwYWQyKSAocnkpICh4ICsg dyArIGNwYWQyKSAocnkpXQ0KICAgICAgICAgICAgXSAgIF0NCiAgICAgICAgICAgIGxpbmVzDQog ICAgICAgIF0NCiAgICBpbnNlcnQtcGFnZToNCiAgICAgICAgZnVuYyBbcGFnZXMgdGl0bGUgbGlu ZXMgY29sc10NCiAgICAgICAgWyAgIGluc2VydC9vbmx5IHRhaWwgcGFnZXMgaGVhZCBpbnNlcnQg aW5zZXJ0IGluc2VydCBtYWtlIGJsb2NrISAyNTYgdGl0bGUgbGluZXMgY29sc10NCiAgICBleHRy YWN0LWNvbHVtbnM6DQogICAgICAgIGZ1bmMgW2NvbHVtbnMgL2xvY2FsIGNvbHNdDQogICAgICAg IFsgICBjb2xzOiBtYWtlIGJsb2NrISAxNg0KICAgICAgICAgICAgZm9yZWFjaCBbdGV4dGJveCB4 IHkgdyBoIGNvbF0gY29sdW1ucw0KICAgICAgICAgICAgWyAgIGluc2VydC9vbmx5IHRhaWwgY29s cyBjb2xdDQogICAgICAgICAgICBjb2xzDQogICAgICAgIF0NCg0KICAgIHByaW50LXRhYmxlOg0K ICAgICAgICBmdW5jDQogICAgICAgIFsgICAiUHJpbnQgYSB0YWJsZSB3aXRoIFBERiBNYWtlciIN CiAgICAgICAgICAgIHggW251bWJlciFdICJUYWJsZSB4IHBvc2l0aW9uIg0KICAgICAgICAgICAg eSBbbnVtYmVyIV0gIlRhYmxlIHkgcG9zaXRpb24iDQogICAgICAgICAgICB3aWR0aCBbbnV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HVtbnMgY29scw0K ICAgICAgICAgICAgY3VyeTogaGhlaWdodA0KICAgICAgICAgICAgcmVwZWF0IGkgZGF0YS1jYWNo ZS9jb3VudA0KICAgICAgICAgICAgWyAgIHJvdzogZGF0YS1jYWNoZS9waWNrIGkNCiAgICAgICAg ICAgICAgICBpZiBjdXJ5ICsgcmhlaWdodCA+IGhlaWdodA0KICAgICAgICAgICAgICAgIFsgICBw bnVtOiBwbnVtICsgMQ0KICAgICAgICAgICAgICAgICAgICBpbnNlcnQtcGFnZSByZXN1bHQgcGFn ZS1mdW5jIHBudW0gbGluZXMgY29sczogY29weS9kZWVwIGNvbHVtbnMNCiAgICAgICAgICAgICAg ICAgICAgY29sczogZXh0cmFjdC1jb2x1bW5zIGNvbHMNCiAgICAgICAgICAgICAgICAgICAgY3Vy eTogaGhlaWdodA0KICAgICAgICAgICAgICAgIF0NCiAgICAgICAgICAgICAgICBmb3JlYWNoIGNv bCBjb2xzDQogICAgICAgICAgICAgICAgWyAgIGluc2VydCBpbnNlcnQgdGFpbCBjb2wgYW55IFty b3cvMSAiICJdICduZXdsaW5lDQogICAgICAgICAgICAgICAgICAgIHJvdzogbmV4dCByb3cNCiAg ICAgICAgICAgICAgICBdDQogICAgICAgICAgICAgICAgY3VyeTogY3VyeSArIHJoZWlnaHQNCiAg ICAgICAgICAgIF0NCiAgICAgICAgICAgIHJlc3VsdA0KICAgICAgICBdDQoNCiAgICBleHBvcnQg W3ByaW50LXRhYmxlXQ0KXQ0K ------------76448E1BBED35B--

 [10/12] from: jjmmes:ya:hoo:es at: 1-Jun-2002 7:48


Fixed ! It worked great via your rebsite I must have used someone else modified version Thanks --- "jose (jm)" <[jjmmes--yahoo--es]> escribió: > Hi Gabriele,
> I just run pdf-maker-doc.r to get your documentation > but I get a PDF file with just one page and 2
<<quoted lines omitted: 32>>
> > subject, without the quotes. > >
_______________________________________________________________
> Copa del Mundo de la FIFA 2002 > El único lugar de Internet con vídeos de los 64
<<quoted lines omitted: 6>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
_______________________________________________________________ Copa del Mundo de la FIFA 2002 El único lugar de Internet con vídeos de los 64 partidos. ¡Apúntante ya! en http://fifaworldcup.yahoo.com/fc/es/

 [11/12] from: robert:muench:robertmuench at: 1-Jun-2002 11:01


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
<<quoted lines omitted: 6>>
> it has some limitations and because I think I will add some > support for tables in the dialect itself someday.
Hi, yes please send a copy to me, I'm going to expand make-doc-pro to support PDF output through your pad-maker.r Robert

 [12/12] from: g:santilli:tiscalinet:it at: 1-Jun-2002 12:52


Hi jose, On Saturday, June 01, 2002, 12:06:56 AM, you wrote: jj> I just run pdf-maker-doc.r to get your documentation jj> but I get a PDF file with just one page and 2 jj> horizontal lines. Which version? It works here. I can send you the files directly if you want. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted