Re: [greenstone-users] Table of Contents display control

From Stefan Boddie
DateTue, 17 Jun 2003 15:45:07 +1200
Subject Re: [greenstone-users] Table of Contents display control
In-Reply-To (4-3-2-7-2-20030616152247-03935988-mail-wrlc-org)
Hi Allison,

> What controls the display of Table of Contents on the right side? I am
> talking about the display of a book with the book cover on the left side
> and table of contents on the right side. I could not find any macros
and/or
> format strings that can change the display of the table of contents.
>
> If I can change the display, I would like to
> 1. remove the open book icon and the title. Because the open book icon
goes
> back to the Title list, which the Title browse can do. OR
> 2. put a link to the full-text document on the top, so the open book link
> goes to the full document.
> 3. make all text linked on Table of Contents. Currently, only the icons,
> such as the page icon (itext) , the folder icon, etc, are linked.
>

You're fairly limited with what you can do with the table of contents. It's
generated by the C++ code at runtime and isn't very flexible.

There are a couple of things you can do that may or may not be useful:

1. Adding the following to your collect.cfg will prevent the table of
contents from being displayed at all:
format DocumentContents false

2. You can use format statements to control each line of your table of
contents, just as you use them to control classification listings. For
example, try adding the following to your collect.cfg file and see what
happens.
format DocumentVList "some random stuff"
You should be able to use this to implement your third point above. With
clever use of metadata and format statements you might be able to do the
other two as well.

Hope this helps,
Stefan.

> Any ideas?
>
> Thank you very much!
>
> Allison
>
>
> Allison Zhang
> Manager, Digital Collections Production Center
> Washington Research Library Consortium
> 901 Commerce Drive
> Upper Marlboro, MD 20774
> Phone: 301-390-2049
> Fax: 301-390-2020
> Email: zhang@wrlc.org
> www.wrlc.org
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>