![]() I asked for advice on how to create an index for this catalogue project before I began and it was recommended to me that I should use the ToC function which could generate my index from a paragraph style. It seemed to be more suitable for creating an index of a few specific keywords that might be found in a non-fiction book. Yes, when I first began I watched a bunch of videos on using the Index function, but it proved to be very cumbersome to try and use. Thank you very much for taking the time to read my plea for help, I need a GREP which will make these turn into: The more I've thought about it and come up with that logic the more convinced I am that GREP can do it.Įxample of Problem (words underlined are invisible characters):īig Book of non-breaking space Dinosaurs tab 13 paragraph breakīig Book of non-breaking space Dinosaurs tab 59 paragraph breakīig Book of non-breaking space Dinosaurs tab 211 paragraph breakīugs (Little Lift and Look) tab 9 paragraph breakīugs (Little Lift and Look) tab 105 paragraph break I just don't know how to write the GREP itself. This would have the effect of bumping up the number on the duplicate line to the line above it, with the numbers being listed in increasing order and separated by commas. My thought is that there must be a GREP which could find a duplication of the words (the book title) perhaps with use of that constant factor of the tab on every line, then replace the duplicate word with: remove paragraph break, remove tab, add a comma. I'm at the tail end of this 2 month long project with the deadline approaching quickly (Dec 3). ![]() (?<=\t )(. )\1 was my last attempt before I decided that trying to figure this out for an hour is ridiculous when someone on here will just simply know how to do it. I have been attempting to at least figure out what GREP I need to just find the words, but I'm failing miserably, and I know there a bunch of experts on here. I think this is probably a job that GREP can take care of very quickly if I could just get help with the code to do it. ![]()
0 Comments
Leave a Reply. |