Skip to main content
rombanks
Inspiring
January 1, 2018
Answered

Framemaker15 Publisher - Figure caption with a line under

  • January 1, 2018
  • 1 reply
  • 694 views

Hello fellows,

I have a strange issue with figure captions defined in Framemaker as having a line under the caption ("Frame Below Pgf" property) . This line is retrieved from a frame on the reference page. The caption is set to appear above the figure. In the Publisher, the figure caption style is set to "Use Source Style".

When I convert FM to HTML5, the figure caption is turned into <p class="FigureTitle">. The problem is that in the HTML output the figure caption is "split" into 2 <p> - the caption text itself, then comes the figure and then comes another <p class="FigureTitle"> that only contains the line itself (turned into a jpg). I can't figure out how to avoid splitting <p class="FigureTitle"> into two and keep the line below the caption itself.

Unfortunately, the caption cannot be mapped to a corresponding HTML tag in the Publisher as there is no relevant tag in the Pgf mapper.

Any ideas?

Thanks! 

    This topic has been closed for replies.
    Correct answer rombanks

    Hi Matt,

    I appreciate your response!

    As far as I can see, there is no such option in the publisher (while it is indeed available in Robohelp).

    In the end, it was the matter of the caption placement (before or after the graphic frame anchor). The problem was caused by putting the caption after the anchor.

    Kind regards,

    Roman

    1 reply

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    January 2, 2018

    The "Use Source Style" setting is your problem. You need to define a CSS style for your caption, then set FigureTitle to map to that style. After that, you need to define the CSS style to provide the line.

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    rombanks
    rombanksAuthorCorrect answer
    Inspiring
    January 18, 2018

    Hi Matt,

    I appreciate your response!

    As far as I can see, there is no such option in the publisher (while it is indeed available in Robohelp).

    In the end, it was the matter of the caption placement (before or after the graphic frame anchor). The problem was caused by putting the caption after the anchor.

    Kind regards,

    Roman