Learn how to map the styles in your (unstructured) FrameMaker documents to HTML elements and CSS classes when publishing to HTML5.
You can define style mappings only for the FrameMaker documents.
The Style Mapping WYSIWYG editor, allows you
to map the formats that are available in the current document template
to alternative output styles. For example, from the available paragraph
styles, you select Heading1
. In the FrameMaker template
the heading is associated with a specific style. You can then associate Heading1
with
alternative output styles.
To customize style settings:
In the Style Mapping tab of the Publish Settings dialog, select the style you want to customize (paragraph, character, table, cross reference, image or general).
Configure the desired options for the selected style.
Click Save.
The following Style Mapping tables describe all options available in the Style Mapping tab.
Option |
Description |
Available in |
---|---|---|
Automap <Available in> Style |
Select Automap <Available in> Styles to map the styles in the selected content to the styles defined in the CSS selected for style mapping. |
|
Style Preview |
The Style Preview allows you to compare the source style (defined in the Output style list prior to any customization) with the custom style (defined in the Output style list, and displayed with an appending asterisk, after customization using the CSS Rule definition dialog). |
|
Output |
To customize the output style for the selected format, choose an alternative style from the Output Style list. |
|
Remove Overrides |
Revert any style changes applied to the source format. |
|
Edit Style |
Click the Edit Style button to open the CSS Rule definition dialog and customize the output style. If we map a style to a default document style (for example, Heading1) from the Output Style list, and then edit the mapped default style through the Edit Style dialog, then the document style (DocumentName.css) is given precedence over the edited style (editstyle.css). In the published output, the selected content is displayed as per the Heading1 style of the document.Note: Say, the
selected Output Style is [Source] and you use the CSS Rule definition
dialog to customize the style. In this case, the Output Style displayed
is appended with an asterisk (*) to indicate customization to the
selected style.
|
|
Exclude Form Output |
Exclude the selected style from the generated output. |
|
Split Into Topics Based on This Style |
Create a Help topic at each occurrence of the selected paragraph style. For example, if you select Heading 1 and Pagination (Split into topics based on this style), FrameMaker starts a new topic at every instance of Heading 1. |
|
Map to HTML tag |
Select or enter a user-defined HTML element for the selected style. For example: A paragraph with style
Specifying
this string as
|
|
Autonumber |
Specify a way to handle auto-numbering text. Available options are:
|
|
The following table describes additional options that are available in the Table Styles.
Option |
Description |
---|---|
Table Properties | |
Caption Style |
Select the Caption Style name to map to the selected table format caption. Or select [User Source Style]. FrameMaker retains the appearance of the table caption in the online Help format. You can also select [Automap] for an individual table caption style. |
Table Size |
Specify a preferred table width and / or height (in px). |
Cell Size | |
Preferred Column Width/Row Height |
Specify a preferred column width and / or row height (in px). |
The following table describes an additional option that is available in the Cross Reference style.
Option |
Description |
---|---|
Building Blocks |
To build the cross reference format, place the cursor in the Output Style box and double-click on a format in the Building Blocks table. The available formats are called building blocks, because you create a custom format by using any combination of the available formats. To do this, double-click a building block to place the format in the Output Style list. You can then keep adding to the format by placing the insertion point before or after any selected building block. |
The following table describes the options that are available in the Image Settings.
Option |
Description |
---|---|
Import Reference Page Images |
Select this option to import images embedded in the reference pages of FrameMaker documents. |
Preserve Original Image Dimensions |
Select this option to maintain the original dimensions of the image in the generated output. |
Margins |
Set the margins for the images as:
|
Borders |
Set a border for the images as:
|
The following table describes the options that are available in the General Settings.
Option |
Description |
---|---|
Topic Settings | |
Split Into Topics Using Marker |
Specify a marker that is used in the FrameMaker document for pagination. |
Cleanup Inline HTML Styles |
Specifies whether inline styles from your source documents are included in the published output or not. |
Topic Name Pattern |
Specify the topic name pattern for topics generated from the added FrameMaker document. |
Use Only ASCII Characters in Generated Filenames |
Specify whether to allow non-ASCII characters in the generated topic filenames or automatically convert to ASCII characters. |
Glossary | |
Style |
Specify how glossary terms display:
|
Marker Type |
Keeping the marker text as same, apply glossary marker to the glossary definition paragraph in the document and Glossary Term marker to glossary term instance in text. |
DHTML Effects | |
Create Drop Down | Define DHTML effect to be applied to the drop-down list in the Responsive HTML5 output. |
Create Expanding Text | Define DHTML effect to be applied to the expanding text in the Responsive HTML5 output. |