Patrice Karatchentzeff �crivait :
 > Salut,
 > 
 > J'ai un dr�le de truc dans un document docBook que je suis en train
 > d'�crire (version 3.1). je n'arrive pas � avoir acc�s aux entit�s 
 > 
 > < (par exemple)

Bon, j'ai trouv� la cause mais pas comment le r�parer...

En fait, j'ai un peu trop n�gliger les warning au lancement et le
sgmtools ne trouvent aucun des fichiers iso de docBook :

/usr/bin/jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:138:0:E:
cannot find "entities/ISOgrk3"; tried
"/usr/lib/sgml/entities/ISOgrk3", "/home/pk/nut/entities/ISOgrk3",
"/usr/share/sgml/entities/ISOgrk3

(et comme cela pour tous les ISO*).

J'ai fini par les trouver :

 $ ls /usr/share/sgml/entities/sgml-iso-entities-8879.1986/

catalog      ISOamsc.ent  ISOamsr.ent  ISOcyr2.ent  ISOgrk2.ent  ISOlat1.ent  
ISOpub.ent
ISOamsa.ent  ISOamsn.ent  ISObox.ent   ISOdia.ent   ISOgrk3.ent  ISOlat2.ent  
ISOtech.ent
ISOamsb.ent  ISOamso.ent  ISOcyr1.ent  ISOgrk1.ent  ISOgrk4.ent  ISOnum.ent

Bon, maintenant, � part le fait que le paquet est trou�, comment je
lui applique la rustine ? Comment lui faire changer le path pour
trouver ses petits ?

J'ai trouv� un point centralisateur dans /etc/sgml mais cela n'a pas
l'air de fonctionner : d'apr�s le fichier, il faut utiliser
update-catalog :

J'ai fait :

# update-catalog  --add docbook.cat 
/usr/share/sgml/entities/sgml-iso-entities-8879.1986/catalog
Adding entry /usr/share/sgml/entities/sgml-iso-entities-8879.1986/catalog to 
catalog docbook.cat...

pour tous les fichiers du r�pertoire pr�c�dent et j'ai maintenant :
cat docbook.cat
-- 
## ======================================================================
## /etc/sgml/docbook.cat : SGML centralized catalog
## ======================================================================
## Please use update-catalog(8) to modify this file.
## ======================================================================
--
CATALOG /usr/share/sgml/docbook/dtd/2.4.1/docbook.cat
CATALOG /usr/share/sgml/docbook/dtd/3.0/docbook.cat
CATALOG /usr/share/sgml/docbook/dtd/3.1/docbook.cat
CATALOG /usr/share/sgml/docbook/dtd/4.0/docbook.cat
CATALOG /usr/share/sgml/docbook/dtd/4.1/docbook.cat
CATALOG /usr/share/sgml/docbook/dtd/4.2.cr1/docbook.cat
CATALOG /usr/share/sgml/docbook/dtd/generalized.cat
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/catalog
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsa.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsb.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsc.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamso.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOamsn.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISObox.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOcyr1.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOcyr2.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOdia.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk1.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk2.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk3.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOgrk4.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOlat1.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOlat2.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOnum.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOpub.ent
CATALOG /usr/share/sgml/entities/sgml-iso-entities-8879.1986/ISOtech.ent

Mais rien n'y fait :-(

En plus, il m'en a fourr� partout et je viens de me rendre compte que
le path est d�j� d�fini dans sgml-data.cat...

Bref, c'est le souk...

PK

-- 
������|\������_,,,---,,_�������Patrice�KARATCHENTZEFF
ZZZzz�/,`.-'`'����-.��;-;;,_���mailto:[EMAIL PROTECTED]
�����|,4-��)�)-,_.�,\�(��`'-'��http://p.karatchentzeff.free.fr
����'---''(_/--'��`-'\_)�������

Répondre à