Copy link to clipboard
Copied
Hello. I'm designing a book. The author requested the first chapter have a strikethrough on the first word, including in the table of contents. It is applied using a character style. The Table of Contents (TOC) list shows up correctly, with the strikethrough. Everything in the book is styled.
The problem is, the strikethrough style is being applied to the TOC header each time I update the contents. It seems to be taking this style from the first chapter - the strikethrough style is not in the TOC header style. If I remove the strikethrough from the chapter, then it also stops being applied to the header. So each time, I have to select the header and remove the strikethrough style.
Screenshot attached, content blurred for privacy. The file is created using a professional template from a book publisher so I don't think I can post the file. Possible bug, or problem with the style that were not seeing?
It does look like a bug of some sort. It has to do with the "Chapter 1" text having strikethrough applied.
A couple of options:
Copy link to clipboard
Copied
Further info... doesn't matter what character style is applied to the first chapter. I tried Bold as well and it too gets applied to the TOC header.
If I remove the style from the first letter of the chapter, the style is removed from the TOC header.
Copy link to clipboard
Copied
When you create TOC - only contents is copied - not the formatting.
Most likely - your TOC ParaStyles are based on the body styles - and that's why you have this problem?
Copy link to clipboard
Copied
I changed the TOC styles so they are not based on anything. It does not fixe the problem.
Copy link to clipboard
Copied
I changed the TOC styles so they are not based on anything. It does not fixe the problem.
By @Jeremy AB
Can you share your INDD file?
Please click my nickname if you prefer to send it privately.
Copy link to clipboard
Copied
When you type "TOC header" and "TOC header style " you mean "TOC Title" and "TOC Title Style," right?
What you're describing does sound like it might be a bug with the TOC generator, but you've left out a bunch of info that'd be necessary supporting evidence if you were to head over to indesign.uservoice.com to make an official bug report there. Likewise, I feel like there's not quite enough for us to take a guess at explaining it or suggesting solutions, at least beyond what Robert has already tried.
Copy link to clipboard
Copied
Thanks Joel. I was able to create a sample file which has the same problem. In answer to your questions:
• InDesign 2024 on Mac
• I tried in 2022 too, same problem
• It happens when I update the current TOC. If I delete the current TOC frame and re-add it, same problem
• The TOC title gets the character style applied to it, matching the style that is applied to the first letter of the first chapter. I can see the style is chosen in the Character Styles panel but it is not in the TOC settings nor is it part of the TOC header style.
• There is only one place with the strikethrough added. The first chapter only. No nested styling.
Sample file attached showing the problem.
Copy link to clipboard
Copied
Looks like a bug...
I've created similar document from scratch - but applied color to the CharStyle applied to the 1st word:
It's like "Title" of the TOC gets CharStyle from the 1st entry?
If I'll apply "[None]" to the 1st letter:
InDesign 20.0, Win 10.
Copy link to clipboard
Copied
It does look like a bug of some sort. It has to do with the "Chapter 1" text having strikethrough applied.
A couple of options:
Copy link to clipboard
Copied
I put a hairspace at the beginning of the chapter header.
Copy link to clipboard
Copied
I put a hairspace at the beginning of the chapter header.
And did that hair space solve this issue for you, Jeremy? If yes, please confirm so that we can mark Dave's answer as correct—or you can—this helps others with the same question quickly find the correct answer.
~Barb
Copy link to clipboard
Copied
I tested both methods before posting.
Copy link to clipboard
Copied
Yes, as long as the first character has no style appplied. In this case, a hair space. It moves the text over a slight amount but it's not noticeable.
Copy link to clipboard
Copied
I was maybe thirty characters into a post much like Dave Creamer's, when his appeared in the thread and I abandoned mine. The only real difference was that I was going to suggest an actual zero-width character, like a non-joiner from Type -> Insert Special Character -> Other. But if the hair space is unnoticable in your layout, it works just as well.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I actually prefer the second solution I posted about setting the strikethrough to none/0 weight.
Copy link to clipboard
Copied
Just For Mention:
Issue fixed 8 years ago!… by The Jedi
(^/) The Jedi
Copy link to clipboard
Copied
Not a fix. It's a workaround. But nice to know the bug has been around over 8 years!
Copy link to clipboard
Copied
… and this trick still perfectly works with InDesign 2025 [v. 20.1]
(^/) 😉
Copy link to clipboard
Copied
Not fixed so much as suggesting a work-around. Fixed would mean there wouldn't be a problem...
I guess it shows how much of a priority fixing the bug is with Adobe.
Copy link to clipboard
Copied
If all the InDesign bugs could be "fixed" so easily! … =D
(^/)