set htmlstylesheet
set htmlstylesheet= { name | none}
This command specifies the stylesheet to be used for the Save as HTML and > options on the File menu and for browser display.
name is the path and file name of a FOSI, XSL, or Arbortext Styler stylesheet. If you do not specify an extension for the stylesheet, Arbortext Editor first looks for a .style file, then a .fos file, and finally a .xsl file.
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 htmlstylesheet=D:\ArbortextUser\axdocbook.xsl
• 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 htmlstylesheet=axdocbook.xsl
If htmlstylesheet is set to none or is not set, Arbortext Editor and Arbortext Publishing Engine use the Editor/Default stylesheet.
|
The Save as HTML option only uses FOSI stylesheets. So if name specifies an XSL or Arbortext Styler stylesheet, Save as HTML uses the stylesheet specified for print published output. If the print published output stylesheet is an XSL or Arbortext Styler stylesheet, Save as HTML uses the Editor stylesheet.
|
Examples
set htmlstylesheet=memo2
set htmlstylesheet=~/mydocs/memo/memo2.fos
set htmlstylesheet=http://www.some_site.com/examples/techman.xsl
Related Topics