Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Caption in converted tables positioned to left instead of above table

Guest
Oct 20, 2011 Oct 20, 2011

I have been converting a FrameMaker 9 document to WebHelp with RoboHelp 8, and I just upgraded to FrameMaker 9 and RoboHelp 10. When I try to convert the same FrameMaker book, I now have problems with the position of table captions: they appear to the left of the header row instead of above it. This occurs when viewing the help with FireFox.

I attempted to map my tables to something other than [source] in the Conversion Settings dialog box, but the pull-down list does not give me any choices. How can I change the way that the table titles get displayed? The FrameMaker paragraph style for the table title used to be converted to a <p> element, but now gets converted to a <caption> element, but I don't see how to control the <caption> output.

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 20, 2011 Oct 20, 2011

First - does it appear the same in other browsers (that would narrow down if it's just a Firefox issue)

Second - strangely enough, you can type right over that field - it's possible to do so in a number of places, but you'd never know it because there's no indication that the field accepts any input. I stumbled across this when formatting my breadcrumbs in the SSL - we already use ">" as a convention to indicate paths, and there appeared to be no way to change it on the dropdown list provided until I typed over it to give me " => " as my "arrow."

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 21, 2011 Oct 21, 2011

I actually solved this problem after I posted. I modified the CSS to include:

caption {

caption-side:top;

}

This forced FireFox to place the table title above the table.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 10, 2011 Nov 10, 2011

Here's a good reference for those wanting to check the availability of the CSS property in different browsers: http://www.w3schools.com/cssref/pr_tab_caption-side.asp

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 19, 2013 Nov 19, 2013

2½ years later, I have much the same problem in TCS4.

I have a FrameMaker table format where the table title is *above* the table.

My Frame book is linked into the RoboHelp project by reference.

In RH's File > Project Settings > Import > Edit Conversion Settings for FrameMaker docs > Table,

my table style is clearly set to "[Source]", even "Caption Style" is "[Source]"

...but in my HTML Help output, the table caption is plonked at the bottom of the table, not the top.

This is a bug, surely?

I'm getting a bit sick of RoboHelp dialogs which just don't work 😕

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 19, 2013 Nov 19, 2013

PS something odd is going on, because I tried to go into the RHMapping.css and add/edit the line mentioned above for caption position, and there is no mention of my [Source] table style in the CSS... surely RoboHelp should have created a new style in the CSS to match this name? (I can see the name in the Conversion Settings dialog)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 19, 2013 Nov 19, 2013

So, if I examine my HTML Help output in the RH preview pane,

in HTML view, there is a line like so:

caption.class="FM_TableTitle" align="bottom"

And if I manually change that to align="top", it puts the caption where I want it.

How do I make this happen automatically, globally?

Because my RHStyleMapping.css file have no entries for captions or "FM_TableTitle" in it at all.

I presume I can manually add a line to RHStyleMapping to control the alignment and it will apply it next time I generate the HTML Help? What would I need to put (I am a bit of a novice at CSS)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 19, 2013 Nov 19, 2013

FM_ is a hint that you've not mapped TableTitle to a CSS definition yet, so go map it. Search on FM_ and mattrsullivan for more info.

DO NOT add FM_ entries to your CSS. You'll not be happy

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 20, 2013 Nov 20, 2013

I'm a bit confused

I'm on the "Conversion Settings" dialog for FrameMaker paragraph styles.

Right enough, for my "TableTitle" style, the RoboHelp style is "[Automapping failed. Add 'TableTitle' to the CSS]" -
there's nothing appropriate in the drop down list of styles to map to.

So I guess I need to "Add it to the CSS" -

there's nothing to click on in the dialog to achieve this though.

I'm guessing it means I need to manually "add an entry to the RHMapping.css" file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2013 Nov 20, 2013

Yes, but the FM_ entries are a catch-all for unmapped objects, so anything you write for them in RHS.css will be superceded by the temporary .css.  Keep in mind that the temp css is rewritten upon each update, so you can't address formatting via that css either.

-Matt

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2013 Nov 20, 2013

David, I just noticed that you mapped your table to [Source].

Map your table to a format, then address the table format via your CSS.

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2013 Nov 21, 2013

Thanks Matt.

I'm a bit bemused by your deprecation of the [Source] method!   -  in as much as, if I read the RoboHelp and TechCommSuite user docs (and some tech blogs out there), there's no warnings in there about not using it, and indeed it's put forward as the way to do things.

Surely the whole point of buying TechCommSuite is that I can do 'single-source authoring' - i.e. write and format by documents in Frame, and generate different output with relative ease in RoboHelp.

A big part of the way this is supposed to work is surely that RoboHelp can understand source formatting from Frame and do a good job of matching it (creating RH_ CSS styles)?

But as you say, if I do it this way, it seems to hide these RH_ styles in a place I can't see or edit, and so when it gets them wrong, I'm scuppered and have to manually go and set up styles in the main RHStyleMappings.css file.

I started doing that yesterday with my TableTitle and Table formats. So far it's just made everything look like hell /laughs/
The captions are still under the table, not above it, and are not the wrong font size and weight too. And all cell shadings have disappeared from the table and all the internal cell rulings - I just have one box round the whole table. Hey ho  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 21, 2013 Nov 21, 2013
LATEST

I agree that the process could be better, but this is still the process we're currently presented with...and it works, when you understand the underlying logic and structures.

For clarity, I believe you meant FM_ styles not RH_ in your post above, yes? And by "deprecation" did you mean denigration? AFIK, Adobe's not given me the power to depricate the [Source] method from the product. And yes, I do not speak fondly nor blog fondly on that [Source] option

[Source] is a crutch. Compare the HTML created when you use it versus the HTML when you (quickly) map to the existing elements in RHStyleMapping. No contest. The elimination of inline HTML formatting and the ability to modify a static CSS are paramount to a successful and long-term solution.

I think expecting to get perfectly formatted web output without customization and/or knowledge of web formatting tools is a bit like expecting to create a world-class FrameMaker documents with nothing but Word files and Word experience to fall back on.

After all, FrameMaker reads in Word docs natively, no?

The point of the TCS is two-fold:

You can do things in days with this suite that used to take more than USD5000/project to complete. It's not entirely about producing online help. While not even close to a "free" product, I estimate the payback for the cost of a software at less than 2 months. Since the traditional product cycle is 18 months, that's pretty easy math for me. Disclosure: Since I use the maintenance contract, or software upgrade plan, my overall cost for the TCS is even lower.

However, on that front, the 3 main tools for outputting Fm to Help (Rh, WebWorks, MIF2GO) all have upfront configuration and less-than-trivial learning curves.

I choose Rh because of price. It's included with other indispensable products in the TCS Suite.

I also choose Rh because of effectiveness. I have dozens of happy clients who press a button in RoboHelp to update their Frame content, create help output, and post the content to the required server. And none of them were able to configure an online help output conduit (Their RoboHelp project with linked Fm files) on Day One.

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp