OpenOffice.org Off-the-Wall: ToCs, Indexes and Bibliographies in OOo Writer
Unlike some word processors, Writer does not include any autoformats for indexes or tables. However, it does include options for formatting indexes and tables in almost any way you can imagine. Most of these options are available from Insert -> Indexes and Tables -> Indexes and Tables or Edit Index/Table on an index or on a table's right-click menu. The Columns and Background tab sets the look of the index or table in general ways, but the most important formatting options are available on the Entries tab.
The most important part of the Entries tab is the Structure diagram at the top. The rest of the tab contains options appropriate for whatever type of index or table you are producing, but the Structure diagram is where individual entries are laid out. For those familiar with FrameMaker, the Structure diagram is analogous to the TOC entries on the Reference pages of the document.
The Structure diagram consists of building blocks that you arrange to form an entry. For example, the building blocks for a ToC include the Entry text, Page number and Tab stop. Buttons for the building blocks available for a particular type are arranged below it. You can add building blocks to the Structure diagram in any order by placing the mouse cursor in a vacant spot in the diagram and then clicking the button. Most buttons are grayed out once they are added in order to keep you from using them again. If you want to delete a building block, select it and then press the Delete key.
Many building blocks also offer formatting options. Character styles, for example, can be used to format the Entry text differently from the rest of the entry. You also can choose the fill character to use in a Tab stop. By default, this fill character is set to a period to produce the leader dots that MS Word has conditioned everyone to consider the norm. In fact, leader dots between a ToC entry and its page number is proof of poor design and easily can be replaced by a design that places the page number a few spaces before the text entry.
If the document is intended for on-line use, you can use the Hyperlink building block to place a link start (LS) and link end (LE) button in the structure. By default, adding either of these buttons formats the link using the Internet link character style, formatting text in blue with an underline. If you prefer, however, you can set the character style to default, while still having the links.
Entries for different levels can be structured differently. More likely, though, you want to select the All button on the right side of the Structure diagram to give all levels the same structure. Some indexes and tables also have other options below the Structure diagram that you can use.
In addition, all levels of an index or table have their own paragraph style. These styles have obvious names. Content styles, for example, are used for standard ToCs, and Illustration Indexes are used for lists of graphics. If an index or table has levels, separate styles exist for each level, such as Bibliography 1 or Index 3. Each type also has a Heading style. Unfortunately, all the styles for all types of indexes and tables are children of the single Index style. You easily could create a template, however, in which all Content styles, for example, are subordinate to Content 1 for convenience. Do so by using the Linked With field on the Organizer tab of Content 2-10. All of these paragraph styles appear in the Automatic view the first time that a table or index is created.
When all contents is tagged, creating a basic index or table a is straightforward task:
Place the mouse where you want to position the index or table. If you are using a master document, the index or table can be in the master document rather than being a separate sub-document.
Select Insert -> Indexes and Tables -> Indexes and Tables -> Index and Table.
Select the Type from the drop-down list.
To prevent casual editing, select the Protected Against Manual Changes box. This option means that the index or table can be changed only by using the current dialogue box and not from within the body of the document.
Select any other options. The available options depend on the type of index or table selected. However, most choices have to do with the contents included.
Select the OK button to create the index or table. The index or table is a field, so it appears in a gray background.
If you want to edit the index or table later, place the mouse cursor anywhere in the index or table. Then, use the right-click menu to update, delete or revise it. If the index or table uses hyperlinks, place the cursor in the heading.
-- Bruce Byfield (nanday)
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
|Trying to Tame the Tablet||May 08, 2013|
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- New Products
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- The Pari Package On Linux
- Home, My Backup Data Center
- New Products
- Dart: a New Web Programming Experience
- This is the easiest tutorial
5 hours 1 min ago
- Ahh, the Koolaid.
10 hours 39 min ago
- git-annex assistant
16 hours 39 min ago
- direct cable connection
17 hours 1 min ago
- Agreed on AirDroid. With my
17 hours 12 min ago
- I just learned this
17 hours 16 min ago
17 hours 46 min ago
- not living upto the mobile revolution
20 hours 37 min ago
- Deceptive Advertising and
21 hours 13 min ago
- Let\'s declare that you have
21 hours 14 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.