Table of Contents
A Table of Contents allows users to click and jump down to a specific place within one page, without scrolling. A Table of Contents is effective when the material on your page is rather long. It works by recognizing and displaying headings and sub-headings as a condensed list.
- Open your page. Click on "Edit."
- Enter or paste in your text. Headings and sub-headings give more logical coherence to your text when you use at least two headings, and at least two sub-headings. The following screen shot shows plain, unformatted text. Notice the format box on the right of the green edit bar: the format selection reads "Normal paragraph."
- To create each heading: choose the word or phrase that will serve as your first heading. Highlight that word or phrase. Find the formatting box on the right half of the green Kupu command bar (immediately to the right of the word HTML); on the pull-down menu, choose Heading. This will give you a large gray title, with an underline. Repeat procedure with the remaining headings.
- Below each heading, in the text which follows, choose the word or phrase which will serve as the first subheading. Highlight that word or phrase. Find the formatting box on the right half of the green Kupu command frame; on the pull-down menu, choose Subheading. Repeat for other subheadings.
- Above the green Kupu bar, find the five tabs in the center of the page. Select "Settings." In "Settings," choose the fourth option, "Table of contents."
- Hit Save. A small box should appear on your page, showing your headings and subheadings as a simple Table of Contents. By the way, a Table of Contents will disappear when you click Edit. To see it, you'll need to be in view.
- To remove a Table of contents, go back to Settings and click to remove the check mark next to that option. To rearrange items in a T of C, just cut and paste headings/subheadings in any order you like. Afterwards, check to make sure the headings remained in Heading format, and the subheadings remained in Subheading format. When you click Save the Table of Contents should rearrange the thumbnail headings in the box to fit your new order.
- If you want to "demote" a heading into normal text, removing its accompanying underscore line, just highlight that word or phrase and choose Normal Paragraph in the format box. (As long as the heading remains there in heading format, trying to delete the underscore line alone by backspacing over it won't work.)
Removing Superfluous Numbers in your T of C
Kupu’s T of C function expects to find at least 2 headings (one at the very top of your page), each with at least 2 sub headings. If any of these is missing, Kupu will attempt to fill in missing headings or subheadings, which in turn leads to the odd effect of redundant or superfluous numbers automatically appearing next to subheadings. To correct this, look at the organization of your page. Try to add any missing elements, and then the T of C should correct itself.In one case, a heading with 2 subheadings, Kupu added a dark blotch of superimposed numbers 1-10 next to one subheading, and called the next one #11! Edit > html showed that after the heading, I’d added a whole batch of carriage returns – and Kupu read these as a whole list of html-code <h3> headings! It therefore assumed an imaginary set of subheadings for each imaginary heading. Deleting these lines of <h3> heading code and saving the page solved the problem.
In another case, an extra numeral 1 appeared at the very top of a T of C. The page contained subheadings (and a heading with subheadings, lower down) but no main heading at the top of the page. The software recognized the subeadings, but when it looked for a heading and didn't find it, it generated a number 1 to the first available subheading! The editor fixed this by typing a few words to serve as a page heading, and saved the phrase in Heading format. (Another quick option would be to change ALL of your headings into subheadings.)