Join Nigel French for an in-depth discussion in this video Using GREP to fix last lines, part of InDesign CS3 Long Documents.
OK, let's take a look at a very nifty GREP query that is going to solve the issue…of last lines of paragraphs that end with a single word.…Now if this bothers you and it needn't necessarily bother you, but it does bother some people,…then here is a routine that will very easily and very quickly solve that problem.…So we see here I have had to tweak the text a bit but we've managed to end up with a quite a few paragraphs…that ends with a single word on the last line.…
And I'm in the document called fixlastlines in the GREP folder.…So let's go to find the change and there is the routine that we want.…Let me just explain this for you and then we'll recreate it.…It's looking for a word character followed by a space, followed by one or more word characters,…followed by some punctuation at the end of a paragraph.…
And then what's happening is, this represents what's found and its staying the same. This is the space that's changed…into a non breaking space and this represents what is found on the other side of space and that's staying the same.…
- Setting up templates and master pages
- Working with Bridge
- Creating books
- Planning and managing styles
- Troubleshooting with the Story Editor
- Managing footnotes and endnotes
- Searching with GREP
- Generating a table of contents
- Automating layouts
- Repurposing material as PDF and XHTML documents
Skill Level Intermediate
1 . Getting Started
2. Planning Your Project
3. Setting Up and Applying Master Pages
4. Working with Booked Documents
5. Getting the Most from Global Formatting
6. The Story Editor and Editing Tools
7. Footnotes and Endnotes
9. Understanding GREP Searches
10. Generating a Table of Contents
Styling a table of contents7m 57s
11. Automating Layouts
12. Repurposing Material
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.