• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

black type blue type in epub TOC

Explorer ,
Apr 12, 2020 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...). 

TOPICS
Bug , EPUB , Import and export , Publish online

Views

822

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
community guidelines

correct answers 1 Correct answer

Enthusiast , Apr 13, 2020 Apr 13, 2020

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

...

Votes

Translate

Translate
Enthusiast ,
Apr 13, 2020 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.

Votes

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
community guidelines
Explorer ,
Apr 14, 2020 Apr 14, 2020

Copy link to clipboard

Copied

Just saw this. Thank you, David!

Votes

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
community guidelines
Community Expert ,
Apr 16, 2020 Apr 16, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines