Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 10:05:00 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Mic <michael_is_98@mail.ru>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: creating doc page
Message-ID:  <BANLkTimsWCrue00-F=0MoWhLOiF2EDsMcg@mail.gmail.com>
In-Reply-To: <20110413022256.GA1859@mic.dummy.ru>
References:  <20110413022256.GA1859@mic.dummy.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Apr 2011 03:33, "Mic" <michael_is_98@mail.ru> wrote:
>
> 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

Have a look at the Makefile I wrote for the Tinderbox documentation, It's on
the marcuscom cvsweb under the tinderweb/dbsrc module... can't link because
I'm on my phone sy the moment.

There's stuff there to have a small independent FreeBSD-style Docbook
article/book without the other documentation project stuff.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimsWCrue00-F=0MoWhLOiF2EDsMcg>