Hello,
I am having some problems with the PDF::Writer gem. I cannot get the
table of contents to display any items.
Has anyone had this problem or used this library? I am unable to get
feedback using their rubyforge mailing list.
I hope someone can help me.
Thanks in advance!
Tony
On 8/3/06, [email protected] [email protected] wrote:
I am having some problems with the PDF::Writer gem. I cannot get the
table of contents to display any items.
Has anyone had this problem or used this library? I am unable to get
feedback using their rubyforge mailing list.
I’m pretty sure that I replied and I indicated that I was on vacation
at the time.
The table of contents support is only applicable to bin/techbook
(PDF::TechBook) and requires PDF::TechBook-formatted documents. If you
want anything else, you need to create your code based on the TechBook
class code and implement it yourself. There is not general
table-of-contents support in PDF::Writer as a whole.
So, what exactly are you trying to do?
-austin
Hey Austin,
Thanks for the reply, I must have missed your reply somehow.
Anyway, I began by using the module.pwd and modifying it to get a feel
for how to make it work. I changed the title page, generated a pdf,
then the content of the document, generated the pdf… and continued
until I was able to successfully make the pdf I need with a table of
contents and all.
Unfortunately, I would make a small change and then the table of
contents would only show up as the only heading (black background,
white text, etc.) and none of the other #s in the document
would be parsed. I’ve been trying to remove any comments (#comment)
from within and outside the .eval {{{ tags. I have no luck yet though.
Thanks again,
Tony
On 8/3/06, [email protected] [email protected] wrote:
from within and outside the .eval {{{ tags. I have no luck yet though.
If you can send me the code (off-list), I will try to figure it out
this weekend.
-austin