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 unstructured 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 formats, 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.
| 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 Style |
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.
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 tag from the generated output. |
|
| Split Into Topics Based on This Style |
Create a Help topic at each occurrence of the selected MS Word 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 [Source]. 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 |
|---|---|
|
Use Distiller To Generate Image |
Select this option to generate web-friendly image formats from graphics linked and inserted in FrameMaker documents. You should use this option especially if you have vector graphics formats, such as EPS or AI, or graphics with text content in them. |
|
Import Reference Page Images |
Select this option to import images embedded in the reference pages of FrameMaker documents. |
|
Preserve 3D Images |
Select this option to convert the 3D graphics as a PDF file, with the 3D rendering intact within the PDF file. To ensure that the 3D image retains its rendering, enable embedding in FrameMaker. |
|
Preferred Dimensions |
Specify the dimensions for the images. Select one of the following:
|
|
Maximum Dimensions |
Set the maximum dimensions for images in online format. Images that exceed the maximum dimensions you specify are automatically scaled down to fit the maximum size you specify. If you scale the images and specify an aspect ratio, then the publishing process scales the images within the maximum dimensions specified and maintains the aspect ratio. Use this option to avoid large images causing the browser window to scroll horizontally or vertically. For example, if you specify the window size to be 800 × 600 pixels, you can specify the maximum dimensions to be 640 × 480, so that the images do not exceed the window size. |
|
Margins |
Set the margins for the images as:
|
|
Borders |
Set a border for the images as:
|
| Advanced | |
|
Default Format |
Define the image format, color depth, and quality settings for the web-supported images that are converted from the images in the FrameMaker document:
|
|
JPEG Quality |
Set the quality percentage for JPG images. |
|
Color Bit Depth |
Set the color bit depth for bit map images.
|
|
Grayscale |
Select this option if you want monochrome images. |
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. |
|
Add All Topics to Table of Contents |
Specifies whether all generated topics (after pagination) should be included in TOC 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. |
|
Keep All Topics in One Folder |
Specifies whether all topic HTMLs are saved under a single folder named |
|
Merge Topic Styles into Single CSS |
Specifies whether a single CSS file is created for all topics or not. If you choose not to create a single CSS then the inline styles of tables and images is stored in a separate CSS file named HTMLStyling.css. Also, for each topic a corresponding CSS file is created which contains the styling information about rest of the document formats. |
|
Cleanup Inline HTML Styles |
Specifies whether inline styles from your source documents are included in the published output or not. |
| 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 effects to be applied to the drop-down lists and expanding text. |
|
Create Expanding Text |
|