Mini-toc proxy in topic/ Flare 8/ HTML5

This forum is for all Flare issues not related to any of the other categories.
Post Reply
dberman
Propeller Head
Posts: 63
Joined: Thu Dec 29, 2011 1:53 am

Mini-toc proxy in topic/ Flare 8/ HTML5

Post by dberman »

I'm trying to insert a mini-toc in a specific topic (as opposed to inserting a mini-toc on all pages via the Master Page): Insert Ribbon | Proxy | Mini-Toc proxy, but the Mini-toc refuses to show up in the generated output. Expected behavior: A mini-toc displaying heading layers in the topics, as defined in the proxy settings. Has anyone encountered a similar issue?
crdmerge
Sr. Propeller Head
Posts: 248
Joined: Tue Dec 16, 2008 5:37 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by crdmerge »

No, Flare considers the mini-TOC to be TOC-concentric only (whereas RoboHelp considers it to be topic-centric only). The MiniToc Proxy dialog reads "that shows headings below the current topic." That's not headings inside the current topic, but under the current topic."

That is,

* The topic must be a "book" topic.
* The proxy will display the Hn levels you chose for all the TOC topics under the "book," but not inside the book.


Good luck,
Leon
dberman
Propeller Head
Posts: 63
Joined: Thu Dec 29, 2011 1:53 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by dberman »

Thanks Leon for clarification, I suspected so, but wasn't sure. Do you know of a way in Flare (other than manully entering hyperlinks to headings inside the topic), to display A RH-style mini-toc? That is, a mini-toc containing headings inside the topic?
wbrisett
Sr. Propeller Head
Posts: 216
Joined: Mon Oct 05, 2009 3:29 pm
Location: Austin, TX

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by wbrisett »

You may want to look at the Relationship tables. Not exactly what you're looking for, but I suspect you could get those to work fairly painlessly.

Wayne
dberman
Propeller Head
Posts: 63
Joined: Thu Dec 29, 2011 1:53 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by dberman »

Thanks Wayne, but the Relationship Tables don't quite cut it. I find it odd that Flare doesn't have a simple option to insert an in-topic mini-toc for the topic's headings...
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by LTinker68 »

You can submit a feature request at http://www.madcapsoftware.com/bugs/submit.aspx.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Kathy_123
Propeller Head
Posts: 39
Joined: Thu Oct 04, 2012 9:40 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by Kathy_123 »

I know this was a Flare 8 question, but I stumbled upon it when looking for how to do this in Flare 9. I figured I'd add it here in case anyone else is looking.

It's Insert > Proxy > ListOf Proxy.

I used that to list the H2s that are within the topic.
(That gets the text. I'm now working to figure out how to make it look like a bulleted list of links.)
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by LTinker68 »

Kathy_123 wrote:(That gets the text. I'm now working to figure out how to make it look like a bulleted list of links.)
Change the display attribute (in the topic stylesheet) to list-item.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Kathy_123
Propeller Head
Posts: 39
Joined: Thu Oct 04, 2012 9:40 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by Kathy_123 »

Not sure why but while I can change the font etc I cannot get the items to show as bulleted.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by LTinker68 »

You changed the display type to list-item? And make sure you're in the correct medium in the Stylesheet Editor when you set that? For example, if the Editor was in the print medium, then you won't see the style change in online outputs.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Kathy_123
Propeller Head
Posts: 39
Joined: Thu Oct 04, 2012 9:40 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by Kathy_123 »

Yes, pretty sure. As I said I can change other things, like make them bold.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by LTinker68 »

Sometimes if you set too many attributes, you end up canceling the effects of some of them. Or they don't appear correctly in the XML Editor but they're fine in the generated output. So first, test the generated output and see if you see them as bullets. If not, then open the stylesheet in the Internal Text Editor and delete all the attributes except the display one that you have set to list-item. That will get the tag almost back to its default state (normally display is set to block). See if it looks ok in the XML Editor then. If it does, start specifying other style attributes one at a time until you get the complete look you want.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Kathy_123
Propeller Head
Posts: 39
Joined: Thu Oct 04, 2012 9:40 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by Kathy_123 »

Thanks, I'll give it a shot when I'm back on!
rob hollinger
Propellus Maximus
Posts: 661
Joined: Mon Mar 17, 2008 8:40 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by rob hollinger »

The Proxy in the style sheet controls the list block or container (things like margin etc).
If you look at the class assigned to the list items in the output, you can see that an a.Class is used. Create this class in your projects stylesheet to style the individual lines of the list.

Here is an example that will make the text green, bold, indented 50px, and uses the list item properties.

a.GenListOfTextListOf
{

color: #008000;
font-weight: bold;
margin-left: 50px;
list-style-type: circle;
display: list-item;
}
Rob Hollinger
MadCap Software
fbader
Jr. Propeller Head
Posts: 7
Joined: Mon Aug 05, 2013 12:36 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by fbader »

I'm also searching for a way to display h2 Elements inside a topic.
Your solution works as it displays a list of (for example) h2 elements but it displays ALL h2 elements in EVERY topic. Is there a possibility to only show the h2 elements inside the topic?
straygoat
Sr. Propeller Head
Posts: 153
Joined: Wed Apr 04, 2012 3:39 am
Location: The Midlands, UK.
Contact:

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by straygoat »

I'm also trying to achieve what fbader wants to do - just include the H2 from inside the same topic. I can't seem to find a way of doing this. Anyone got any ideas?
Craig Wright
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
RuthR
Jr. Propeller Head
Posts: 8
Joined: Tue Sep 18, 2012 12:24 am

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by RuthR »

Hello,

I have the same problem when inserting a ListOfProxy (all h2 headings from the whole project are listed).

You can use the Mini-TOC proxy instead of the ListOfProxy but in this case all the h2 headings in the topic have to be in TOC too.
I have tested it with setting bookmarks to h2 in the topic and then include links to the topic and to these bookmarks into the TOC. This works.

But I'm not sure whether this is a way I want to follow (maybe if you do not want that all the h2 headings are visible in the TOC).

Regards Ruth
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by pdenchfield »

Flare 10, Windows 7.

After adding a minitoc proxy to my master page for WebHelp and building it, I saw that the minitoc entries show up, apparently using default styles. I followed Rob Hollinger's instructions from earlier in this thread for creating the "a" class styles that are specified in the output source files - no change. (Note that none of the div, p, or a classes in the source file existed in the stylesheet.) So I created all of the classes: div, p, and a. I added #404040 color definitions for all of them. I rebuilt the target. No change.
minitoc.png
What am I missing?

CSS:

Code: Select all

Div.MCMiniTocBox_0
{
	color: #404040;
}

p.MiniTOC1_0
{
	color: #404040;
}

p.MiniTOC2_0
{
	color: #404040;
}

a.MiniTOC1
{
	color: #404040;
}

a.MiniTOC2
{
	color: #404040;
}
Source of topic in WebHelp output (from which I created styles for my CSS):

Code: Select all

        <div class="MCMiniTocBox_0">
            <p class="MiniTOC1_0"><a class="MiniTOC1" href="Understanding imaging modes.htm">Understanding imaging modes</a>
            </p>
            <p class="MiniTOC2_0"><a class="MiniTOC2" href="2D.htm">2D</a>
            </p>
            <p class="MiniTOC2_0"><a class="MiniTOC2" href="M-Mode_M_Line.htm">M-line</a>
You do not have the required permissions to view the files attached to this post.
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: Mini-toc proxy in topic/ Flare 8/ HTML5

Post by pdenchfield »

Problem solved! See related thread:
http://forums.madcapsoftware.com/viewto ... 811#p98811
Post Reply