https://macmost.com/e-3851 You can use the Table Of Contents functionality in Pages for more than just a basic table of contents. You can also use it as an index to content like images, illustrations, tables and charts as long as you set up and maintain your paragraph styles.
This video tutorial demonstrates how to create a professional illustrations index in Apple Pages by utilizing multiple tables of contents. The presenter explains how to use custom paragraph styles to distinguish between chapter headings and image titles, allowing for the generation of separate, interactive lists that automatically update page numbers.
Hi, this is Gary with MacMost.com.
Let me show you how to create an illustrations index
in your pages documents
and show you lots of other pages tips along the way.
So let's say you've got a document like this.
It's got different chapters here
and I've used a different style for the chapters
and also you've got some illustrations as well.
And you wanna have like little titles
and captions for the illustrations throughout the document.
But what you want in the end
is not just a regular table of content
and showing you all the chapters
but also an index of illustration
showing you where each illustration is
and if it's a PDF that you're creating
allowing you to jump right to different illustrations.
So you can do this rather easily
by creating not one but two table of contents
in your document.
That's right, you can create more than one.
So first let's look at creating that first one
just to see how table of contents are created.
So here's my example document
and you can see I've got chapter titles here
and these are on lines by themselves.
So it's important that they be on lines by themselves
and they have a style set
in this case using the heading style.
The other paragraphs like these are using body style
and if I look at all of the different chapter headings here
you could see that that is using heading style
the rest is using body style.
This is very useful because I can actually update the style
and it updates all the chapter headings
but also it's required if you want to do a table of contents
so I'm going to put the cursor there at the beginning
and do insert and then insert a table of contents
for the document.
And now when I do that
it's going to generate a table of contents
and there it's got eight chapters.
The way it knew there were eight chapters
is it found eight lines that were heading style.
Matter of fact if I go to customize style here on the right
see it says table of contents because that's what's selected
I could see that the heading styles only one checked.
If I had other styles here like heading two, heading three
I could check or uncheck those
and they would be included in the table of contents
if checked.
What this is basically doing
is looking for all of the paragraphs with heading style
putting them in a list
and then putting the page numbers here to the right.
That's all table of contents does.
So it's easy to create a table of contents
but what about the images or illustrations like this?
Well we can create a second table of contents
that references just those.
The trick is to use another paragraph style for those.
So I've got this image here
and with this image I've set it for a range
to inline with text.
I like that because then this image
is basically like its own line of text.
Matter of fact it is.
If I go to view and then show invisibles
you can see there's the paragraph mark there,
the end of this line
and there's a paragraph mark here, the end of this line.
This image is basically the only character
on this line of text.
I can insert a blank line before and it pushes this down.
It is inline with the text.
So that's how I've got that.
Now I also have two lines below this.
This I'm calling the image title
and this is the image caption.
Now I could select the image here
and under style for the image
I could turn on title and caption
and then I get these little text boxes here
for title above and a caption below.
The only problem with those
is they're not part of the body text
so they can't be used for a table of contents
or index of illustrations like we're gonna create.
You wanna have these be part of the regular text
but they're not body text, they're something different.
So for instance for this one
instead of having it be body text
let's go ahead and make it different.
I'm gonna make it bold, italics.
I'm going to center it
and then I'm going to maybe make it just a tad bigger.
And instead of this being body text
I'm going to click here and click the plus button
to create a new paragraph style
and I'm going to name it image title.
Then I'm gonna select the next line
which I'm gonna call caption
and I already have a caption style.
I can't actually use this
but what I'd rather do is create my own.
This is gonna be centered, this is going to be italic
and I want some space after this.
I'm going to add after paragraph spacing of like eight pixels
and I'm going to create this
and call it image caption like that.
I can go further than that.
I can select the line that the image is on.
Now I can go in and say let's add before paragraph
little space there and maybe a little bit after paragraph
so there's a little space afterwards
before the title I know that is coming.
And I can call this image like that.
So I have image caption and image title.
I can also, if I want, select the image
and then instead of being text here
now it's everything that applies to the image
on the right side.
And there are styles here like this style, like that
but maybe I want to customize it.
Instead of this here I'm going to increase the border a bit.
I'm gonna make it a little bit bigger like that.
And then I'm going to go to the next page of styles,
click the plus button and I created my own custom style
for the image itself.
This will be useful because I could apply it
then to all of the images and update all the images.
Matter of fact, let's just do that.
If we're happy with how this looks,
let's go to the next illustration here.
Here it is.
I'm gonna select the illustration itself, the image itself
and I'm going to use that style like that.
But I'm also going to select the paragraph
that the image sits on because it's in line with text
just like all the others.
When I insert each image, I made it in line with text.
I'm going to change the style for this to that image style.
That'll give it the little spacing at the top and bottom.
For this paragraph here, this is the title.
I'm gonna call this image title.
And for this one, I'm going to call this one
a sign image caption.
So it looks just like the previous one.
And what's really cool is I can update these.
Like if I select this and say, you know what?
I want the text color to be like a gray.
I could update that style.
Now, if I go back to this here,
because I updated the style,
it updated what this paragraph looked like.
If you find these videos valuable,
consider joining the more than 3,000 others
that support MacMost through Patreon.
You get exclusive content, course discounts, and more.
You can read about it at macmost.com slash Patreon.
Now what I'm gonna do is I'm gonna go through
and I'm going to update all the illustrations
to use those four styles.
So the style for the image itself,
and then the line the image is on,
then the line for the title and the line for the caption.
So I've updated them all.
Now, if I had planned ahead,
I would have just been doing this for each image
as I brought it in.
So it wouldn't have been so much work
to update them all now.
But now that they're all using a consistent set of styles,
it's easy for me to update all of them at once if I want to.
But more importantly, it's now very easy for me
to add an index to these illustrations
because the title for each one of these
is using this image title style.
So I'm going to go all the way back here to the beginning
and I've got this table of contents.
Let's go ahead and insert a line beforehand
and call this a table of contents.
And I can change the style here to say title.
Notice when it was heading style,
it actually added itself to the table of contents
because this table of contents
uses the heading style to build itself.
Now I'm going to go and add a few blank lines here
and then I'm going to add another title
and I'm gonna call this one index of illustrations.
And below it, I'm going to insert another table of contents.
And at first, Pages is just going to go,
oh, so you just want the same thing again.
Okay, fine.
So now I've got this selected here.
I'm going to give it new instructions.
I'm going to customize styles
and I'm not going to use heading.
Instead, I'm going to use image title
and it's going to find those five image title lines
and it's going to put them here
just like it's a table of contents
and it's going to show each page.
Now the table of contents auto-updates.
If I add more text, all of these page numbers will change.
If I move the illustrations around,
add some things before them,
it's going to adjust the pages as needed.
And if I add new illustrations,
as long as I use image title for the illustration,
it will add it here to the index of illustrations.
So I've got something really useful here.
I could have this right here
on the same page as table of contents.
I can select right before it and say insert page break
and now it's on its own page.
But there's also nothing to prevent me
from moving this whole thing to the end of the document.
If I want, I can select all this, in fact,
and I'm going to use a command X to cut
and then I'm going to go to the end of the document
and I'm going to command V to paste.
And you can see I can put the index of illustrations here
at the end of the document if I want.
So somebody can reference those.
Now, whichever way you do it,
the great thing is that if you now were to export this
as a PDF or an EPUB, it's interactive.
So I'll export this as a PDF here.
And when I go to view this PDF,
say in preview or any PDF viewing app,
I can say click on a chapter right here
and it will jump to that chapter.
But I could also click on one of the illustrations
in this index of illustrations.
It works the same way as this table of contents.
They're exactly the same thing.
And it will jump right to that illustration,
specifically right to this line here.
There's plenty of variations on this.
You don't have to have this after the illustration.
I can easily move it to before right here
and it will work the same way.
And I could use this line or an additional style as well
for other things, like for instance,
tables and charts that I include in the document.
So I hope you learned a lot about using the table
of contents for more than just the table of contents
and also using paragraph styles in pages.
Thanks for watching.
Want to know about every new MacMost video each week?
Sign up for the absolutely free MacMost email newsletter
at macmost.com slash newsletter.