Copy link to clipboard
Copied
RoboHelp 9.0.0.228/Server 9
WebHelp Pro
Single Project (upgraded from RH x5 to RH9)
The mini TOC seems to work in some, but not all topics. In the topics where it is not working, the mini TOC placeholder appears in the Design veiw, but when the topic is viewed (eye glasses icon) or the entire project is generated and viewed, the mini TOC is not there.
Any ideas why not?
Thank you,
Eva
Copy link to clipboard
Copied
Hi Eva
For the topics where the Mini TOC doesn't appear to be working, do you have sections inside the topic with the beginning of the section formatted as a heading? If not, that totally explains it. Usually you have some Heading 2s or lower and that's what the placeholder keys from.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Good point Rick. Yes, the topics definitely have multi-level headers & the mini TOC settings include all the levels.
Copy link to clipboard
Copied
Can you post the HTML code for one of the problem topics?
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Here's the code (most content was replaced with "TEXT"). In this example, we only have heading 1 and heading 2 applied.
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="topic-check-list" content="Ran Smart Index" />
<meta name="build tags" content="Inbound" />
<meta name="generator" content="Adobe RoboHelp 9" />
<title>Rebate Program</title>
<link rel="StyleSheet" href="..\..\default.css" type="text/css" />
</head>
<body>
<?rh-region_start type="header" style="width: 100%; position: relative;" ?> <p>Last revised: TEXT </p>
<?rh-region_end type="header" ?>
<h1> Rebate Program</h1>
<p>TEXT.</p>
<p class="Note">TEXT.</p>
<p> </p>
<p style="text-align: center;"><span style="font-size: 11pt; font-variant: small-caps; color: #ff0000; font-weight: bold;">IMPORTANT:</span>
<span style="font-size: 11pt; font-variant: small-caps; font-weight: bold;">Do
not</span> <span style="font-size: 11pt; font-variant: small-caps;"> TEXT.</span></p>
<p style="text-align: center;"> </p>
<h2>Rebate Program Overview</h2>
<p> TEXT.   </p>
<p> </p>
<p> TEXT <?rh-symbol_start name="Trademark" ?>™<?rh-symbol_end ?></p>
<p> </p>
<h2>Additional Program Details</h2>
<ul type="disc">
<li class="p" style="background-color: Transparent; font-size: 10pt;"><p> TEXT <span style="font-weight: bold;"><b>TEXT</b></span> TEXT</p></li>
</ul>
<p class="Note"> TEXT <span
style="background-color: Transparent;"> TEXT </span><span
style="background-color: Transparent; font-weight: bold;">within</span><span
style="background-color: Transparent;"> TEXT <font color="#000000">rebate</font>.</span></p>
<ul style="font-size: 10pt;" type="disc">
<li class="p" style="background-color: Transparent; font-size: 10pt;"><p> TEXT <span style="font-weight: bold;"><b>must</b></span>  TEXT <font color="#000000">rebate</font>:</p></li>
</ul>
<table style="margin-left: 160px; border-collapse: separate; border-collapse: separate;"
cellspacing="0" width="54.061%" border="1">
<col style="width: 53.109%;" />
<col width="181" />
<tr>
<td><ul style="font-size: 10pt;" type="circle">
<li style="font-size: 10pt;"> TEXT *</li>
<li style="font-size: 10pt;"> TEXT *</li>
<li style="font-size: 10pt;"> TEXT </li>
</ul></td>
<td style="vertical-align: top;"><ul style="font-size: 10pt;" type="circle">
<li style="font-size: 10pt;"> TEXT </li>
<li style="font-size: 10pt;"> TEXT </li>
<li style="font-size: 10pt;"> TEXT </li>
</ul></td>
</tr>
<tr>
<td colspan="2"><p style="text-align: center; font-size: 10pt;">(*)
TEXT </p>
<p style="text-align: center; font-size: 10pt;"> the Product
Placement Card.</p></td>
</tr>
</table>
<ul style="font-size: 10pt;" type="disc">
<li class="p" style="background-color: Transparent; font-size: 10pt;"><p>Maximum
<font color="#000000">rebate</font> TEXT p></li>
</ul>
<p class="Note"> TEXT <span style="background-color: Transparent;"> TEXT.</span></p>
<ul type="disc">
<li class="p" style="background-color: Transparent;"><p><font color="#000000">Rebate</font>
TEXT.</p></li>
</ul>
<p class="Note" style="background-color: Transparent;"><span><b style="font-weight: bold;">Do
Not</b></span> TEXT.</p>
<ul type="disc">
<li class="p" style="background-color: Transparent;"><p> TEXT Card <font color="#000000">Rebate</font> Program.</p></li>
</ul>
<p> </p>
<h2> TEXT <span style="font-size: 12pt; color: #000000;"> TEXT </span></h2>
<p class="Note"><span style="font-weight: bold;"> TEXT </span> TEXT.</p>
<ol start="1" type="1">
<li class="p" style="font-size: 10pt;"><p> TEXT <a href="..\..\Product\Order_Handling\Product.htm"
target="_blank"
style="font-size: 10pt;"> TEXT </a>.</p></li>
<li class="p" style="font-size: 10pt;"><p> TEXT <span style="font-weight: bold;">Billing,
TEXT </span> TEXT</p></li>
</ol>
<p> </p>
<h2>Procedure - Internal Customers <span style="font-size: 12pt; color: #000000;">(E.g.,
KCI Reps)</span></h2>
<ol start="1" type="1">
<li style="font-size: 10pt;"><span> TEXT </span></li>
</ol>
<p> </p>
<p>
<!--Metadata type="DesignerControl" startspan
<object classid="clsid:FF80F713-5DC6-11d0-A7B4-00AADC53E937" id="RelatedTopics"
border="0" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px;
margin-right: 0px;" align="bottom">
<param name="_Version" value="65536" />
<param name="_ExtentX" value="2408" />
<param name="_ExtentY" value="609" />
<param name="_StockProps" value="13" />
<param name="ForeColor" value="0" />
<param name="BackColor" value="14215660" />
<param name="UseButton" value="-1" />
<param name="UseText" value="0" />
<param name="ControlLabel" value="Related Topics" />
<param name="UseIcon" value="0" />
<param name="Items" value="New KCI Products;..\..\Product\New_KCI_Products.htm$$**$$"
/>
<param name="Image" value="" />
<param name="FontInfo" value="Arial,8,0,," />
<param name="_CURRENTFILEPATH" value="C:\ TEXT \Rebate_Program.htm"
/>
<param name="_ID" value="RelatedTopics" />
<param name="UseMenu" value="-1" />
<param name="Frame" value="_blank" />
<param name="Window" value="" />
</object>-->
<object
classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"
id="RelatedTopics" type="application/x-oleobject" >
<param name="Command" value="Related Topics,MENU" />
<param name="Button" value="Text:Related Topics" />
<param name="Font" value="Arial,8,0,," />
<param name="Frame" value="_blank" />
<param name="Item1" value="New Products;..\..\Product\New_Products.htm" />
</object>
<!--Metadata type="DesignerControl" endspan-->
</p>
<?rh-region_start type="footer" style="width: 100%; position: relative;" ?>
<p>Created on: 10/06/10</p>
<?rh-region_end type="footer" ?>
</body>
</html>
Copy link to clipboard
Copied
I have reported this to Adobe as a bug. The mini TOC is failing to work in many of my topics.
Copy link to clipboard
Copied
Hi Eva
The code you posted does not have a Mini-TOC placeholder in it. Normally this would appear in the HTML as so:
<?rh-placeholder type="minitoc"
How exactly are you trying to get the placeholder in there? Hopefully you do realize that you must insert the placeholder in some way in order for it to appear.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Rick,
Thank you so much for looking over the code I posted. While I cannot explain why the mini TOC code is missing altogether from that topic, I did pull up a different topic where the mini TOC also fails to appear and looked for the placeholder code & it is there as such:
Mini TOC code |
---|
<?rh-placeholder type="minitoc" list-type="none" flags="7" min-heading-level="h2" max-heading-level="h6" caption="In this Topic" ph-style="font-family:Arial;font-size:12pt;font-weight: normal;font-style: normal;text-decoration: none;" caption-style="font-family:Arial;font-size:12pt;font-weight: normal;font-style: normal;text-decoration: none;" margin=";;;" ?> |
I'm going to Insert --> Placeholder --> Mini TOC.
Does this code look right? Is there another component to this that could prevent it from working, even if the code were correct? Maybe some project file? or any other troubleshooting ideas?
Eva
Copy link to clipboard
Copied
LOL, okay that code does look correct. But now we have seen code for an entire topic that has no placeholder, and we have also seen the placeholder code separately.
Perhaps please try this. Use Screenr and record a small video of you looking at the topic and showing us what is what. http://www.screenr.com/
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Video link: http://www.screenr.com/NGj
Copy link to clipboard
Copied
Hello again
Thanks for the video. Helps to see sometimes what is actually happening.
Unfortunately I only have stabs in the dark to try. These are admittedly long shots but shouldn't be difficult to try.
I think I'd first try removing any association with a CSS file. Just click the little notepad icon and choose none for the CSS. Test again.
Click Tools > Options > General and enable the option for Convert RoboHelp edited topics to HTML
Does the same thing happen in a totally fresh and shiny new topic?
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Rick,
I tried what you suggested (removing CSS/marking the Convert RH topics to HTML), but no success.
I'm working with a project that was upgraded from RH x 5 and the issue presents itself in some, not all, topics originally created in RH x 5. I have not come across the issue with any new topics that were created after the upgrade to RH 9.
Another of your posts, unrelated to this thread, caught my attention. In that post you suggested copying the "problem" topic to Notepad, clearing out the topic's code, pasting the content back into the topic, and then reapplying the headings to see if the coding issues could be resolved. I gave this a shot, but still no luck.
So, I know I have at least two topics that originated from RH x5...one where the mini TOC is working and the other where it is not. I just don't know enough about coding to be able to "see" the problem even if the answer is in the code.
Thank you for helping!
Eva
Copy link to clipboard
Copied
Hello again
Okay, let's try this. I happen to have X5 open from an earlier test with something completely different.
Send me one of the actual HTML topic pages where this is happening. That way the file name will be intact.
Then tell me if this topic is inside a folder or not. If so, what is the path leading to the topic? My plan is to simulate as much of your project setup as I'm able to. This includes naming as well as placement on the hard drive. I'll also need to know exactly where on your hard drive the project exists at the moment.
My address is rstone75 (at) kc (dot) rr (dot) com
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Rick figured out that special characters in the folder names seemed to prevent the mini-TOC from working.
So, the topics where the issue existed were filed in folders that contained special characters, like a comma or ampersand. Removing the special characters from the folder names somehow allows the mini-TOC to work.
Here's an example.
Original Folder Name: Revised Folder Name to enable mini TOC Functionality: Collections,_Credit,_&_Returns Collections_Credit_Returns
Copy link to clipboard
Copied
I am using RH 2019.0.7 and all of my mini-TOC's are not there. Here is a link from Adobe that Peter Grainge found for me.
"Go to http://www.grainge.org/pages/authoring/rh2019/rh2019.htm for a link to a download on Adobe's site. It is a new build of Update 7 that includes a fix for this issue and another with dropdowns and expanding text."
This is a hot fix for the problem with mini-TOC's.
Rory Jakes
Email address removed per forum rules and to protect against spam.