Difference between revisions of "Creating a Table of Contents"

From Scribus Wiki
Jump to: navigation, search
m
(Added hint on dotted lines)
Line 24: Line 24:
  
 
* Refresh the Table of Contents by selecting '''Extras->Generate Table Of Contents'''. You're done!
 
* Refresh the Table of Contents by selecting '''Extras->Generate Table Of Contents'''. You're done!
 +
 +
=Hints=
 +
* In case you're wondering how to get dotted lines between the titles and page numbers: Simply adjust the style for the TOC and select "Dot" as fill character.
  
 
=The whole procedure as a movie=
 
=The whole procedure as a movie=

Revision as of 10:48, 12 October 2007

This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other

Requirements: Scribus 1.3.0 or newer

Configuration

Creating a Table of Contents requires some configuration in your Document settings before it will be able to generate the list for you.

Go to File->Document Setup and then to the Document Item Attributes screen. These attributes are metadata that can be attached to any item for any number of reasons. For example, you may wish to put some author's details in a frame's attributes list. For now, all we need to do is create a new Document Attribute by clicking on the Add button. Just put TOC in the name field and leave the rest blank/default.

Creating a TOC

There are three more steps to actually use the TOC generator.

  • Go to File->Document Setup and then to the Table of Contents and Indexes screen. Add a new Table of Contents, if necessary, and select TOC as its item attribute name. Select an existing empty frame in your document that will hold the table of contents.


Doc setup toc and indices.png


  • Right-click on those text frames that should generate an entry in the table of contents. Click on Attributes... (or go to Item->Attributes). If no attribute with the name TOC exists, add one by selecting it from the list. You also have to put in a Value, this should be the title of the entry in the table of contents.


Page item attributes toc.png


  • Refresh the Table of Contents by selecting Extras->Generate Table Of Contents. You're done!

Hints

  • In case you're wondering how to get dotted lines between the titles and page numbers: Simply adjust the style for the TOC and select "Dot" as fill character.

The whole procedure as a movie

(c) Craig Bradney, 2006 The content of this page is licensed under the Free Documentation License.