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

Building Grep and Nested Styles

Community Beginner ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

Hi there. I am just getting into Grep and nested styles and am struggling with building things out. Attached is the final text format that I would like to achievve using grep and or nested styles.

 

Grep and Nested Styles.PNG

 

 

Here are the paragraph and character styles I have built out:

 

Paragraph Style:

Employment History

 

Character Styles:

Firm Name

Date, Position, Location

Job Description

 

 

How would I go about building this out using nested styles or Grep Styles? The goal would be to take non fomatted text from a word doc and have it auto format itself upon pasting in Indesign.

 

Thanks!

TOPICS
How to , Type

Views

164

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 ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

The way this is currently laid out,

Firm Name

Date, Position, Location

Job Description

would be paragraph styles, not character styles (each one is its own paragraph)

 

If every new item contained all three sections (with no empty paragraph returns between), you could achieve this using Style, then Next Style.

If next style for Firm name was Date, Position, Location, next style for Date, Position, Location was Job Description, and Next Style for Job Description was Firm Name. You could then select all, and right-click on the Firm Name paragraph style to choose Apply Firm Name, then Next Style.

 

For this to work, you must remove those stray extra returns (use the space before setting on Firm Name to add that space - that is how is should be set up in any case)

 

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 ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

I see no need for GREP styles, 3 paragraph styles, 1 nested style with 1 character style.

 

Please avoid empty paragraphs as you use them.

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 ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

Hi @Connor Paschall:

 

Nested and GREP styles are handy when you want to change the formatting of the text within a paragraph. I'm with @SJRiegel: you can do with this paragraph styles alone. 

 

Edit: Just saw @Willi Adelberger's reply so back to confirm, you are showing us exactly what you need in the finished file? I don't see the need for a nested style, either. 

 

~Barb

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 ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

I see a nested style from the comma to the end as it is thinner.

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 Beginner ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

Thank you for the help everyone! I appreciate you all clarifying how something like that is supposed to function. Everything was achieved by setting up the 3 paragraph styles, removing all empty paragraph breaks, and then applied the paragraph style with "next style" selected. 

 

Thanks so much!

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 ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

LATEST

I recommend to have an eye on the keep options in your paragraph styles. I think, keep with previous is good for all, except for the headlines. The headline should have keep with next 2 lines.

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