Set the environment variable setenv DOCPATH $HOME/text/ Call &sdc; to generate a html page from text.sgml: &sdc; -o text.html text.sgml