ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vyt <vyt@vzljot.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: docbook-dtds
Date: Wed, 6 Mar 2002 17:13:56 +0300
Message-ID: <20020306171356.2844dbf2.vyt@vzljot.ru> (raw)
In-Reply-To: <3C862274.4000609@module.ru>

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

On Wed, 06 Mar 2002 17:06:44 +0300
Ivan Chelubeev <ijon@module.ru> wrote:

<skipped>

> > Ок, спасибо. А можно, pls, то же самое на user level? Например,
> > какие заклинания сотворить для конвертации DocBook XML с русским
> > текстом в html?
> 
> 1. Документы создавать в utf-8.
> 2. Для jw, docbook2html и иже с ними определять переменную окружения 
> SP_ENCODING=xml (чтобы кодировка документа бралась из самого XML-документа):
>     SP_ENCODING=xml docbook2html -o <output.html> <input.xml>
> 
> Документация на SGML-парсер SP, на основе которого построен jade, фиксирует 
> следующую ситуацию с кодировками:
>    * варианты unicode,
>    * iso-8859-n,
>    * японо-китайско-корейские,
> на Windows (только, если jade собирался msvc) ещё есть:
>    * ms-dos, windows, wunicode
> 
> Так что ни cp1251, ни windows-1251, ни koi8-r jade не проходят.
> 
> Документацию см. либо в src.rpm, либо в cvs openjade-проекта на sourceforge -
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/openjade/sp/doc/,
> файлы charset.htm, xml.htm

Спасибо!

Кстати, sgmltools file.xml с таким началом
----
<?xml version="1.0" encoding="cp1251"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
....

Конвертируется в html вроде бы корректно, во всяком случае, текст
читаем.

<skipped>

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2002-03-06 14:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01 18:36 [sisyphus] docbook-dtds Vyt
2002-03-04 10:35 ` [sisyphus] docbook-dtds Mikhail Zabaluev
2002-03-04 11:03   ` Vyt
2002-03-04 20:43     ` Mikhail Zabaluev
2002-03-05  7:50       ` Vyt
2002-03-05 10:14         ` Mikhail Zabaluev
2002-03-05 11:04           ` Vyt
2002-03-06  9:59             ` Mikhail Zabaluev
2002-03-06 12:14               ` Vyt
2002-03-06 12:50                 ` Ivan Chelubeev
2002-03-06 12:56                   ` Vyt
2002-03-06 14:06                     ` Ivan Chelubeev
2002-03-06 14:13                       ` Vyt [this message]
2002-03-06 14:29                         ` Ivan Chelubeev
2002-03-06 14:42                           ` Vyt
2002-03-06 21:47                       ` Mikhail Zabaluev
2002-03-07 12:22                         ` Vyt
2002-03-07 12:31                           ` Ivan Chelubeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020306171356.2844dbf2.vyt@vzljot.ru \
    --to=vyt@vzljot.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git