5 Replies Latest reply on Aug 1, 2017 1:58 PM by Obi-wan Kenobi

    Nested or GREP style for forcing a line break

    Jerry Ross

      Hi all,

       

      I've been away from using nested or GREP styles for a long time and a solution is eluding me. I'm working on a very long mobile document with lists of references that link to the related content.

       

      The lists are separated by a semicolon initially as below:

       

      w14 12/15 7-10; w14 8/15 29-30; w14 7/15 8 pars. 4-6; w14 2/15 26-27; w13 7/15 5 par. 8; 13-14 pars. 16-17, endnotes; 20-25; w11 7/15 24, 28; w10 7/15 20-23; w09 4/15 12-13; w08 2/15 23-24; w95 5/15 21-22, 24-26; w94 2/15 19-20 pars. 14-18; kr 11-12 pars. 16-20; 90-91; ia 142 box

       

      I need to format them with a forced line break after each semicolon as below:

       

      w14 12/15 7-10;

      w14 8/15 29-30;

      w14 7/15 8 pars. 4-6;

      w14 2/15 26-27;

      w13 7/15 5 par. 8; 13-14 pars. 16-17, endnotes;

      20-25; w11 7/15 24, 28;

      w10 7/15 20-23; w09 4/15 12-13;

      w08 2/15 23-24; w95 5/15 21-22, 24-26;

      w94 2/15 19-20 pars. 14-18;

      kr 11-12 pars. 16-20; 90-91;

      ia 142 box

       

      Any input on how to create this style is greatly appreciated.