TOC issues
Learn / Forums / General InDesign Topics / TOC issues
- This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago by Rivkah Lewis.
-
AuthorPosts
-
-
May 29, 2016 at 1:39 am #85276Rivkah LewisMember
Hi,
I am generating a TOC for a long book full of short essays. What I’s like to see is the page number, tab, essay title in one style, comma, essay author in its own style.
On the actual pages of book, the author’s name is the first style/text on the page.
In the TOC dialog box, I selected the Title style and added it to “include paragraph styles” box on the left side.
I then added the Author style underneath.I put an individual style on both and set the page number to sit before the Title style with its own character style. I set the Author style to have no page number. I was planning on bumping it up a line and changing it to a character style using find/replace.
However, the author’s name appears before the title when the TOC is generated. I’ve tried switching the order, giving it levels – no matter what I change, the TOC generates with the author’s name and then on the next line, the page number followed by the essay title. There are around 100 of them, so I don’t want to change the order manually. I’m sure I must be doing something wrong.
Can someone help me out?
-
May 29, 2016 at 8:04 am #85277Ari SingerMember
Until you figure it out (if it’s possible, because I’m afraid this how a TOC works) you can try to use the following GREP Find/Search to fix it:
Find What:
(.+)(\r)(\d+?\t)(.+)
Change To:
$3$4, $1
What it says is this: “Find any amount of text, followed by a carriage return. Then the next line starts with a digit or more, followed by a tab, then any amount of text”. It then changes around the order of things, removes a return and adds a comma.
-
May 29, 2016 at 12:01 pm #85281Rivkah LewisMember
I was hoping there was an easy TOC solution, but thanks so much for this. I will try it out.
-
-
AuthorPosts
- You must be logged in to reply to this topic.