Quantcast
Channel: Adobe Community : Discussion List - InDesign
Viewing all articles
Browse latest Browse all 65617

GREP Style : Find second occurrence of a word on the page and style it

$
0
0

Hi,

I've been searching for this for hours, but I'm running out of time and so I thought I'd ask for help. I have a Table of contents and within each chapter I want to list the pages at the top (like a running header). A running header woudl be easy enough, but I want to show all pages in that chapter in grey, with the current page in black and bold (the page the reader is on is highlighted, like a website).

I figured the only way to do this was using a GREP expression that would look for the page title in a certain paragraph style, then find the second occurrence of that word or phrase and style it using a character style.

If there's a better way please let me know, but I can't see how to get this done any other way.

Thanks,

Stan


Viewing all articles
Browse latest Browse all 65617

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>