Hello,
This is my first time posting here, so go easy on me..
I found on these forums that I could expand the list of headings that appear in my cross-references list by setting the mc-heading-level values accordingly (this way I wouldn't have to manually create bookmarks for all lower level headings and xref those). Unfortunately, this also adds unnecessary headings, namely H4 through H6, to my PDF Table of Contents.
I experimented with a few different things, like toc-depth (which is apparently only for miniTOCs), and setting PrintSupport attributes for p.TOC4-6 (like mc-heading-level = 0) but all to no avail.
Is there any way to get all headings to show up in the cross-reference list without using mc-heading level, or such that they won't also appear in the TOC?
Thanks for your help!
Cross references and TOC mc-heading-level
-
angelabartz
- Propeller Head
- Posts: 36
- Joined: Mon Apr 07, 2014 4:18 pm
Re: Cross references and TOC mc-heading-level
Hi Titus,
You mentioned that you set the PrintSupport attributes for p.TOC4-6 to mc-heading-level: 0;
If you don’t want headings 4-6 to show up in the TOC, use that setting on H4, H5, and H6 rather than on the p.TOCs.
You mentioned that you set the PrintSupport attributes for p.TOC4-6 to mc-heading-level: 0;
If you don’t want headings 4-6 to show up in the TOC, use that setting on H4, H5, and H6 rather than on the p.TOCs.
-Angela
Re: Cross references and TOC mc-heading-level
Hi Angela,
Yep, that's what I do, and that's what I want. But I also want to be able to cross-reference those headings without having to manually add bookmarks, and I found that the way to do so was to use the mc-heading-level attribute (which of course, unfortunately, adds those headings in the TOC as well).
Anyway, thanks for your input! It is much appreciated.
Yep, that's what I do, and that's what I want. But I also want to be able to cross-reference those headings without having to manually add bookmarks, and I found that the way to do so was to use the mc-heading-level attribute (which of course, unfortunately, adds those headings in the TOC as well).
Anyway, thanks for your input! It is much appreciated.
Re: Cross references and TOC mc-heading-level
What you're trying to do is not possible.
You cannot have autobookmarks on elements with a heading level greater that 1 but hide those elements from the toc.
That is at least my experience so far.
I tried this for a while an gave up.
As soon something has a heading level 1+ it will show up in the toc.
And as soon as something has heading level set to 0 it won't be able to be cross-referenced automatically.

You cannot have autobookmarks on elements with a heading level greater that 1 but hide those elements from the toc.
That is at least my experience so far.
I tried this for a while an gave up.
As soon something has a heading level 1+ it will show up in the toc.
And as soon as something has heading level set to 0 it won't be able to be cross-referenced automatically.
Re: Cross references and TOC mc-heading-level
Thanks gbusch, that's what I figured. I don't know why they have to use the same attribute, but it is what it is...
Cheers!
Cheers!
Re: Cross references and TOC mc-heading-level
It seems i was wrong.
Just read this workaround for auto-cross-reference-able image captions: http://forums.madcapsoftware.com/viewto ... 75#p105275
I think you can also use it for your purposes.
Just read this workaround for auto-cross-reference-able image captions: http://forums.madcapsoftware.com/viewto ... 75#p105275
I think you can also use it for your purposes.