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

Reng Winfried w.reng at carecom-solutions.com
Fri Mar 22 06:20:35 PDT 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 break after each paragraph. 

In the HTML file the paragraph without font info is <caption class="caption">. 
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

-----Original Message-----
From: Framers <framers-bounces+w.reng=carecom-solutions.com at lists.frameusers.com> On Behalf Of Reng Winfried
Sent: Thursday, March 21, 2019 9:13 AM
To: framers at lists.frameusers.com
Subject: [Framers] HTML5: table titles have no font information when there are several paragraphs

Hi,

I want to start the export to HTML5. When I use the default export settings (and some tweaks), the export looks very good in my browser and on my smartphone.

However, one thing does not work. When there are several paragraphs in a table title, all paragraphs are concatenated. In the HTML file the text of all paragraphs is just in a single paragraph.
Additionally the paragraph does not have any font information. Which means Times or something like this. In the HTML file there is a format which is not listed in the CSS file (class="caption").
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?

Best regards

Winfried 


More information about the Framers mailing list