Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Is this the time when I get really angry at Adobe for creating the worst FrameMaker/RoboHelp integration ever? No! However, I must admit that I'm amazed that they are unable to solve an important feature as conversion of lists from a FrameMaker document to a RoboHelp WebHelp project. When I say conversion I mean a clean conversion with minimal interference from RoboHelp that allows me to use CSS to its full extent.
Here's the problem, and this was also the problem with RoboHelp 7 and FrameMaker 8. BTW, I use standalone versions (not TCS 1 or 2).
Figures: First image depicts FrameMaker 9's Paragraph Designer and the Autonumber format for a paragraph named VizNumbered. Second image depicts the RoboHelp 8's conversion setting.
RoboHelp will convert, when "Convert Autonumber to HTML List" is selected, the Autonumber in FrameMaker to a list tag (LI). By default this will generate a list with a lot of margin, font and other CSS properties that tries to simulate the way the list is laid out in the FrameMaker document. In addition to the list tags it will convert the FrameMaker paragraph to a P tag which it inserts within a list tag. The issue you will experience with this is that indentations with the paragraph tag does not align properly between line 1 and 2. At the same time the WebHelp project will not look the same in IE, Firefox or Chrome. That is, Chrome and Firefox will look the same, and IE different. IE has the WYSIWYG feel, but it does not comply well with W3C standards (i.e. using P tags enclosed by LI tags is not a good idea ...).
Selecting "Convert Autonumber to RoboHelp List" does something similar, but is not recommended at all!
So, here's the big question. How can I make sure RoboHelp understands that I ONLY need to define a list tag with a CSS class attribute attached to it?
Today I basically only get the following:
What I want is the following:
Can this be solved with today's versions, can anyone help me, or do I have to wait for the Adobe development team to realize this and to fix it?
Copy link to clipboard
Copied
I cannot comment on the conversion process but may be able to suggest a post conversion solution. I am assuming you have tested and that if you manually change one of the files to <li class="yourstylename"> it does give the correct results in the RoboHelp Design Editor.
Try this on a copy of your project.
Using a multi-file find and replace tool such as FAR, you could search all files for
<li><p class="yourstylename">
and replace with
<li class="yourstylename">
That one is straightforward because the closing <li> tag exists
The <p class="yourstylename"> change is more tricky precisely because the closing </li> tag does not exist and RoboHelp does not autocorrect that at the end of the item. That leaves only one solution that I can see and that is the use of Regular Expressions. Basically you would create an expression, think of it as a mathematical formula but designed to find text strings. The formula would search for
<p class="yourstylename">Text that would be different in every item</p>
and replace it with
<li class="yourstylename">Text that would be different in every item</li>
I am not saying that it is simple but it should work using tools such as FAR and PowerGrep. It might also be that there is a way of doing the conversion that avoids the problem but, as I said, I cannot help you there.
FAR is low cost and has a long trial so that you can see how it works.
PowerGrep is a bit more expensive but there is also a free trial.
I have used both and they are good tools. I am not an expert in the use of regular expressions, I just sort of hack away until what I want works but that has often saved me days of work. I think I would be able to help you write this one if need be.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
It is a useful answer which I have considered myself, but in the long run I don't think it's a useful process. We are an international company with tech writers spread around the globe. My task is to create a "straight forward" way of dealing with these things (i.e. not including hacks ).
The problem itself should ideally be a simple option in RoboHelp stating that the Autonumber and paragraph style in FrameMaker should be treated as one and converted to a list item with the formatting I set in the style sheet.
Thanks for the input/help, but I think I will pass on this one for now