• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp31
r3wp630
total:661

results window for this page: [start: 201 end: 300]

world-name: r3wp

Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public]
btiffin:
3-Aug-2007
Carl wants such a list for   form, mold, to string!,  format (but 
that's R3), add the serial form, score some points and help the beginners 
in one grand pdf-maker datatype file.  Not much to ask, is it John? 
 :)
btiffin:
3-Aug-2007
I think it'll be a very useful and worthy entry for DocBase, but 
it would also be nice to use Gabriele's PDF-MAKER or other page layout 
for a nice reference sheet printout.
btiffin:
3-Aug-2007
So...get RT to open DocBase and I'll start right now, oh yeah and 
R3 beta for access to format  :)  Kidding... I was going to be playing 
with PDF-MAKER today, to see if I can add print functionality to 
the Desktop Librarian...maybe I'll use this as a good way learn the 
dialect.  So unless someone else steps up...I'll take a kick at it, 
for R2 datatypes anyway.
btiffin:
3-Aug-2007
I was just kidding...I'm about half way through using your pdf-maker 
(v2) to document the R2 datatypes regarding  to string! form mold. 
 Blog http://www.rebol.net/r3blogs/0092.htmlbut like I everything 
I do now-a-days, it comes pre-expired  :)
btiffin:
3-Aug-2007
To all...by the way, check out Gabriele's pdf-maker.r in rebol.org 
(the docs have a pointer to the new in-progress work for pdfm2). 
 Maybe we'll get printing from REBOL sooner than later.  :)
RobertS:
5-Aug-2007
load mold/all reduce [does [join [ Rebol" "3" ]] ;; thanks. In STSC 
APL we could use 'load' or 'laod' ...
laod: :load  ;; Rebol3 is free of wordspace worry size anxiety
;; my Rebol tutorial would include something on quotes , such as
	>>'test'
	== test'
	>>mold 'test'
	== "test''"

 >>mold join 'test' "tested"  ; note use of {} to avoid double double-quotes
	>> ""test""  ;; error - but which error and why?

 >> "'test''"  ;; be-aware that PDF files may use left-single-quote, 
 right-single-quote, left-double-quote  and single-quote != apostrophe 
 != backtick ...
;; and definitely something to include 
	>> help rejoin
	>> source rejoin

( I am now talking with a publisher. Hurray!  The hard part is behind 
me!   Now to have some fun ...   Dead-line?  What dead-line was that? 
 When!?  )
Group: PDF-Maker ... discuss Gabriele's pdf-maker [web-public]
Allen:
11-Feb-2005
Has anyone looked at the online PDF proofing market? And adapted/utilised 
 pdf-maker in that way?
Allen:
15-Feb-2005
No. google on the term "online pdf proofing" Used by publishers and 
printing to let clients markup / approve pdfs online before going 
to press.
Louis:
8-Aug-2005
I'm getting the following message using pdf-maker:


** Script Error: pick expected index argument of type: number logic 
pair
** Where: emit-space
** Near: if k: select/case pick kern

** Press enter to quit...** Script Error: pick expected index argument 
of type: number logic pair
** Where: emit-space
** Near: if k: select/case pick kern
** Press enter to quit...

Can anyone tell me what I am doing wrong?
Louis:
8-Aug-2005
Here is my code:

append top text
pdf: copy []
page: compose/deep [
    textbox [  
        font Courier 4.5 as-is (:top) 
    ] 
] 
append/only pdf page
write/binary %deposit-slip.pdf layout-pdf pdf
browse %deposit-slip.pdf
Henrik:
8-Aug-2005
about PDF Maker generally, are there plans for updating it, to support 
more fonts and better image handling?
Graham:
8-Aug-2005
Gabriele has pdf maker 2 in the pipeline ... but no eta in sight
Henrik:
9-Aug-2005
is there any official place to download pdf-maker-doc.r/pdf ? I seem 
to keep loosing it...
Henrik:
9-Aug-2005
found it.... for reference: http://web.tiscalinet.it/rebol/pdf-maker-doc.r
Gabriele:
11-Aug-2005
what you have to do is: extend the typesetter so that it can read 
font descriptions and build glyph width and kerning pairs tables 
(Volker has an AFM file parser); extend the dialect so that it can 
somehow recognize and load external fonts; study the PDF reference 
to see what you need to do to include the font in the PDF file (at 
the very least, you have to provide a font object; i'm not sure if 
this is sufficient, but i hope that the reader is able to load external 
fonts once you give it the font name and description; in theory you 
should embed the font into the PDF file, which usually means parsing 
the font file and so on)
Gabriele:
11-Aug-2005
ok, completely untested, so use at your own risk: http://www.colellachiara.com/soft/Misc/pdf-maker.r
 for View 1.3
Henrik:
11-Aug-2005
it created a PDF invoice om rebol/view 1.3 for OSX just fine :-) 
I use only boxes, lines, helvetica, helvetica bold and courier though. 
no images or anything
Louis:
11-Aug-2005
Gabriele, I'll look foreward to the update.  Actually, I use pdf-maker 
all the time.  This is the only time I have experienced a problem.
Louis:
11-Aug-2005
Henrik, pdf-maker is great. I have one program that creates mailmerge 
letters from data in an object database.  It creates a pdf file, 
allowing me to check each letter before printing it.  I can also 
pick out just one letter in the file to print.  Or, if the printer 
jams, it is easy to begin anew printing just the remaining letters. 
And, of course, I can use the program on any operating system.  Nice.
Henrik:
11-Aug-2005
louis: yes, I've used it in a few apps so far with great success, 
because it's very stable and fast. the only things I miss are better 
font handling, some better docs and importing vector drawings into 
a PDF. Getting OCR fonts in will really make it useful for me.
Henrik:
11-Aug-2005
I've also been thinking about building a very simple application 
to let you create pdf's graphically to make the process simpler. 
of course it would be no where near a DTP application, but it would 
speed up generation of more complex stuff
Henrik:
11-Aug-2005
I think there is great potential to unifying all the tools that are 
forming now: pdf-maker, AGG, SVG input and makedoc2. Allow these 
things to talk to eachother! imagine making a drawing in AGG or import 
an SVG into a DRAW and then use the very same block with layout-pdf. 
Future versions of makedoc could print pdfs as well as HTML through 
pdf-maker. by letting these tools use eachother, the combination 
could be a very fast and powerful document creation system.
Gabriele:
12-Aug-2005
AGG to PDF Maker is rather trivial for most cases; no gradients in 
PDF Maker though. i also didn't expose access to the CTM, pdf maker 
only offers higher level operations like scaling, rotations and translations.
Janeks:
23-Oct-2005
Are there any short documentation/description how to use pdf-tables.r?
Gabriele:
24-Oct-2005
1) no; 2) no. Sorry. Supporting other charsets requires changes to 
the code AND to the font metrics data. About pdf-tables, never got 
to document it at all. i don't have any simple example either, except 
from some i provided here or on the ml long time ago.
Janeks:
24-Oct-2005
Thanks for anwers!

I don't know any thing about PDF, but I did couple functions for 
encoding conversation.

Could it be a "quick hack" or it requires good background of PDF 
format ?
Gabriele:
25-Oct-2005
it might be a quick hack, but i need to check the docs for PDF... 
but IIRC for an encoding different from the default you need to provide 
a char table or something like that...
Oldes:
22-Feb-2006
Would it be possible to use PDF-maker to extract just a pure text 
from PDF files?
JaimeVargas:
22-Feb-2006
I think PDF-makes is a generator not a parser.
Oldes:
22-Feb-2006
I know, I was just thinking, if it's easily possible to use it as 
a PDF decoder, but will rather use this http://sourceforge.net/projects/pdftohtml/
and then use Rebol to parse the HTML
JaimeVargas:
22-Feb-2006
Probably it has some level of security. PDF has a layered system 
of rights.
Henrik:
13-Mar-2006
I don't think you can do that 100% within rebol, but Printfile seems 
to let you spool PS from a watched directory. Store a PDF or PS file 
in that specific directory and it will be printed. Printfile can't 
run as a service or in the background it seems.

It's easier under Linux where you can employ PDF2PS and just feed 
it to LPR, which will then print it.
Graham:
3-Apr-2006
Just wondering if it's possible to combine an existing pdf with the 
pdf-maker.  What I need to do is draw over an existing pdf....
Graham:
3-Apr-2006
I'd like somehow to plot a child's growth over the top of a pdf such 
as this.
Gabriele:
3-Apr-2006
it is possible, but not trivial; you don't actually need to change 
the pdf file, just append to it; however you need to parse it to 
do this correctly.
Graham:
3-Apr-2006
So, given such a pdf, all I have to do is figure out where to put 
the 0, 0 and the scale, and try plotting to it?
Gabriele:
3-Apr-2006
well, basically updating a pdf works this way:
Gabriele:
3-Apr-2006
the xref contains the location in the file of any pdf object (such 
as pages, fonts, and so on)
Gabriele:
3-Apr-2006
it depends on the source pdf file
Gabriele:
3-Apr-2006
if you are lucky and the source pdf has a simple structure, and all 
your source pdfs have the same structure, then this might be very 
easy
Graham:
3-Apr-2006
And this is all automated in pdf-maker2 ?  :)
Gabriele:
3-Apr-2006
nope :P and won't be for pdf maker 2 either. but you can use the 
code in the pdf maker to generate the objects and the xref
Gabriele:
3-Apr-2006
(the xref generator in the pdf maker only works for the main xref 
of the file, not the change xrefs, but it should be easy to change 
it to generate a change xref)
Gabriele:
3-Apr-2006
the PDF Reference book from Adobe is all you need to do this
Graham:
3-Apr-2006
Would it be easier to convert the pdf to postscript and then add 
the necessary ps commands??
Gabriele:
3-Apr-2006
it depends a lot on your source files. it may be easier with pdf 
if you don't need to parse much, otherwise if you need to you could 
need to implement decompression and so on.
Graham:
3-Apr-2006
I wonder if pdf2ps also extracts out protected pdf text ?
Graham:
3-Apr-2006
I converted my pdf to postscript.  So, perhaps all I need to do is 
to insert my PS commands before the "showpage" near the end of the 
ps file, and recompile back to pdf ?
Graham:
3-Apr-2006
I got my "Hello World" at the bottom of the page, bottom left.  But 
the pdf which was originally one page, now has a second blank page.
Henrik:
5-Apr-2006
easier? I thought pdf was a simpler subset of pdf?
Henrik:
5-Apr-2006
btw. on the compression issue, is it possible to decompress pdf streams 
inside rebol if they are properly massaged? I thought of building 
template pdf files, where you could search/replace the text inside 
those streams to make new pdfs
james_nak:
5-Apr-2006
Gabriele, just tried out pdf-maker for the first time yesterday. 
Very nice and quite useful.
Gabriele:
5-Apr-2006
for the typesetter, the one i'm designing for pdf maker 2 could be 
easily reused (based on TeX, and i will write it as a RLP so you'll 
have full docs)
Joe:
1-Jun-2006
Gabriele, will you have a pdf-maker 2 alpha ?
Gabriele:
2-Jun-2006
btw, I just fixed a bug with the View 1.3 version of the pdf-maker 
and images.
Joe:
7-Jun-2006
I just printed a PDF doc and it shows 3 different measures: 1) the 
preview window shows 210,02 x 297,01 2) Document: 211,0 x296,7 and 
3) Paper: 209,9x296,7 Weird!
Joe:
7-Jun-2006
So maybe PDF uses 211 for the doc but assumes the paper is 210 ?
Janeks:
29-Jul-2006
Why I am getting this error?
>> do %pdf-maker.r
Script: "PDF Maker" (2-Jun-2006)
>> layout-pdf [[textbox ["This is some text."]]]
** Script Error: Cannot use add on none! value
** Where: make-pages
** Near: pid: (2 * length? pages) + i
foreach
>>
Janeks:
31-Jul-2006
REBOL/View 1.3.50.3.1 14-Oct-2005 Core 2.7.0
Copyright 2000-2005 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
>> change-dir winpath-to-file "C:\rebol\scripts\pdf_maker"
== %/C/rebol/scripts/pdf_maker/
>> do %pdf-maker.r
>> myLayPdf: layout-pdf [[textbox ["This is some text."]]]
** Script Error: Cannot use add on none! value
** Where: make-pages
** Near: pid: (2 * length? pages) + i
foreach
>>
Janeks:
2-Aug-2006
There was a reason - already forgot it.

The only thing in user.r was the function above (except set-net) 
- and I removed it ;-)
But:
REBOL/View 1.3.2.3.1 5-Dec-2005 Core 2.6.3
Copyright 2000-2005 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
>> change-dir to-rebol-file "C:\rebol\scripts\pdf_maker"
== %/C/rebol/scripts/pdf_maker/
>> do %pdf-maker.r
>> myLayPdf: layout-pdf [[textbox ["This is some text."]]]
** Script Error: Cannot use add on none! value
** Where: make-pages
** Near: pid: (2 * length? pages) + i


Could it be connected with that I am starting rebol with view.exe 
-i ?
Graham:
2-Aug-2006
>> do %pdf-maker.r
Script: "PDF Maker" (11-Aug-2005)
>> myLayPdf: layout-pdf [[textbox ["This is some text."]]]
== #{
255044462D312E330A342030206F626A0A3C3C202F54797065202F466F6E7420
2F53756274797065202F5479706531202F42617365466F6E74202F48656C...
>>
Graham:
2-Aug-2006
perhaps your version of pdf-maker.r is corrupted?
Gabriele:
3-Aug-2006
seems very strange to me, the pdf maker should not worry about -i 
(doesn't touch view-root etc.)
Gabriele:
3-Aug-2006
Everyone using the PDF Maker on View 1.3 should update to this version, 
as previous ones contained bugs.
Gabriele:
4-Aug-2006
my plan is to eventually have that in version 2 (a first release 
of version 2 is due in a couple weeks). however, note that while 
the pdf format directly supports latin1 encoding, it does not support 
unicode encodings directly. so it's a pain to make it work. openoffice, 
for example, creates divides the characters you use in the document 
in groups of 256, then creates a new custom font for each group. 
(i also assume that the 14 standard fonts do not support unicode, 
so you need custom font support to be able to use unicode.)
Henrik:
4-Aug-2006
I would want those things as a layer above pdf maker
Henrik:
5-Aug-2006
this question might not entirely be related to PDF Maker, but I had 
an idea of using Pages for MacOSX to create pretty PDF documents 
with areas where text can be put in by a separate program and then 
create a new PDF (not X-Forms) for printing. This would require the 
ability to search/replace text in PDFs. Is this possible with compressed 
PDFs?
Gabriele:
11-Aug-2006
just typeset the first paragraph with the total-fit algo and actual 
font metrics. now i just add some page breaking (first fit), add 
the pdf file output from previous version, and i've got an alpha 
to test. :) (i'll be on vacation next week so this probably means 
the alpha will be available after that)
Gabriele:
11-Aug-2006
the pdf maker is not a markup language :) it's a (rather low level) 
dialect. you generally want to hook up higher level mls to it (like 
makedoc and qml)
Pekr:
25-Aug-2006
hmm, looked at PDF, what is special about two columns output? :-) 
Disclaimer - I know completly nothing about what typesetting is, 
so bear with me please :-)
Graham:
25-Aug-2006
pdf maker - you have had to specify exactly where the text went.
Graham:
25-Aug-2006
Now pdf-maker2 appears you to allow text to flow from one place to 
another .. which is important if you don't know how much text you 
are starting with.
Gabriele:
25-Aug-2006
graham: i'm not using a dictionary, and i'm not sure i want to do 
that in the pdf maker. i think it's more low level than that. otoh, 
doing so could provide some optimization (don't hypenate if it's 
not needed, like TeX does), so i'm not completely against it.
Graham:
25-Aug-2006
Not sure .. I think I would want to see it at the pdf-maker level
Gabriele:
25-Aug-2006
that means the pdf maker has to be aware of the language of any paragraph 
(or part of paragraph) and so on.
Gabriele:
25-Aug-2006
i want this to stay at a upper layer. :) i will have to do it anyway 
- i'll have to do the pdf emitter for qml for e.g.
Gabriele:
25-Aug-2006
anyone interested in writing the user documentation for the pdf maker 
2?
Henrik:
25-Aug-2006
sure, but it would require that I know something about pdf maker 
2, wouldn't it? :-)
Henrik:
25-Aug-2006
do you want it to be based on the PDF Maker 1 docs?
Gabriele:
25-Aug-2006
e.g. http://www.colellachiara.com/soft/PDFM2/pdf-maker.html#section-3
gives a description of the dialect that you can base the user docs 
on.
Gabriele:
25-Aug-2006
iirc underline is not supported directly by PDF, but the new typesetter 
could probably add that. not high pri right now (although qml will 
need it - actually, it'll need strikethrough)
Graham:
26-Aug-2006
pdf-maker does layers?
Gabriele:
29-Aug-2006
pdf-maker updated (docs almost finished)
Gabriele:
30-Aug-2006
new update. (notice that it produces funny results now in test.pdf, 
but this is only temporary). can now typeset lines of variable height.
Gabriele:
30-Aug-2006
new update - can now set fonts. (test.pdf now even more funny ;)
Gabriele:
31-Aug-2006
new update - check out test.pdf ;)
Gabriele:
31-Aug-2006
new update - now uses the total-fit algorithm for page breaking too. 
(major improvement wrt TeX). only works if columns have the same 
width (so there's no example of it in test.pdf yet)
Gabriele:
1-Sep-2006
see test.pdf for an example of typesetting a long text into columns, 
with headers etc. (doesn't break just after a header and things like 
this)
Gabriele:
2-Sep-2006
pdf maker can't do this, because manual intervention is in general 
not desirable. (i.e. an app that uses the pdf maker to produce invoices 
should not expect the user to manually fix the layout if there are 
problems)
Louis:
3-Sep-2006
Does REBOL have to support unicode before PDF-Maker can support unicode?
Gabriele:
3-Sep-2006
oldes: i have an utf8 parser too. however it's not that easy because 
the PDF format does not support unicode directly. you have to create 
custom fonts. i have to study this in detail, but i noticed that 
OpenOffice generates a font for each set of 256 characters.
Graham:
5-Sep-2006
Any chance of being able to create pdf forms ?
Group: Web ... Everything web development related [web-public]
Pekr:
5-Feb-2005
There is nothing wrong with Adobe PDF imo ...
Graham:
6-Oct-2005
I want to use REBOL web server to take a tex file, and spit out pdf 
using pdflatex.  Anyone suggest a suitable server?  Cal's ? Others 
?
Graham:
7-Oct-2005
Trying out Cal's version .. need to define "pdf" "application/pdf" 
so it displays those.
Graham:
7-Oct-2005
So, to render PDF, I do this

write %/d/rebol/rebgui/www/referral.tex tmp
either zero? ret: call/wait "d:\rebol\rebgui\www\pdflatex.bat" [
            browse/only http://127.0.0.1:8001/referral.pdf
][

            alert join "Failed to print.  Batch file failed with return code 
            of " ret
]

and pdflatex.bat is just

copy referral.tex c:\texmf\
c:
cd \texmf\
pdflatex referral.tex -output-directory=d:\rebol\rebgui\www\
Graham:
8-Oct-2005
Because if I just browse to the pdf, Acrobat locks the file which 
prevents me from rewriting the file.  This way, I can rewrite, and 
Acrobat reloads it.  Also I avoid writing lots of temporary files 
if I were to change the file name to bypass Acrobat file locking.
Group: Announce ... Announcements only - use Ann-reply to chat [web-public]
Philippe:
21-Oct-2005
Hello, for french people : the french translation of Core User Guide 
is finished. You could find it on the Rebol Documentation Project 
: http://www.rebdocproj.org/article.php3?id_article=197, in PDF 
version.
Philippe:
21-Oct-2005
Same in french / Le même en français : la traduction française du 
User Guide de REBOL Core est terminée. Elle est disponible sur le 
site du Rebol Documentation Project http://www.rebdocproj.org/article.php3?id_article=197, 
en version PDF. Enjoy !
Group: !REBOL3-OLD1 ... [web-public]
Pekr:
20-Apr-2006
imo every novice will go into the same kind of trouble with references 
issue .... but iirc Core docs in pdf explained it even graphically, 
so I would urge novices to learn those facts first ...
201 / 66112[3] 4567