From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 13 Mar 2002 14:55:28 +0300 From: Vyt To: devel@altlinux.ru Subject: Re: [devel] Re: Update: docbook-dtds... Message-Id: <20020313145528.16844eaa.vyt@vzljot.ru> In-Reply-To: <20020312212252.GD2120@mhz.mikhail.zabaluev.name> References: <20020311114642.GA6245@mhz.mikhail.zabaluev.name> <20020311150215.3c42513c.vyt@vzljot.ru> <20020311211848.GB3137@mhz.mikhail.zabaluev.name> <20020312153356.226723c4.vyt@vzljot.ru> <20020312212252.GD2120@mhz.mikhail.zabaluev.name> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i586-alt-linux) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=.Ki,jNz6okefl9i" Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: devel@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: List-Post: --=.Ki,jNz6okefl9i Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit On Wed, 13 Mar 2002 00:22:52 +0300 Mikhail Zabaluev wrote: > Лучше даже (я уже слал по Jabber -- потерялось?) установить пакет с Не потерялось, я отвечал, но Вы там редко появляетесь. > --noscripts и руками вызывать команды по очереди с контролем типа > command ... || echo 'Failed' > Опция --verbose в xmlcatalog тоже пригодится. В docbook-dtds.spec есть строки ... AddCatalogFamily openjade AddCatalogFamily docbook/dsssl-stylesheets ... хотя в зависимостях у docbook-dtds нет openjade и docbook-style-dsssl Может, дело в порядке установки пакетов? Поставил docbook-dtds с --noscripts и запустил скрипт (по мотивам .spec): #!/bin/sh sgmlconfdir=/etc/sgml sgmlentitiesdir=/usr/share/sgml/sgml-iso-entities-8879.1986 xmlbase=/usr/share/xml CATALOG=$sgmlconfdir/xml-docbook-4.1.2.cat xmlcatalog --verbose --sgml --noout --add $CATALOG $sgmlentitiesdir/catalog || echo "Failed" xmlcatalog --verbose --sgml --noout --add $CATALOG $xmlentitiesdir/catalog || echo "Failed" xmlcatalog --verbose --sgml --noout --add $CATALOG $xmlbase/docbook/dtd/4.1.2/catalog || echo "Failed" ## ## XML catalog ## CATALOG=$xmlbase/docbook/catalog xmlcatalog --verbose --noout --add "public" "-//OASIS//DTD DocBook XML V4.1.2//EN" "dtd/4.1.2/docbookx.dtd" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "dtd/4.1.2/calstblx.dtd" $CATALOG ||echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "dtd/4.1.2/soextblx.dtd" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "dtd/4.1.2/dbpoolx.mod" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "dtd/4.1.2/dbhierx.mod" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "dtd/4.1.2/dbgenent.mod" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "dtd/4.1.2/dbnotnx.mod" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "public" "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "dtd/4.1.2/dbcentx.mod" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.1.2" "dtd/4.1.2" $CATALOG || echo "Failed" xmlcatalog --verbose --noout --add "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.1.2" "dtd/4.1.2" $CATALOG || echo "Failed" Получил: $ docbook2html postfix.xml Using catalogs: /etc/sgml/xml-docbook-4.1.2.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#html Working on: /home/vyt/postfix.xml jade:/home/vyt/postfix.xml:3:76:E: URL not supported by this version jade:/home/vyt/postfix.xml:49:15:E: general entity "mdash" not defined and no default entity jade:/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl:1:73:W: cannot generate system identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN" jade:/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl:11:0:E: reference to entity "STYLE-SHEET" for which no system identifier could be generated ... <вывод в plain text> Содержимое /etc/sgml/catalog: CATALOG "/etc/sgml/dsssl-1.3.cat" CATALOG "/etc/sgml/sgml-docbook-3.0.cat" CATALOG "/etc/sgml/xml-docbook-4.1.2.cat" CATALOG "/usr/share/sgml/openjade-1.3/catalog" CATALOG "/etc/sgml/sgml-docbook-3.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.0.cat" CATALOG "/etc/sgml/sgml-docbook-4.1.cat" После добавления строки CATALOG "/usr/share/sgml/openjade-1.3/catalog" в /etc/sgml/xml-docbook-4.1.2.cat Получил: $ docbook2html postfix.xml Using catalogs: /etc/sgml/xml-docbook-4.1.2.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#html Working on: /home/vyt/postfix.xml jade:/home/vyt/postfix.xml:3:76:E: URL not supported by this version jade:/home/vyt/postfix.xml:49:15:E: general entity "mdash" not defined and no default entity postfix.html не создался > > Буду ковырять скрипты из %post > > Ужо не нужно: возьмите новый openjade из altair:/user/mhz/RPM > , там это исправлено. Не могу, не удостоен. Можно личным мылом? Если там до 10M... -- Regards, Vyt mailto: vyt@vzljot.ru JID: vyt@vzljot.ru --=.Ki,jNz6okefl9i Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8jz40d6sY3eC5PjQRAqScAKDpasNczbCmeDpnk/u4GIFXnLioGgCg1VyY xjX7PBK9p4mUX+quliUCikY= =asm8 -----END PGP SIGNATURE----- --=.Ki,jNz6okefl9i--