Customizing Publishing
Adding Web Publishing to a Document Type
Adding an existing composer to a document type is easy, provided that a suitable stylesheet exists for the document type.
To Add Web Publishing to a Document Type:
1. Add a web stylesheet ID processing instruction to the stylesheet you're going to use for web publishing. For example,
<?APT StylesheetID Title="DocBook Web"
PublishingTypes="web,xsl"?>
This allows the stylesheet to be used for web publishing.
|
Refer to the Stylesheet identification processing instruction topic in the Arbortext Editor online help for more information.
|
2. Edit the DCF file for the document type as follows:
◦ Set the allowComposeStylesheetList attribute in the Options element to yes.
<Options allowApplicationToolbar="no"
allowComposeStylesheetList="yes"
allowFosiMod="yes" allowTouchup="yes"
protected="no"/>
|
Refer to the Document type configuration files topic in the Arbortext Editor online help for more information.
|
◦ Specify web as the publishing type for the Compose element in the DCF file.
<Composition><Compose type="web"></Compose></Composition>
This adds the > menu option to the menu.
◦ Add a frameset definition to the DCF file:
<Framesets>
<Frameset description="default" location="default"/>
</Framesets>