Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
So we're now in newsletter10. We have the text placed. Don't worry yet about the fact that the text is running over the images, that the text is too big, that we have lots of over-matter. That's all going to be addressed in upcoming steps. What we want to do next is format the text. But before we do that, one minor digression, and that is just to talk about how we can clean up our text, should you import a text file that has lots of extra spacing in it. We don't need to do that because I made sure that our text files were stripped of any unnecessary spacing. But in a real world situation, it's likely that you might encounter this. So I am going to place a text file that has in it lots of unnecessary stuff. And that's the one we want, gardeners_unclean text.
I'm just going to dump that on the pasteboard. Because I have my hidden characters shown, we can see when I zoom in that we've got lots of extra carriage returns and after every period we have two spaces where we only want one. A very quick and efficient way of addressing this is to use a script that comes with InDesign. It's a sample script. We could, of course, use Find/Change. There are Queries that come with InDesign that will address our needs here, Multiple Return to Single Return, Multiple Space to Single Space, choose those and then click Change All.
But easier than that is this script. It's called FindChangeByList. FindChangeByList is going to access this text file in the FindChangeSupport folder, and based upon the information in that list, it's going to run through a series of Find/Change routines. By the way, if you don't see your Scripts panel, I have incorporated my Scripts panel as part of my workspace. But if you don't see yours, it's under your Window menu. You may need to Show All Items, Automation > Scripts. And then, just to back it up a bit further, you will need to expand Applications, Samples, and because I'm on a Mac, AppleScript.
FindChangeByList, if you're on Windows, it would be VBScript. So FindChangeByList is the one we're after and it's simplicity itself. We just double-click on it and we have these options, the Entire document, Selected story or a Selection. I'm going to do it on the Selected story. Click OK. Problem's removed. So like I said, that was a digression. We don't actually have to do that. But if you did, that's the place to go.
Get unlimited access to all courses for just $25/month.Become a member
117 Video lessons · 45024 Viewers
119 Video lessons · 55864 Viewers
65 Video lessons · 15757 Viewers
113 Video lessons · 83461 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.
Your file was successfully uploaded.