From: lepage@... Date: 2006-08-04T01:10:06+09:00 Subject: Re: PDF::Writer Table of Contents problem 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 Austin Ziegler wrote: > On 8/3/06, lepage@gmail.com 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 > -- > Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ > * austin@halostatue.ca * http://www.halostatue.ca/feed/ > * austin@zieglers.ca