[greenstone-devel] Imaged pages and link to PDF file

I had done this in a previous version of Greenstone and have not tried it with the current release but it should work.

Let?s say your item file, jpg and text directories are all in the collection?s import directory in a subdirectory called book1. You have a file called book1.pdf and it is in the same directory as the item file. The pdf file must have the same base name as the item file, book1.item and book1.pdf. Use the following line in the collection?s collect.cfg file:

The ?assciate_ext pdf is what connects the pdf file to the item file; Greenstone will not do any processing of the pdf file itself. You can set the other options according to your needs. Newer versions of Greenstone have changed the plugin name to PagedImagePlugin.

You can produce a link to the pdf file by using [pdf.assoclink] in a format statement.