Skip to main content
Inspiring
July 26, 2024
Question

Conflict between grep style and nested style

  • July 26, 2024
  • 2 replies
  • 281 views

I’m using a nested characer style to format the figure number at the start of a caption in which I use a GREP style to format the other numerals. The body is in italic and I need the figure number to be roman. The GREP style overrides the nested style, so the numerals that should be roman remain italic.

 

It’s currently set up as [nested style] through 1 [end nested style character]. The balance of the paragraph is set in italic with a GREP style to letterspace the numerals.

 

Obviously, I want this to format automatically, without having to fix the numerals after the fact in each instance. How do I prevent this sort of override?

This topic has been closed for replies.

2 replies

Robert at ID-Tasker
Legend
July 26, 2024

@cwscarbrough

 

How is your numbering done? 

 

Manually or via Bullets and Numbering

 

James Gifford—NitroPress
Legend
July 26, 2024

The two features don't always work and play nicely together. You may have to use a manual GREP replacement for one or the other, which should not be a huge hassle if you set it up correctly.

Inspiring
July 26, 2024

Thanks, James – I suspected that would be the answer, but hoped to avoid it. It’s a two-volume project over 1,200 pages net, with editors altering and replacing copy piecemeal over many months. I’m doing all the composition solo, so I need to automate anyting I can. Best, CWS