Skip to main content
irenesmid
Participant
February 3, 2017
Answered

Making Individual Words Italic in Index

  • February 3, 2017
  • 2 replies
  • 2604 views

I have a huge index that has italic words through out it. 

The problem is that the italics doesn't carry through into the markers.

I have tried setting up a GREP but can't get it to recognize the italics.

Here's a sample of what I need in italics:

academic supervisor

attitude is </i>strong interest</i> in student progress, 153

definition, 16

description of functions and duties, 153

As you can see I have put <i> and </i> before and after the word, and the "hidden" character style makes these symbols small again but somehow the italics doesn't find its way to the words.

Any ideas, successful tips?

Thank you!

    This topic has been closed for replies.
    Correct answer Obi-wan Kenobi

    (^/)

    2 replies

    Peter Kahrel
    Community Expert
    Community Expert
    February 3, 2017

    </i>strong interest</i> looks strange, <i>strong interest</i> would be the expected format.

    Then you need to set up a GREP style in the index paragraph styles that applies an Italics character style to

    <i>.+?</i>

    Peter

    irenesmid
    irenesmidAuthor
    Participant
    February 3, 2017

    Dear Peter,

    Thank you so much for your assistance.

    I believe that I have it set up correctly.

    But I can't seem to get it to work:

    Do you possibly see what I have wrong?  I keep looking for the error but can't find it.

    Thank you for your help!

    Irene

    pixxxelschubser
    Community Expert
    Community Expert
    February 4, 2017

    Both variants (by pkahrel and Obi-wan Kenobi​) working well.

    irenes96057146 Are you sure, that your italic character style is defined correctly?

    Or can you upload an IDML file (only with one textfield and your character and paragraph styles)

    Obi-wan Kenobi
    Obi-wan KenobiCorrect answer
    Legend
    February 3, 2017

    (^/)