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

HTML5: table titles have no font information when there are several paragraphs

Community Expert ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

Hi,

I had tested the export to HTML5 only briefly yet. When I use the default export settings (and some tweaks), the export looks good in my browser and on my smartphone.

One thing does not work. When there are several paragraphs in a table title, all paragraphs are concatenated and do not have any font information. Which means Times or something like this.

With a single paragraph everything is fine.

Is there anything which I can do about this? What can I do that the export maintains the separate paragraphs?

Possibly I will have more questions in the next days.

Best regards

Winfried

Views

353

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Mar 22, 2019 Mar 22, 2019

Hi,

Markus Wiedenmaier from the German frameuser.de mailing list said

that several paragraphs in a table title are not allowed in HTML.

That's why FrameMaker concatenates all paragraphs in the table title.

He suggested to apply a character format with all set to As Is to all paragraphs

in the table title besides the last one. With the export to HTML a section in

the CSS is added:

span.FM_dummy {

}

Change this to:

span.FM_dummy {

white-space: pre-line;

}

span.FM_dummy:after {

content:" \A ";

}

This adds a line

...

Votes

Translate

Translate
Community Expert ,
Mar 22, 2019 Mar 22, 2019

Copy link to clipboard

Copied

LATEST

Hi,

Markus Wiedenmaier from the German frameuser.de mailing list said

that several paragraphs in a table title are not allowed in HTML.

That's why FrameMaker concatenates all paragraphs in the table title.

He suggested to apply a character format with all set to As Is to all paragraphs

in the table title besides the last one. With the export to HTML a section in

the CSS is added:

span.FM_dummy {

}

Change this to:

span.FM_dummy {

white-space: pre-line;

}

span.FM_dummy:after {

content:" \A ";

}

This adds a line break after each paragraph.

In the HTML file the paragraph without font info is <caption class="caption"> which is not defined in the CSS.

In the CSS add this to the regular table title definition so that this paragraph is formatted as the working table title paragraphs (those from tables with only a single paragraph):

Old:

caption.FM_figuretitle {...}

New:

caption.FM_figuretitle, caption.caption {...}

Best regards

Winfried

Votes

Translate

Translate

Report

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