Why all heading levels are not shown in the ouput?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Mohinda
Propeller Head
Posts: 59
Joined: Fri May 07, 2010 9:59 am

Why all heading levels are not shown in the ouput?

Post by Mohinda »

I am using outline TOC for my PDF target using the levels as shown below:
Getting Started (Level 1)
Application Overview (Level 2)
User Interface (Level 3)
Navigators (Level 4)
Beginners (Level 5)
Internediate (Level 5)
Advanced (Level 5)

In the generated PDF, the TOC only shows upto 'Application overview' level. All the entries below it are not displayed. I have checked 'Use TOC Depth for heading Levels' option in the Advanced tab of my target. I am using Mini TOC proxy for each Chapter.
Why all heading levls are not displayed in the TOC of the final output? I am using Flare 7.
Thanks
Mohinda
lacastle
Propellus Maximus
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE
Contact:

Re: Why all heading levels are not shown in the ouput?

Post by lacastle »

when you say "Level 1" or "Level 2" etc, do you mean H1 and H2, or the indented levels in the TOC?
Mohinda
Propeller Head
Posts: 59
Joined: Fri May 07, 2010 9:59 am

Re: Why all heading levels are not shown in the ouput?

Post by Mohinda »

I meant indented in the outline TOC.
Mohinda
lacastle
Propellus Maximus
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE
Contact:

Re: Why all heading levels are not shown in the ouput?

Post by lacastle »

What do you have set for mc-heading-level in your stylesheet for each heading style? If any are 0, they will not show up in the print TOC.
here is the flare help topic about this - http://webhelp.madcapsoftware.com/flare ... ding-level
Mohinda
Propeller Head
Posts: 59
Joined: Fri May 07, 2010 9:59 am

Re: Why all heading levels are not shown in the ouput?

Post by Mohinda »

Thanks a lot.
It works.
Mohinda
Sartor
Jr. Propeller Head
Posts: 2
Joined: Thu Oct 06, 2011 5:44 am

Re: Why all heading levels are not shown in the ouput?

Post by Sartor »

I have a similar issue - I have a simple topic with a few headings (standard heading tags) - heading 1 (H1), and heading 2(H2). At the top of the topic I'd like to insert a ToC (Insert -> Proxy -> Insert Mini-ToC proxy...).

The mc-heading-level is set as default, i.e. H1 = 1, H2 = 2, etc.

The Mini-ToC proxy's TOC depth is set to 2.

The target output is CHM (HTML Help).

When I generate my output does not display the ToC. What am I missing?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Why all heading levels are not shown in the ouput?

Post by LTinker68 »

The mini-TOC proxy only displays topics contained at a lower level than the topic containing the proxy. So you'd create a "book" in the main TOC and point that book to the topic that contains the mini-TOC proxy. Any topics you want referenced in the proxy are placed within that book so that they're a level down from the proxy.

Code: Select all

Book1 --> points to TopicA containing proxy
  - TopicB
  - TopicC
  - Book2 --> points to TopicD
      - TopicE
      - TopicF
Using the above TOC layout as an example, your TopicA would list TopicB, TopicC, and TopicD if the proxy were set to 1 level deep, and would also include TopicE and TopicF if set to 2 levels deep.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Sartor
Jr. Propeller Head
Posts: 2
Joined: Thu Oct 06, 2011 5:44 am

Re: Why all heading levels are not shown in the ouput?

Post by Sartor »

Hi Lisa,

I understand the usage of mini-ToC in this case. However, I'd like to use the an automated ToC at the top of my topic, listing the headings a by a defined level of depth. Is there a method how to do it? I couldn't find anything in the forums or the help topics. The output is CHM file.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Why all heading levels are not shown in the ouput?

Post by NorthEast »

I think it is important to say that the above posts were for print outputs, and in print outputs the TOC is based on the heading levels in the topics.
However, in help outputs, the TOC is not generated from heading levels; it will use the structure you create in the TOC file.

To see this working, create some new topics (you need more than one), then add them to your TOC so that they're located inside your main topic; so you have something like this:

- Topic 1 (book icon)
--- Topic 2
--- Topic 3

In this example, Topic 1 will have a mini-TOC with links to Topic 2 & 3.


Note also that mini-TOCs will not display if they contain links that point to the parent/book topic; e.g. do not use structures like this:

- Topic 1 (book icon)
--- Topic 1 bookmark #1
--- Topic 1 bookmark #2
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Why all heading levels are not shown in the ouput?

Post by LTinker68 »

Sartor wrote:I understand the usage of mini-ToC in this case. However, I'd like to use the an automated ToC at the top of my topic, listing the headings a by a defined level of depth. Is there a method how to do it? I couldn't find anything in the forums or the help topics. The output is CHM file.
No, you can't do this with the main TOC proxy, in either print or online.

Dave Lee, I think Sartor is trying to do something that I think you've done before. I think it was you. You had a mini-TOC or maybe related topics in a DIV floating on the right side at the top of the topic listing the items discussed in that topic. I think he's trying to do something similar to that.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Why all heading levels are not shown in the ouput?

Post by i-tietz »

Looks like I have to give my standard answer: javascript.
You insert a javascript (js) into the topic, the template or the masterpage - depends on how universal you wanna get.
The js is triggered "onload" of the document.
It finds the h1 and h2 objects of the document, adds a bookmark to each and writes links to those bookmarks into a div that you make floating via css ...
Inge____________________________
"I need input! - Have you got input?"
Post Reply