Arbortext Command Language > set Command Options > set epubstylesheet
  
set epubstylesheet
set epubstylesheet= { name | none}
This command specifies the stylesheet to be used as the default for the Publish > For EPUB 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 epub 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 伺服器 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 epubstylesheet=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 伺服器 looks for stylesheets.
set epubstylesheet=axdocbook.style
If epubstylesheet is set to none or is not set, Arbortext Editor and Arbortext Publishing Engine use the Editor/Default stylesheet.
Examples
set epubstylesheet=memo2
set epubstylesheet=~/mydocs/memo/memo2.style
set epubstylesheet=http://www.some_site.com/examples/techman.xsl
Related Topics
set stylesheet command
Stylesheets overview
Displaying your XML document in a browser
Configuring stylesheet order in a list
Using Arbortext Publishing Engine for publishing documents
Opening, referencing, and saving files