Document Types > Porting Document Types > Installing UNIX Document types in Windows
  
Installing UNIX Document types in Windows
Perform the following steps to install UNIX document types in Windows.
To install UNIX document types in Windows:
1. In Windows, create a set of directories to contain the files associated with the document types you are transferring.
Create an installation directory different than the default, specifying a file name such as c:\altdir.
Create the following subdirectories in the altdir directory:
doctypes to store your custom document types.
entities to store your external entities.
graphics to store your external graphic files.
* 
You can use these directories each time you install a new document type.
2. In your doctypes directory (c:\altdir\doctypes, in this example), create a subdirectory with the same name as your new document type. For example, you may want a document type called refman, so your path would look as follows: c:\altdir\doctypes\refman.
3. Copy the document type you are transferring (refman, in this example) to c:\altdir\doctypes\refman.
4. Copy test.sgm to c:\altdir\doctypes\refman\test.sgm.
5. If your document type includes external entities, copy them to c:\altdir\entities.
6. If your document type includes external graphic entities or files, copy them to c:\altdir\graphics.
7. To create a template document, copy the test.sgm file, and rename it template.sgm.
8. To create a demo document, copy the test.sgm file, and rename it demo.sgm.