Highlighted

black type blue type in epub TOC

Explorer ,
Apr 12, 2020

Copy link to clipboard

Copied

I manually modified some type in the TOC of my InDesign doc before exporting to epub. Upon export, the epub TOC shows the modified type in black and the rest in hyperlink blue. Any way to change it all to blue? Do I have to do this in Sigil or some other program? If so, how would I do this (step-by-step instructions, please...). 

Adobe Community Professional
Correct answer by David_Popham | Adobe Community Professional

When InDesign creates an automated TOC, it places an invisible anchor in front of the paragraph when "Make text anchor in source paragraph" is checked in the Edit Table of Contents Styles dialog.

 

Screenshot 2020-04-13 10.11.15.png

 

When you edit text at the beginning of one of the TOC entries, you're placing that text outside of the anchor, so the HTML that gets generated during EPUB export follows suit. To prevent that from occurring, you'll need to make those edits in the Story Editor and enter your changes in the following manner:


1. With your cursor in the TOC, go to Edit > Edit in Story Editor (Cmd/Ctrl + Y).

 

2. Place your cursor to the right of the content you want to replace (but don't delete anything yet) and enter the new text.

Screenshot 2020-04-13 10.23.39.png

 

3. Using the back arrow, navigate to the end of the old content and use the Delete key to delete one character at a time until the old content has been removed. That will keep the edits inside the anchor.

Screenshot 2020-04-13 10.24.02.png

4. Then you can export to EPUB as you normally would.

TOPICS
Bug, EPUB, Import and export, Publish online

Views

376

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

black type blue type in epub TOC

Explorer ,
Apr 12, 2020

Copy link to clipboard

Copied

I manually modified some type in the TOC of my InDesign doc before exporting to epub. Upon export, the epub TOC shows the modified type in black and the rest in hyperlink blue. Any way to change it all to blue? Do I have to do this in Sigil or some other program? If so, how would I do this (step-by-step instructions, please...). 

Adobe Community Professional
Correct answer by David_Popham | Adobe Community Professional

When InDesign creates an automated TOC, it places an invisible anchor in front of the paragraph when "Make text anchor in source paragraph" is checked in the Edit Table of Contents Styles dialog.

 

Screenshot 2020-04-13 10.11.15.png

 

When you edit text at the beginning of one of the TOC entries, you're placing that text outside of the anchor, so the HTML that gets generated during EPUB export follows suit. To prevent that from occurring, you'll need to make those edits in the Story Editor and enter your changes in the following manner:


1. With your cursor in the TOC, go to Edit > Edit in Story Editor (Cmd/Ctrl + Y).

 

2. Place your cursor to the right of the content you want to replace (but don't delete anything yet) and enter the new text.

Screenshot 2020-04-13 10.23.39.png

 

3. Using the back arrow, navigate to the end of the old content and use the Delete key to delete one character at a time until the old content has been removed. That will keep the edits inside the anchor.

Screenshot 2020-04-13 10.24.02.png

4. Then you can export to EPUB as you normally would.

TOPICS
Bug, EPUB, Import and export, Publish online

Views

377

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 12, 2020 0
Adobe Community Professional ,
Apr 13, 2020

Copy link to clipboard

Copied

When InDesign creates an automated TOC, it places an invisible anchor in front of the paragraph when "Make text anchor in source paragraph" is checked in the Edit Table of Contents Styles dialog.

 

Screenshot 2020-04-13 10.11.15.png

 

When you edit text at the beginning of one of the TOC entries, you're placing that text outside of the anchor, so the HTML that gets generated during EPUB export follows suit. To prevent that from occurring, you'll need to make those edits in the Story Editor and enter your changes in the following manner:


1. With your cursor in the TOC, go to Edit > Edit in Story Editor (Cmd/Ctrl + Y).

 

2. Place your cursor to the right of the content you want to replace (but don't delete anything yet) and enter the new text.

Screenshot 2020-04-13 10.23.39.png

 

3. Using the back arrow, navigate to the end of the old content and use the Delete key to delete one character at a time until the old content has been removed. That will keep the edits inside the anchor.

Screenshot 2020-04-13 10.24.02.png

4. Then you can export to EPUB as you normally would.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2020 0
Explorer ,
Apr 14, 2020

Copy link to clipboard

Copied

Just saw this. Thank you, David!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2020 0
Adobe Community Professional ,
Apr 16, 2020

Copy link to clipboard

Copied

Bear in mind some digital readers may render in black only.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 16, 2020 0