Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 11:22:56 +0900
From:      Mic <michael_is_98@mail.ru>
To:        freebsd-doc@freebsd.org
Subject:   creating doc page
Message-ID:  <20110413022256.GA1859@mic.dummy.ru>

next in thread | raw e-mail | index | archive | help
Hello!

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?

-- 
Mic



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110413022256.GA1859>