From: Paul F. <pf....@gm...> - 2011-10-09 20:14:22
|
On 10/9/11, Brian Matherly <br...@gr...> wrote: > The problem is that in order to make an index with page numbers you have to > know what page certain information ended up on. We use cairo for the layout > engine for PDF. So we don't really know what page any given piece of > information ended upon. If you just want an index of names in the report > with no page numbers, it can be done easily in Gramps. But if you want page > numbers or links within the document, you need a tighter integration with > the layout engine. No, of course I want to know the page numbers, since I wouldn't consider it an index if it didn't have such pointers. Maybe we are approaching the problem from the wrong direction? Maybe a search should be made (I haven't) for some open-source program out there which will generate in index for any multi-page PDF document? I haven't thought about it before but it isn't hard for me to imagine such a program already existing. Then it would only be a matter of somehow hooking it into gramps, after the cairo stage was over -- always assuming that cairo itself can't do it, which would be the ideal solution. I wasn't playing close attention as Adam added HTML links into all the backends. Maybe this problem is similar enough that he might be interested? Just a thought. I don't mean to be pushy. Thanks. |