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

ePub TOC Hyperlink to Text Anchor on Hidden Layer

Community Beginner ,
Feb 14, 2020 Feb 14, 2020

I am using images for the chapter headers in my epub, so I have created a hidden layer to create the text that the TOC will create references to. The TOC builds correctly, but I receive the alert that none of my text anchors are found. After fiddling with it, it appears that it is not recognizing text anchors in my hidden layer, so none of the TOC hyperlinks will populate.

 

Trying to test other solutions, I also created new text anchors in the doc to reference to the image on the visible layer. Then I tried to manually adjust the hyperlinks in the TOC without any luck, I'm assuming the TOC will not recognize these anchors because they are not paired with the style the TOC is building from. 

 

Any solution that will allow TOC function to recognize text anchors in hidden layers? Or is there another workaround I could use to have a stylized image to create text for use in building the TOC?

TOPICS
EPUB
1.8K
Translate
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 ,
Feb 14, 2020 Feb 14, 2020

Within the Table of Contents dialog box (Menu > Layout > Table of Contents) is the option Include Text on Hidden Layers. You may need to select the More Options button if you do not see this section. Could this help?

 

capture.png

Translate
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 Beginner ,
Feb 16, 2020 Feb 16, 2020

Thank you! That is already selected, and I'm pretty sure it's why the TOC is populating correctly. I also have the option to create text anchors selected, but those text anchors that are not being recognized for hyperlinks, so when I export to a reflowable EPUB, I get an error that states my text anchors are not found, and the resulting table of contents has inactive links. 😞

 

Screen Shot 2020-02-16 at 2.19.50 PM.png

Translate
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
New Here ,
Feb 17, 2020 Feb 17, 2020

I'm having this issue as well. I would be interested in hearing the solution.

Translate
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
New Here ,
Mar 26, 2020 Mar 26, 2020

I am also having the same issue. Have you found a solution yet?

Translate
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 Beginner ,
Apr 03, 2020 Apr 03, 2020

I'm also having this issue...

Translate
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 Beginner ,
Apr 03, 2020 Apr 03, 2020
LATEST

(Not sure why this answer to the OPs question was deleted...)
I had a similar issue. I was trying to use alternate wording for chapter heads in the TOC and the book proper.

 

I've solved for this as follows:

Add faux (TOC adjusted) chapter headers to each chapter page with a unique paragraph style, on a unique layer set to print and display. In the paragraph style for these headers, add a css class name (.eg, "TocTitle"). Create a CSS file with the following content: .TocTitle { display: none }. When exporting the ePub document, add this CSS file to the export. Generate the TOC and export the and confirm that you dont trigger any anchor errors.  The CSS file should hide your faux chapter headers.

 

To export the book as PDF, just modify the Layer print and display settings as needed.

 

All to say: Adobe, there must be a better way...

Translate
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