• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Text Variable Running Header pulled from GREP'd style

Explorer ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

For simplest explanation, I have a glossary, the entries are formatted similar to this:

 

Entry name lorem ipsum 1: Entry definition, description, etcetera lorem ipsum

Entry name lorem ipsum 2: Entry definition, description, etcetera lorem ipsum

Entry name lorem ipsum 3: Entry definition, description, etcetera lorem ipsum

 

I have a para style for the whole entry and use a char style for the entry name using a GREP string attached to the para style.

 

On each page I want to have a running header that gives the range of entries on that page that should look like this:

Entry name lorem ipsum 1 - Entry name lorem ipsum 2

 

I'm using two RUNNING HEADER (CHAR STYLE) text variables, one for the first instance and one for the last. However, its not recognizing the char style text that is applied via a GREP in the para style.

 

Any workarounds? Or did I do this wrong?

TOPICS
How to , Print , Type

Views

665

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 17, 2022 Mar 17, 2022

Hi @culver-king,

You did it right, and I also see the same results. Running header does not seem to find the Grep Styles. On doing a search on the forum I was able to locate a couple of older threads that got the same results as us. See them listed below

https://community.adobe.com/t5/indesign-discussions/how-to-make-indesign-choose-the-actual-1st-word-in-required-style-when-using-running-head-character/m-p/7458373

https://community.adobe.com/t5/indesign-discussions/grep-styles-in-indexes/m-p/9432942

...

Votes

Translate

Translate
Community Expert ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

Hi @culver-king,

You did it right, and I also see the same results. Running header does not seem to find the Grep Styles. On doing a search on the forum I was able to locate a couple of older threads that got the same results as us. See them listed below

https://community.adobe.com/t5/indesign-discussions/how-to-make-indesign-choose-the-actual-1st-word-...

https://community.adobe.com/t5/indesign-discussions/grep-styles-in-indexes/m-p/9432942

However running header does seem to work with nested styles. See if you can use nested styles to apply the styling on the entry name. The next option could be to use Find/Change query to apply the character style.

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

I was working on trying it with Nested Styles as I received this notification. It seems to work better, yes. Interestingly, the first entry on the first page doesn't work, but the last does. On subsequent pages it seems to work fine. Trying to figure out why the first instance isn't working on the first page. Will report back... are you seeing the same issue if built with nested?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

In fact it was my error on why the first entry wasn't working. It was a matter of an incorrectly styled paragraph. Nested Styles is the answer for this problem for future InDesign users trying automate Paragraph Styles and Characters Styles and have them appear correctly in Running Headers.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 21, 2024 Apr 21, 2024

Copy link to clipboard

Copied

Hey my friend,

I've recently encountered the same problem. Have you found a solution for yours?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

Copy link to clipboard

Copied

LATEST

@ayoubdebabi wrote:

Hey my friend,

I've recently encountered the same problem. Have you found a solution for yours?


 

For using Nested Styles:

 

https://community.adobe.com/t5/indesign-discussions/how-to-get-headers-to-display-the-first-word-and... 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines