add index and glossary support