[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: docBook et les entités séparées



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:p.karatchentzeff@free.fr
     |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
    '---''(_/--'  `-'\_)       



Reply to: