In today’s digital age, much of the content you produce in Microsoft Word will be replicated beyond paper. Dissertations and theses are often published online. Authors of books, whether fiction or nonfiction, are choosing to self-publish, and that means making and distributing functional ebooks. Even if you write and publish long reports as a PDF, you must still consider the best way for readers to access and navigate your document.
- Create A Table Of Contents In A Pages Document Template
- Create A Table Of Contents In A Pages Document Electronically
- Create A Table Of Contents In A Pages Document Templates
- Create A Table Of Contents In A Pages Document Format
This is where hyperlinking in Microsoft Word becomes important.
- For dissertation and thesis writers, not only will creating a linked table of contents make navigating your document easier for users but the table of contents will be more easily updatable as you revise your content. Every graduate student will agree that any time saved is golden!
- For self-publishers, readers expect a table of contents in their ebooks that is clickable, and most retailers of ebooks, Amazon included, require hyperlinking. This extends beyond tables of contents to URLs that appear in your text, endnote numbers, and the like. Oftentimes, creating these links in your Word document before you convert to EPUB or MOBI (i.e., Kindle) will automatically create the links in the ebook files, especially if you use conversion services, such as those offered by Draft2Digital or freeware like Calibre.
- For any long document published online, such as in PDF, a clickable table of contents and active URLs, email addresses, and links to other documents are, in a word, essential and, frankly, expected by readers.
Click in your document where you want to create the table of contents. If you’d like it to appear on its own page, insert a page break (Ctrl+Enter) before and after inserting the ToC. In your document, create a table of contents, or use an existing table. Position the cursor at the location within the document where you want to put the TOC. Select the References tab. In the Table of Contents group, select Table of Contents, and then select Custom Table of Contents from the list. Entries, including page numbers, are pulled directly from content in your document and can be updated at any time—even across multiple documents in a book file. The process for creating a table of contents requires three main steps. First, create and apply the paragraph styles you’ll use as the basis for the TOC. For one of my blogs, I needed a simple and clean Table of Contents (ToC) implementation that uses pure HTML and CSS only (no plugins or JavaScripts). I can then manually add the ToC into any page where I want to show it. This method has the benefit of not having to load any JS files on every page of the site. Use “Plug-ins Table of Contents Create From Bookmarks” menu to insert a table of contents into the currently open document. This operation inserts new page(s) into the document by printing hierarchical bookmark titles as text.
This article describes, with the aid of screenshots, how to hyperlink content and create a linked table of contents (TOC). Let’s start with learning how to create simple hyperlinks.
Creating Simple Hyperlinks in Microsoft Word
This process is relatively straightforward. Let’s take a look.
You have a document open in Word. Perhaps your document contains a URL. Oftentimes, your user settings will be specified to automatically convert a typed URL into a hyperlink. If you type a hyperlink, e.g., http://www.google.com/, and it does not automatically link, you can turn on this setting by going to FILE → Options, so this window opens:
From here, click on Proofing on the left-hand side, then on the AutoCorrect Options button toward the top:
On the AutoFormat tab, make sure the box for “Internet and network paths with hyperlinks” is checked:
If you’re like me and would rather turn off such autoformatting, you can still create a hyperlink manually. First, type the URL into the document, then highlight it with your cursor:
Then, right click on the highlighted text and choose Hyperlink from the flyout menu (way down toward the bottom):
Create A Table Of Contents In A Pages Document Template
Doing so brings up a box:
At the top, you see “Text to display”; at the bottom, you see “Address.” To keep the URL text in the document, simply click the OK button—Word has automatically used the highlighted text as the “Text to display” and the same URL as the “Address”:
Alternatively, you could replace the “Text to display” with something else. In this case, let’s replace it with “Google”:
When you click OK, the URL you typed will now be replaced by the text “Google,” hyperlinked to http://www.google.com (because you kept that URL in the “Address” box at the bottom):
You can also, for example, simply type “Google” in your document, highlight it, right click, choose Hyperlink from the menu, and then type in the address http://www.google.com in the “Address” box. This will produce the same result.
Create A Table Of Contents In A Pages Document Electronically
You can use the hyperlink menu to link to other places within your document as well. For example, you may want to link a mention of a section to that actual section in your document. Consider the following text:
Here, we want to link the mention of “Section 2” in our text in Section 1 to the actual heading for Section 2, so that if our reader wants to jump to that section, he or she can do so with a click. (Let’s pretend that Section 2 is not right there!)
Before we can link, we need to tell Word that these are headings. We do this by using styles and formatting. Highlight both headings, then go to your HOME tab in the ribbon and choose a heading style. Word has some built in: let’s choose Heading 1. (There are a couple places this could be, depending on how Word is configured. The following two screenshots show some places you might find the styles menu.)
Now your headings are styled as headings. You can always change how they look in terms of color, size, etc. The important thing is that Word now knows they are headings. You’ve given them an ID bracelet.
Now, again, highlight the text to hyperlink and bring up the Hyperlinks box. This time, though, make sure you click on the box “Place in this document” all the way to the left. Because we have the headings formatted as headings, you’ll see that these headings are listed. Highlight the one to which you want to link and then click OK:
Now “Section 2” in the text is linked to the heading for Section 2 of the document! If you click on the linked “Section 2,” you’ll see your cursor jump down to the Section 2 heading.
You may have noticed that in the Hyperlink box, there is an option to the left for “E-mail address.” To insert a linked e-mail address, just type the address (or a name, or what have you) in the document, highlight it, bring up the Hyperlinks box, choose “E-mail address,” make sure “Text to display” says what you want it to, and then you can enter in the e-mail address and even a suggested subject line, which will automatically populate. Cool!
Now, you may be thinking that this is a good way to create a TOC as well. It is a possible way—you could type out the chapters and then link each one individually—but it’s not the most efficient. Let’s turn now to the best way to create a TOC in Word.
Creating Tables of Contents in Word
Word has a built-in TOC tool that automates the creation of TOCs and also, importantly, allows you to update them with just the click of a mouse.
First thing’s first: you’ll need to go back to your styles and formatting and format each heading in your document according to its appropriate level. For example, you could call chapter titles Heading 1, first-level headings Heading 2, second-level headings Heading 3, and so on. You can actually name your styles anything you want by creating new styles, but let’s just stick with Word’s built-in heading styles for simplicity.
Consider the following document, which I have set up with one chapter heading (Heading 1), three level-one headings (Heading 2), and two level-three headings (Heading 3). (As a side note: Word has built in a number of different formatting schemes from which you can choose. Go to the DESIGN tab on the ribbon and click through all the options there until you find one you like!)
Now, let’s make a TOC. First, place your cursor where you want the TOC to appear. Then, go to REFERENCES on the ribbon and choose Table of Contents. Wow! You’ll see a couple automatic options that Word will format for you:
Let’s choose the first one!
There it is!
The cool thing about this TOC is that you can update it with the click of a mouse. Let’s say you change a heading or perhaps you add some paragraphs so that headings appear on new pages. You can right click on the TOC and bring up a menu, from which you can choose Update Field:
Click on Update Field, and you’ll see an option to Update Page Numbers Only or Update Entire Table. If only the pages have changed, choose the first; if you’ve edited the text of headings, added new headings, or the like, choose the second option. Boom! New, updated TOC.
The more adventurous person, or more experienced Word user, can customize the appearance of the TOC by bypassing Word’s suggested TOCs and choosing Custom Table of Contents in REFERENCES –> Table of Contents:
Here you’re able to decide how many levels to show, whether to include a dot leader, how to indent or space or color or what-have-you each level, and so on.
This is a more complicated process. You would begin by choosing your tab leader (dots, no dots, etc.) and the number of levels to include in the above screenshot. Make sure “Use hyperlinks” is unchecked if you don’t want the underlined, blue hyperlink “look.” Then, you’d click the Options button, where you’d tell Word which style corresponds to which level of heading, e.g., Heading 1 is level 1, Heading 2 is level 2:
After clicking OK, you can then click the Modify button to tell Word how to style each level of heading, where TOC1is heading level 1, etc.
Once you’d made all your changes, you’d click through OK until the TOC is placed into the document.
This process is not for the faint of heart and takes some practice and experimentation to learn.
If you can’t find a formatting style that Word includes by default and don’t want to tackle the custom TOC process, you can, of course, simply go to the in-built TOC Word made for you and change things around in the normal way (change fonts, sizes, colors, etc.). However, keep in mind that if you do so and then later choose to update the table of contents, you’ll lose all your formatting.
Summing Up
That’s the gist of hyperlinking in Word. Remember that these steps are essential if you are producing a digital document or are planning to convert your document into an ebook.
Happy hyperlinking!
You may also like:
- 5 Elements of an Effective Author Website
Your author website is the hub of your online presence. Get the most out of it with these five tips.
- How To Mass Change Straight Quotes To Smart Quotes In A Word Document
- How To Format A Manuscript Using Microsoft Word
- Tips For Writing Books For Younger Children
Keep the following 12 commandments in mind. (As with most commandments, you may be able to dance around one or two, but you'd better have a good reason.)
When Apple updated its iWork apps earlier this year (see “iWork Update Brings iOS Apps Closer to Parity”, 2 April 2019), the “What’s New” pages for Pages 8.0 for the Mac, Pages 5.0 for iOS, and the Pages iCloud app all listed a “Table of Contents view” as the top new feature. Long-time Pages users who merely skimmed those pages can be forgiven for saying, “Wait a minute—I thought Pages could already make tables of contents!”
They would have been right, in part. Pages for the Mac has long been able to insert a table of contents into a document as part of its body text. However, the other versions of Pages could not make them, and the tables of contents that Pages for the Mac inserted into documents, while undeniably helpful for the eventual readers of those documents, were not particularly useful navigation tools for their writers.
The new Table of Contents view in the latest versions of Pages provides that navigational help. Appearing in a sidebar (on the Mac) or in a popover (in iOS and in the iCloud app), the Table of Contents view automatically updates itself as you work on the document and provides a quick way to move around the document—just click or tap an entry in the Table of Contents view to jump to it. As one would hope, populating a Table of Contents view is almost effortless. This new view provides other benefits as well.
Make a Navigable Table of Contents
Create A Table Of Contents In A Pages Document Templates
Tables of contents in Pages are style-based: that is, a Table of Contents view lists those paragraphs in your document that have specific paragraph styles applied to them.
Which styles? That’s up to you. Usually, you want table-of-contents entries to be short headings, so if your document has such headings, and you have applied the same paragraph style to each of those headings, you can select that heading style for inclusion in the Table of Contents view.
You use the Select Styles editor to choose the paragraph styles that your Table of Contents view looks for when it collects its entries. All three Pages apps have an Edit button right at the top of their Table of Contents views that, when clicked or tapped, displays this editor. The editor lists all the paragraph styles in the document with a checkbox by each style: check the box and the paragraphs using that style show up in the Table of Contents view. You can also establish a visual hierarchy among the Table of Contents view’s entries by using the indent and outdent controls associated with each style.
The default Blank template in Pages already includes a set of useful paragraph styles, and four of those styles—Heading, Heading 2, Heading 3, and Heading Red—have been preselected for inclusion in the Blank template’s Table of Contents view. Use those styles in any document based on that template and you’ll automatically have a usable Table of Contents view. Many of the other Pages templates also provide pre-selected table-of-contents styles. Note that it doesn’t matter if you redefine how any of these styles look, or even if you rename them: as long as they’re selected for inclusion, paragraphs using those styles show up in the Table of Contents view.
Include a Table of Contents in a Document’s Text
The new Table of Contents view does not prevent you from including a table of contents within a document’s body text. You can still do that in Pages on the Mac, and you can also now do so in Pages for iOS.
In fact, the new Table of Contents view simplifies the process: place your insertion point where you want the table of contents to appear and then click or tap the Insert Table of Contents button at the bottom of the Table of Contents view in either the Mac or iOS versions, though not in the iCloud app. Doing that inserts all the entries in the document’s Table of Contents view into the document, pre-selected and ready for formatting.
Unfortunately, you don’t have a lot of formatting control over an inserted table of contents. For example, you cannot select individual words or characters within an inserted table of contents, but you can select all the entries at each level of the table of contents. It’s all paragraph formatting, with no character-level overrides.
When you select entries within an inserted table of contents, the Format inspectors both on the Mac and in iOS offer a Text tab that provides these formatting settings:
Create A Table Of Contents In A Pages Document Format
- You can set the typeface, color, style, and size.
- You can left-, center-, or right-justify the selected entries.
- You can adjust the spacing between lines and paragraphs.
- You can show or hide the page number on which each entry begins.
In addition, with the Format inspector on the Mac, you can set a tab stop that controls where the page numbers appear, and you can set leader lines.
An inserted table of contents’ entries need not match those in the Table of Contents view—in other words, you can use a separate table of contents for navigation than the one you insert in the document. When you select an inserted table of contents, the Format inspectors on both the Mac and in iOS let you customize styles: you can choose a different set of paragraph styles to define the inserted table of contents’ entries. You can also break up the inserted table of contents so that, for example, each section of a document can have its own table of contents.
Why Enhance the Table of Contents Features Now?
Apple has been working hard for a while to bring its iOS iWork apps closer to functional parity with the Mac versions, and you can view the new table-of-contents capabilities in Pages for iOS as just another step in that ongoing project. Why Apple would want to do this is hardly mysterious: with the advent of the iPad Pro line, the company has been repositioning the iPad from being primarily a content-consumption device to being a keyboard-optional mobile productivity device. Making iWork more capable on iPads advances that strategy.
But there’s a bit more going on than that, I think, when it comes to tables of contents in Pages. Of late, Apple has focused more of its energies and resources on its Services business, a business that includes the Apple Books store. Pages has long been capable of exporting documents as EPUBs, the standard format offered by Apple Books, and recently Apple included a new item on Pages for Mac’s File menu and on Pages for iOS’s More (•••) menu: Publish to Apple Books. With that command, Pages users can easily create ebooks for sale or distribution through Apple Books. The latest update to Pages released this week even includes a new Novel ebook template.
Where do the tables of contents in those ebooks come from? From the new, easy-to-use, almost-automatic (if you use the right styles) Table of Contents view. If Apple wants to expand its book store offerings with self-published books, having a robust and user-friendly ebook-authoring app included on every Mac and iOS device couldn’t hurt.
Whether this addition to Pages pays off in this broader way remains to be seen, of course, but even if most users never make an ebook with Pages, many will still find the new Table of Contents view a useful addition. It represents what Apple can do when it’s at its best: providing powerful capabilities in an attractive, easy-to-use package.
Note: Portions of this article are adapted from Take Control of Pages, Second Edition, and are used with permission. The 347-page book provides comprehensive documentation of everything Pages can do, on any platform, so if you need help with creating and manipulating a table of contents—or anything else—purchase a copy.