Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

create_index

Summary

Creates an index based on the specified keywords.

Usage

pdf( create_index )

Description

This function creates an index page from a collection of keywords. The keywords must be specified using the "keyword" PDF template function. The index will start on the next page, and consists of the specified keywords with their corresponding page number.

Examples

Example 1

{pdf( 'text', 'Index page demo.' | wash( 'pdf' ) )}
{pdf( 'keyword', 'apples' )}
{pdf( 'keyword', 'bananas' )}
{pdf( 'create_index' )}

This example creates an index page using the following keywords "apples" and "bananas".

Balazs Halasy (13/05/2004 2:05 pm)

Balazs Halasy (28/04/2005 7:43 am)

Balazs Halasy, Raymond Bosman


Comments

There are no comments.