From: Ivan Chelubeev <ijon@module.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: docbook-dtds
Date: Wed, 06 Mar 2002 17:06:44 +0300
Message-ID: <3C862274.4000609@module.ru> (raw)
In-Reply-To: <20020306155651.31fd486f.vyt@vzljot.ru>
Vyt wrote:
> On Wed, 06 Mar 2002 15:50:07 +0300
> Ivan Chelubeev <ijon@module.ru> wrote:
>
> <skipped>
>
>>>Установлен docbook-style-xsl-1.48-alt1, файлов dsl в нем нет.
>>>
>>Вы, ребята, путаете: jade (openjade), который в конце концов вызывается через
>>wrapper docbook2html, сиречь jw, есть DSSSL-процессор, который о XSL ни сном
>>ни духом. То есть, трансформировать DocBook XML jade'ом можно только с помощью
>>DocBook DSSSL Stylesheet, о DocBook XSL Stylesheet забудьте.
>>
>
> Ок, спасибо. А можно, 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
next prev parent reply other threads:[~2002-03-06 14:06 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 [this message]
2002-03-06 14:13 ` Vyt
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=3C862274.4000609@module.ru \
--to=ijon@module.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