On 06/17/2014 04:06 PM, Niels Grundtvig Nielsen wrote:
I've been copying tables from Framemaker into XML Mind, delighted to
find that the "paste as table" works perfectly and saves me a lot of
time. One things I've noticed, though, is that when I use
<rowheader="firstcol"> and output to WebHelp the "heading" cell is
centred. Is there some setting I can carefully adjust to change this to
left-aligned?

Such entry element is translated to <th class="header-entry">, hence the alignment.

To change this you need to add:

.header-entry {
    text-align: left;
}

to the *CSS* stylesheet (not the XSLT stylesheet) used to style the generated WebHelp.

This can be done from within XXE, using "Options|Customize Configuration|Customize Document Conversion Stylesheets".

See "Example 9.2. When converting a DITA map to single-page XHTML, use a 12pt base font size and give a light gray background to all the topic titles".

http://www.xmlmind.com/xmleditor/_distrib/doc/help/ConversionStylesheetsEditor_reference.html#ConversionStylesheetsEditor_custom_css_example

It's the same procedure as in the above example, except that you must customize "Convert To WebHelp" and not "Convert to single-page XHTML".

It works fine. I've re-tested it. See attached screenshot. See attached custom CSS (created using "Options|Customize Configuration|Customize Document Conversion Stylesheets").

@charset "UTF-8";

@import url(__stock_webhelp.css);

/* ADD YOUR STYLES HERE */

.header-entry {
    text-align: left;
}
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to