Page 1 of 1

Heading levels listed for Hyperlinks

Posted: Wed Sep 04, 2013 5:37 am
by RobinS
Hopefully a simple one but can't see this in the MC Help. I'm updating the hyperlinks in some imported files. I now have four levels of heading (H1 to H4) in use. But when I choose 'Edit Hyperlink', under 'Place in this document' I can only see H1s and H2s. How do I get to see the H3s and H4s as well? Thanks for any advice...

Re: Heading levels listed for Hyperlinks

Posted: Wed Sep 04, 2013 6:09 am
by Nita Beck
Forgive my "dumb" question: Does the topic itself include headings of all four levels? Flare will show you only the headings that are present in the topic. If the topic has only h1s and h2s, they are all Flare will list for that topic.

If the topic does appear to have all four levels, then I'd confirm that h3s and h4s are indeed heading classes and not something like p.Heading3 and p.Heading4, which are not heading classes but paragraph classes that mimic headings.

If they are something like p.Heading3 and p.Heading4, then you have two choices:
-- Manually insert bookmarks at each of those "headings" and then Flare will let you create links to the bookmarks.
-- Restyle those paragraphs to true h3s and h4s. Then Flare will let you create links to those headings.

Hope this helps.

Re: Heading levels listed for Hyperlinks

Posted: Wed Sep 04, 2013 7:32 am
by RobinS
Yes, the headings are all there within the topic. The imported material originally had tags like h1.heading1, h2.heading2 etc. which I have retagged as plain h1 (etc.). I can see the newly-tagged h1 and h2s, but not the ones I want. And manual bookmarking is not an option - there are literally 100s of these. Very odd.

Re: Heading levels listed for Hyperlinks

Posted: Wed Sep 04, 2013 7:49 am
by Nita Beck
RobinS wrote:The imported material originally had tags like h1.heading1, h2.heading2 etc. which I have retagged as plain h1 (etc.). I can see the newly-tagged h1 and h2s, but not the ones I want.
I'm guessing here...

What does the code of the h3 and h4 headings in the topic look like?

What do the h3 and h4 styles in the stylesheet look like?

Re: Heading levels listed for Hyperlinks

Posted: Wed Sep 04, 2013 8:09 am
by RobinS
No hint of anything awry there - they are consistent with each other.

Re: Heading levels listed for Hyperlinks

Posted: Wed Sep 04, 2013 12:02 pm
by Nita Beck
No ideas, then.

If it's not too much trouble, post the code. Recently someone had a vexing problem that turned out to be case-sensitivity in the code. Another eagle-eyed MVP found the problem. By posting your code, perhaps someone can spot your problem.

Re: Heading levels listed for Hyperlinks

Posted: Thu Sep 05, 2013 12:38 am
by NorthEast
Working on a hunch, I found that you won't see the heading styles listed as a 'place in this document' if they have the property mc-heading-level: 0; set.

Why it behaves like this, I don't know. The whole toc-depth / mc-heading-level feature is a bit of a unintuitive mess.