creating doc page

Mic michael_is_98 at
Wed Apr 13 02:33:18 UTC 2011


I decided to create my own help page about general settings of FreeBSD PC.
So, I've read "fdp-primer" book (and parts concerning DocBook). 
DocBook seems to me very suitable for this task. 
SGML file is ready, but some instruments for creating html page (openjade and tidy) are not so easy to involve.

I've tried this command to convert freebsd.sgml file to html page

/usr/bin/env SP_ENCODING=WINDOWS-1251 /usr/local/bin/openjade -E 1000 -V nochunks 
-c /usr/local/share/sgml/docbook/dsssl/modular/catalog
-c /usr/local/share/sgml/docbook/4.1/dtd/catalog
-c /usr/local/share/sgml/openjade/catalog
-d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl
 -t sgml freebsd.sgml > freebsd.html

But in result freebsd.html file there is no HTML headers, for example with code page property

<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

What should I do to include this property (and maybe another useful) in result file?


More information about the freebsd-doc mailing list