Arbortext Command Language > set Command Options > set rtfstylesheet
  
set rtfstylesheet
set rtfstylesheet= { name | none}
This command specifies the stylesheet to be used as the default for the Publish > RTF File option on the File menu.
name is the path and file name of a .style or .xsl stylesheet file. If you don't specify an extension for the stylesheet, Arbortext Editor first looks for a .style file, and then a .xsl file.
The stylesheet ID processing instruction must specify rtf as the publishing type.
If you specify only the stylesheet's base name, Arbortext Editor first looks for the file in the document directory, and then looks in the document type directory. If you specify a relative path (other than one that just gives the base name), Arbortext Editor looks for the file using the given path relative to the current working directory.
If you are using Arbortext Publishing Engine for publishing, it must be able to locate the stylesheet. If a document references a stylesheet using a URL, that stylesheet can be found by both Arbortext Editor and Arbortext Publishing Engine. Stylesheets that are available on the Arbortext PE server appear in the Stylesheet selection fields preceded by the notation (pe).
When you are using Arbortext Publishing Engine, be aware of the following when setting a value for this option:
If you try to set the location to a local path for any type of published output, you will get an error that the stylesheet is not the name of a stylesheet on the server. The following example produces an error if Arbortext Publishing Engine publishing is enabled:
set rtfstylesheet=D:\ArbortextUser\axdocbook.style
If you try to set the location to a stylesheet file name only (no path), Arbortext Publishing Engine looks for a stylesheet with a matching name. The following example would succeed if a stylesheet of the same name exists in a location where the Arbortext PE server looks for stylesheets.
set rtfstylesheet=axdocbook.style
If rtfstylesheet is set to none or is not set, Arbortext Editor and Arbortext Publishing Engine use the Editor/Default stylesheet.
Examples
set rtfstylesheet=memo2
set rtfstylesheet=~/mydocs/memo/memo2.style
set rtfstylesheet=http://www.some_site.com/examples/techman_web.xsl
Related Topics
set stylesheet command
Stylesheets overview
Displaying your XML document in a browser
Configuring stylesheet order in a list
Using the Arbortext Publishing Engine for publishing documents
Opening, referencing, and saving files