blob: 20c0e84ab53d36161a18dd8313947b6c385d6407 [file] [log] [blame]
<?xml version='1.0'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Registering a CSS Stylesheet</title>
</head>
<body>
<h1>Registering a CSS Stylesheet</h1>
<p>Vex uses a CSS stylesheet to determine the fonts, colours, and
spacing to use while editing your document. You can register a new
CSS stylesheet with Vex as follows.</p>
<ol>
<li>If necessary, <a href="create-plugin-project.html">create a
plug-in project</a> to contain your stylesheet.</li>
<li>Copy the CSS file and any related files to a directory in the
plug-in project. If you copy these files outside of Eclipse, you
may have to refresh the workspace in Eclipse by right-clicking
the project in the Navigator and selecting <b>Refresh</b> from
the context menu.</li>
<li>In the Navigator, right-click the CSS file and select
<b>Properties</b>.</li>
<li>Select the Vex Style property page and provide a Name for
your stylesheet. You must also select all document types to which
the style applies. Click OK when done.</li>
</ol>
<p>You can confirm that your DTD file was successfully registered
by checking out the <a href="show-configuration-view.html">Vex
Configuration view</a>.</p>
<h5>Related Tasks</h5>
<ul>
<li><a href="create-plugin-project.html">Creating a Plug-in
Project</a></li>
<li><a href="register-dtd.html">Registering a DTD</a></li>
</ul>
</body>
</html>