[pmwiki-users] How to create a simple standalone PDF document with internal links

Randy Brown randy at brownragfilms.com
Tue Sep 22 09:32:22 CDT 2009


What's the simplest way to create a PDF page with internal links and  
anchors using PmWiki?

I'd like to create a standalone PDF document, which contains a list of  
page summaries and sections extracted from the pages in my wiki, with  
each item cross referencing the others. For example, if my wiki's  
Apple page refers to the Fruit page, I'd want to end up with a PDF  
that looks like:

Apple - Summary of the apple page. See also: Fruit

[..1000 lines later...]

Fruit - Summary of the fruit page.
etc.

A reader who clicks on "Fruit" would go to the Fruit line.

I know how to cut and paste my current PmWiki page into an Open Office  
document, and then print that as a PDF. That gives me what I want  
except that the links all reference the online wiki. I want links that  
reference anchors on the PDF page itself.

I'm using pagelist and my own local template to create my page, so I  
have control over what appears on it. I'd be happy to put into that  
local template whatever code is needed to create the internal links  
and anchors.

Or I'd be happy to copy the page into Open Office and do a global  
replace there to make everything resolve correctly. As long as I end  
up with a standalone PDF document whose links work.

Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090922/06266751/attachment.html 


More information about the pmwiki-users mailing list