PDF-Maker questions
[1/4] from: robert::muench::robertmuench::de at: 1-Feb-2002 13:33
Hi, I just started to add a PDF emitter to make-doc-pro. Therefore I use
pdf-maker from Gabriele. I have some questions:
1. How are line breaks done inside a textbox? I can see the use of 'newline, 'p
and 'P
2. Is it correct that textboxes are not positioned one after the other if no
position is given? So I have to position them myself on the page?
3. If 2 is true: How can I find out how big a layouted textbox will be? I have
to do some textbox positioning algorithm (reminds me about TeX). Has anyone done
such a thing already?
4. I read the docs to pdf-maker but saw that you use a lot more words in
pdf-maker-dor.r Would it be possible to get a short description for these
things?
Thanks. Robert
[2/4] from: g:santilli:tiscalinet:it at: 1-Feb-2002 20:48
Hello Robert!
On 01-Feb-02, you wrote:
RM> 1. How are line breaks done inside a textbox? I can see the
RM> use of 'newline, 'p and 'P
'p ends the current paragraph (as any alignment command). 'newline
forces a "line wrap", exactly as if the text was too big to fit
the current line.
RM> 2. Is it correct that textboxes are not positioned one after
RM> the other if no position is given? So I have to position them
RM> myself on the page?
You have to give the position. However, you'll need multiple text
boxes only if you are going to do multiple columns etc.
RM> 3. If 2 is true: How can I find out how big a layouted
RM> textbox will be? I have to do some textbox positioning
You give it a size. :) (There's no way to know how much space the
text will use, however. So you'll have big problems trying to
guess where to break pages... Maybe I should implement that
asap...)
RM> 4. I read the docs to pdf-maker but saw that you use a lot
RM> more words in pdf-maker-dor.r Would it be possible to get a
RM> short description for these things?
Yes, just ask me. :))
Feel free to send me any question you have etc.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/
[3/4] from: al:bri:xtra at: 2-Feb-2002 9:20
> RM> 1. How are line breaks done inside a textbox? I can see the
> RM> use of 'newline, 'p and 'P
>
> 'p ends the current paragraph (as any alignment command). 'newline forces
a "line wrap", exactly as if the text was too big to fit the current line.
Also, be sure to use the literal word 'newline, not the value of 'newline. I
made this mistake and it took me a while to work it out.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
[4/4] from: g:santilli:tiscalinet:it at: 2-Feb-2002 16:33
Hello Andrew!
On 01-Feb-02, you wrote:
AM> Also, be sure to use the literal word 'newline, not the value
AM> of 'newline. I made this mistake and it took me a while to
AM> work it out.
BTW, if you use the 'as-is paragaph alignment, you can use newlines
in the text too.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/