Removing Heading Styles From Printed TOC [Moved]
Removing Heading Styles From Printed TOC [Moved]
That's great! Does it work for the FrameMaker target as well?
-
- Propeller Head
- Posts: 31
- Joined: Wed Nov 22, 2006 3:58 pm
- Location: The MadCave
-
- Propeller Head
- Posts: 31
- Joined: Wed Nov 22, 2006 3:58 pm
- Location: The MadCave
Thanks Neal.
In my Stylesheet, I've done this:
Media (specified same settings for both of the following):
- (default)
- print
Properties > Print Support:
- I specified 0 in the mc-heading-level for my h3-h6 headings
- (I also tried it for all headings, just for kicks, and generated a Word target - this worked - no TOC entries!)
In my FrameMaker Print Target, I've done this:
Stylesheet Medium = print
What other settings would I need to look at to get this to work? I thought it might be a Frame issue because it does work fine when I use the Word target, but I gather I'm probably missing something else somewhere.
Thanks for your help!
In my Stylesheet, I've done this:
Media (specified same settings for both of the following):
- (default)
Properties > Print Support:
- I specified 0 in the mc-heading-level for my h3-h6 headings
- (I also tried it for all headings, just for kicks, and generated a Word target - this worked - no TOC entries!)
In my FrameMaker Print Target, I've done this:
Stylesheet Medium = print
What other settings would I need to look at to get this to work? I thought it might be a Frame issue because it does work fine when I use the Word target, but I gather I'm probably missing something else somewhere.
Thanks for your help!
-
- Propeller Head
- Posts: 31
- Joined: Wed Nov 22, 2006 3:58 pm
- Location: The MadCave
-
- Propeller Head
- Posts: 31
- Joined: Wed Nov 22, 2006 3:58 pm
- Location: The MadCave
Discussion moved from:
http://forums.madcapsoftware.com/viewtopic.php?t=2434
I'll have to test this with Frame 7.2 as well, and will report back here.
http://forums.madcapsoftware.com/viewtopic.php?t=2434
I'll have to test this with Frame 7.2 as well, and will report back here.
Neal Pozner
Madcap Software
Madcap Software
-
- Propeller Head
- Posts: 31
- Joined: Wed Nov 22, 2006 3:58 pm
- Location: The MadCave
For anyone else having this problem, here's an update: I was given a patch to test and am happy to report that it worked
It's really encouraging to have first-hand evidence that MadCap developers and support people are actively working on issues logged as bugs/feature requests and in forum posts. Thanks for taking care of this one! Looking forward to the next release.
It's really encouraging to have first-hand evidence that MadCap developers and support people are actively working on issues logged as bugs/feature requests and in forum posts. Thanks for taking care of this one! Looking forward to the next release.
-
- Propellus Maximus
- Posts: 574
- Joined: Tue Oct 03, 2006 7:56 am
- Location: Seattle, WA
- Contact:
mc-heading-level of \"0\" makes headings disappear
I'm creating a PDF from Flare 2.5 using imported FrameMaker 7.2 files. I created an h1 class called \"h1.noTOC\" that has an mc-heading-level of \"0\" and applied this class to the \"Table of Contents\" heading in the TOC topic, as well as the front matter topics (\"about this document,\" etc.) so these headings would not get picked up by the printed Table of Contents page in the PDF.
The printed Table of Contents page indeed excludes these headings. However, the headings are also excluded from the document.
(I also tried p classes instead of h1 classes - same result.)
How do I exclude headings from the printed \"Table of Contents\" page in the PDF generated by FrameMaker?
The printed Table of Contents page indeed excludes these headings. However, the headings are also excluded from the document.
(I also tried p classes instead of h1 classes - same result.)
How do I exclude headings from the printed \"Table of Contents\" page in the PDF generated by FrameMaker?
Pamela Denchfield
http://www.pameladenchfield.com
http://www.pameladenchfield.com
mc-heading-level of \"0\" makes headings disappear
Using the logic that others on the forum have suggested to me...
Try publishing to different print Output Types (Word or FrameMaker) and compare results. If it works in Word, there's a good chance there's a bug in the way it is compiling to FrameMaker.
Try a test without using a class. I tested this on my plain old level h3 headings and it worked perfectly. No heading displayed in the TOC, but the topic heading definitely displayed nicely at the top of the page as expected.
Make sure you are specifying the mc-heading-level of \"0\" in your print/frame media. [You might be thinking, \"Well, duh,\" but I don't like to assume anything ]
Do you have any index entries or scripts or things located before the heading text? Voodoo or superstition? Who knows, but I like to keep my headings clean.
Someone else emailed me to ask for the patch they gave me that got this to work in my project, so I wonder if maybe the fix didn't make it into the last update... Hmm.
Hope something here helps,
alex
Try publishing to different print Output Types (Word or FrameMaker) and compare results. If it works in Word, there's a good chance there's a bug in the way it is compiling to FrameMaker.
Try a test without using a class. I tested this on my plain old level h3 headings and it worked perfectly. No heading displayed in the TOC, but the topic heading definitely displayed nicely at the top of the page as expected.
Make sure you are specifying the mc-heading-level of \"0\" in your print/frame media. [You might be thinking, \"Well, duh,\" but I don't like to assume anything ]
Do you have any index entries or scripts or things located before the heading text? Voodoo or superstition? Who knows, but I like to keep my headings clean.
Someone else emailed me to ask for the patch they gave me that got this to work in my project, so I wonder if maybe the fix didn't make it into the last update... Hmm.
Hope something here helps,
alex
-
- Propellus Maximus
- Posts: 574
- Joined: Tue Oct 03, 2006 7:56 am
- Location: Seattle, WA
- Contact:
re: mc-heading-level of 0 makes headings disappear
Thanks for your suggestions. Unfortunately, this bug in the Flare to FrameMaker output process is confirmed by MadCap Tech Support, who is uncertain when/if the bug will be fixed.
For now I have applied p classes instead of h classes to my headings that I don't want on the TOC page. I had to make sure that the p class had all necessary formats (such as page-break-before) by adding it using the internal text editor. The Style Editor (default view of the stylesheet) does not list these kinds of format settings for a p class.
For now I have applied p classes instead of h classes to my headings that I don't want on the TOC page. I had to make sure that the p class had all necessary formats (such as page-break-before) by adding it using the internal text editor. The Style Editor (default view of the stylesheet) does not list these kinds of format settings for a p class.
Pamela Denchfield
http://www.pameladenchfield.com
http://www.pameladenchfield.com
also having the TOC headings consistently appearing issue
I've just spent a day building and rebuilding trying to get this to work and cannot do it. Finally stumbled on this thread.
Someone in here mentioned a patch to fix the functionality? Is this widely available? We have certain h5 and h6 classes we'd like to exclude from the TOC in FrameMaker. I can replace them with p styles but I'd rather not have to do it if this thing will get fixed or there is another workaround.
Oddly I did manage to get it to work with the H1 style. Just none of the others work.
The issue is that if you output using mc-heading-level = 0 the style isn't sent to FrameMaker, but the content still is, so it gets typeset with a default style in the Frame doc. Setting the heading level to something other than zero works ok as the content has a style to attach.
Cheers,
Rob
Someone in here mentioned a patch to fix the functionality? Is this widely available? We have certain h5 and h6 classes we'd like to exclude from the TOC in FrameMaker. I can replace them with p styles but I'd rather not have to do it if this thing will get fixed or there is another workaround.
Oddly I did manage to get it to work with the H1 style. Just none of the others work.
The issue is that if you output using mc-heading-level = 0 the style isn't sent to FrameMaker, but the content still is, so it gets typeset with a default style in the Frame doc. Setting the heading level to something other than zero works ok as the content has a style to attach.
Cheers,
Rob
Re: re: mc-heading-level of 0 makes headings disappear
Actually, it does. If you have "Assorted Relevant Properties" or "Property Groups" selected at the top of the Stylesheet Editor, then one of the property groups you'll see is labeled "PrintSupport". If you expand that then you'll see page-break-after and page-break-before and various other print-related properties (just make sure you're in the print medium when you set those options so that they're applied to the print section of the stylesheet).pdenchfield wrote:I had to make sure that the p class had all necessary formats (such as page-break-before) by adding it using the internal text editor. The Style Editor (default view of the stylesheet) does not list these kinds of format settings for a p class.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: Removing Heading Styles From Printed TOC [Moved]
can't you create a "<p>" class that looks exactly like the H3 class that you want to remove from the TOC proxy?
That's what i did. So far, so good. No need to create an H3 class.
(Is bookmarking a problem if you do this?) I don't want bookmarks for anything other than H1 and H2 anyway.
That's what i did. So far, so good. No need to create an H3 class.
(Is bookmarking a problem if you do this?) I don't want bookmarks for anything other than H1 and H2 anyway.