Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
The sdf command is used to convert SDF to other formats. The general syntax is:
sdf [options] file ...
If an extension is not given (and a file is not found with that name), an extension of sdf is assumed.
To convert mydoc.sdf to HTML, the command is:
sdf -2html mydoc
This creates a file called mydoc.html.
To convert mydoc.sdf to a set of HTML topics, the command is:
sdf -2topics mydoc
This creates the following files:
To convert mydoc.sdf to PostScript on Unix, the command is:
sdf -2ps mydoc
This creates a file called mydoc.ps by:
To convert mydoc.sdf to PostScript on Windows, the command is:
sdf -2mif mydoc
This creates a file called mydoc.mif which can be opened in FrameMaker and printed to a PostScript file.
To generate a PDF file, the steps are:
To convert mydoc.sdf to plain text, the command is:
sdf -2txt mydoc
This creates a file called mydoc.txt.
To convert mydoc.sdf to Windows help, the command is:
sdf -2hlp mydoc
This creates the following files:
These need to be compiled using a help compiler (e.g. hcp.exe). For example:
hcp mydoc
This creates a file called mydoc.hlp (provided no errors are encountered).
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog