Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In the last movie we set up a basic Cross-Reference to a page number in this document, but the rest of the reference was still manually typed text. To fully take advantage of cross- referencing it's better to make the entire reference dynamic, instead of just a piece of it. Let's take a look at how that's done. Right now I have See DIFFERENCES as manually typed text and the remainder Comma page 6 is a dynamic Cross-Reference. You can see it here in the Cross-References panel. I want to actually make the entire Cross-Reference dynamic, including the word See and, including the term DIFFERENCES that I'm referencing later in this document.
I am going to double-click this existing cross-reference to open up the Edit Cross-Reference dialog, all of the settings I established in the last movie are here and I'm using my Mike's Page Number custom Cross-Reference Format. I want to further customize this, in fact, I want to create a whole new Cross-Reference format. So I am going to click the Edit button and in the Cross-Reference Formats dialog I will click this Plus item down here at the bottom, that's going make a copy of the Mike's Page Number Cross-Reference format. I am going to call this Mike's Custom Cross-Reference.
I will click Save so that I don't lose that. And here's what we have so far, a comma, a space, the word page and a space, that's static text, and then we have this bit of coded mark up here that dynamically pulls in the page number. I want to include the entire reference which starts with the word See. So I will go to the beginning of this little bit of text and type in the word See and a space. Now I have to find a way to pull in only the definition term at the beginning of the paragraph. To do that, I will click this Plus item on the side of this field and I get a pulldown menu of a number of different building blocks I can use to insert the necessary code into this Cross-Reference to customize it.
One of them is Partial Paragraph and that's exactly what I want, a piece of my definition paragraph. I will select that and I get this whole string of text here, looks a lot more intimidating and dangerous than it actually is, it's fullPara=delim=""includeDelim=false. So immediately I'm sure you know exactly what that means, there's no guesswork about it. It's actually pretty simple, fullPara means the full paragraph, delim means a delimiter which essentially means a stopping instruction, a point at which it stops pulling in text from the full paragraph.
Now all of my definitions end with a Period so my delimiter would be a Period It's exactly the way I set up the nested style and the paragraph style to begin with. The nested style for the Definition term ends on a sentence or ends on a period, this is sort of a coded version of exactly the way I set up the nested style for the Definitions paragraph style to begin with. My term Character Style is applied through one sentence in my nested style instruction and the end of the sentence is my delimiter in the nested style.
So my delimiter here is going to be the Period at the end of that Definition term. If I just type that in-between the quotes, I've established my delimiter, it's going to stop pulling in text from the paragraph as soon as it encounters the first Period in that paragraph and that's going to be right after the definition term. The second half of this, includeDelim= false is an instruction to either include that delimiter which in this case is a Period in the Cross-Reference or not, false means do not, the period will not be part of the reference that's generated.
If I set it to True, I would get the period but I don't want that, and then it's comma, space page and pageNum, these are the things that were in there already. So I am going to click Save and click OK. And as soon as I exit you will see a significant change. First of all, it's appended my completely constructed Cross-Reference to the end of my existing manual one, and it's also correct a mistake that was in that manually typed reference, that was See DIFFERENCES, but the term is actually DIFFERENCE, and because I'm dynamically generating that term as well I get the correct text.
So I have set up a completely custom Cross-Reference just the way I want, I will click OK and I am going to go in here I am going to delete the whole manual portion and there's my fully dynamic, customized Cross-Reference. Let's see how easy it is to apply this elsewhere in the document. I am going to move over to the other side of the page where I have another reference, this is also manually typed, I will select the whole thing, go to the Cross-References panel, choose Create New Cross-Reference from the icon at the bottom. It's picking up the last settings that I used, which is very helpful, using my Mike's Custom Cross-Reference.
I am going to choose my Definitions Paragraph Style, I want to find the paragraph that defines the term HERALD. I click Definitions. And because I have the text selected, it automatically swapped it out, so it's a good thing I remember that it's HERALD. I am going to scroll down until I find HERALD in the list, there it is, I will click it and automatically it generates the complete Cross-Reference, including the term, the page number and all of the surrounding text. And that's all I need to do throughout this entire document for every one of these Cross-References.
Let's take a look at how dynamic these Cross-References actually are. I am going to go back to the first one over here on the left side of the spread, See DIFFERENCE, and I want to force a reflow of the text in this document, so that Difference is going to appear somewhere else, its page number is going to change. I will do that quickly just by selecting the frame over here on the right side and deleting it altogether and forcing the text to flow later on in the document. So now there's no way that Difference is still on page 6, it has to have moved. But I still see page 6 here in my Cross-Reference.
In order to see my reference reflect the new location of that text, I need to refresh my view, I could do this by zooming in, zooming out but I can also hit Shift+F5 to refresh my view and page 7 is what appears that's where Difference now occurs in this document. Constructing a cross-reference that's fully dynamic, takes human error out of the equation, produces 100% consistent Cross-References, keeps your document adaptable to change and flexible, and is easily applied throughout your document with a click once you've done the initial setup.
Get unlimited access to all courses for just $25/month.Become a member
120 Video lessons · 64497 Viewers
119 Video lessons · 71828 Viewers
125 Video lessons · 32462 Viewers
103 Video lessons · 31657 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.