Re: [greenstone-users] Header Page on Paged Images

From Katherine Don
DateThu, 23 Sep 2004 10:58:05 +1200
Subject Re: [greenstone-users] Header Page on Paged Images
In-Reply-To (4151F3F0-4030005-devurandom-org)
Hi Deryck

Good question. I've just had a quick try at this, and you are right, it
doesn't look like DocumentText is used for the header page. Not sure why
this is. You can get around this by modifying the DocumentHeading format
and putting stuff that you want in the header page in the heading
instead. [NumPages] is a good metadata to use for the test of header
page or not - the header page will have NumPages metadata while the
other pages wont. The problem with this is that the table of contents
(which may be a goto page box) will appear under heading. If you dont
like this, try using the extended formatting options, and then you get a
lot more control over the heading format.
Using the extended options disables the old DocumentContents,
DocumentButtons and DocumentImages format statements, so these things
need to be specified by hand.
The entire document page is now specified by DocumentHeading and
DocumentText.
Here is an example:

format AllowExtendedOptions true
format DocumentHeading "<center><table width=537><tr><td>
{If}{[NumPages], [DocTOC]<p>[metadata or stuff that you want for the
heading page], [Title][DocTOC]}</td></tr></table>"

format DocumentText ".. use what you had previously ..."

Have a play with this and see if you can get what you want.

Regards,
Katherine Don

Deryck Hodge wrote:
> Hi, all.
>
> I am trying to build a sheet music collection for Auburn University
> Libraries in Greenstone. I have been very impressed with the package so
> far, though I do have one question. I have looked through the
> documentation and searched the mailing list archives with no luck, so if
> this is a rehash of a previous post/issue, I apologize.
>
> My question: most collections I've seen using PagedImgPlug appear to use
> the plugin with it set to 'noheaderpage'. I would like to use a header
> page, but I can't figure out how to configure the page. If I use
> 'format DocumentText', only the numbered pages of images are affected.
> What macros are used in this page? Or, what 'format XXX' should I use?
>
> Ideas? Comments? Or somewhere else I can look for info?
>
> Cheers,
>
> --deryck
>
> ----------------------------------------------------------------------
> Deryck Hodge http://www.devurandom.org/
> Cataloging Department http://www.lib.auburn.edu/
> Web Editor, Samba Team http://www.samba.org/
> GnuPG Key http://www.devurandom.org/gpg_pubkey.asc
>
> I am flawed but I am cleaning up so well.
> --Dashboard Confessional, from "Vindicated"(2004)

_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users