Re: docbook-4.5

2007-03-23 Thread Ken Moffat
On Thu, Mar 22, 2007 at 11:54:13PM +, Ken Moffat wrote:
> > >  Is there something I should have done to transition from a 4.4
> > > installation which used to work?  I've built sgml-common and
> > > docbook-4.5 per blfs
scene two:

ĸen: Eek!  Poisoned by a surfeit of docbooks! (Simulates a violent
choking death, with ad-lib repeats in response to any applause)

 Yes, mea culpa, I built the wrong sodding package (docbook sgml).
Sorry about the noise.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: docbook-4.5

2007-03-22 Thread Ken Moffat
On Thu, Mar 22, 2007 at 11:28:37PM +, Matthew Burgess wrote:
> On Thursday 22 March 2007 21:54, Ken Moffat wrote:
> >  Is there something I should have done to transition from a 4.4
> > installation which used to work?  I've built sgml-common and
> > docbook-4.5 per blfs, and now attempts to render the book choke.
> >
> > appendices/acknowledgments.xml:387: parser error : Entity 'ndash'
> > not defined
> >   <[EMAIL PROTECTED]> – LFS Technical Writer
> 
> The – entity should be defined 
> in /usr/share/xml/docbook/xml-dtd-4.5/ent/isopub.ent.
> 
> > warning: failed to load external
> > entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";
> 
> This sounds very much like your /etc/xml/catalog and/or /etc/xml/docbook 
> catalogues aren't configured correctly.
 Indeed.
> 
> /etc/xml/catalog should have the following entries:
> 
>  catalog="file:///etc/xml/docbook"/>
>catalog="file:///etc/xml/docbook"/>
>   http://www.oasis-open.org/docbook/"; 
> catalog="file:///etc/xml/docbook"/>
>   http://www.oasis-open.org/docbook/"; 
> catalog="file:///etc/xml/docbook"/>
> 
> /etc/xml/docbook should have the following entries:
> 
>  uri="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
> 
>  uri="file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd"/>
>
>   
>  
>  uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod"/> 
>   
>  uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod"/> 
> 
>  uri="file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod"/>
>
>  uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod"/> 
>  
>  uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod"/> 
> 
>   
>  
>  systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5"; 
> rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>   
>
> http://www.oasis-open.org/docbook/xml/4.5"; 
> rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>
> 
 Somehow, I didn't have any of these 4.5 entries in either file.
Pasted, but it still moans about mndash, ndash, AElig, and gives me
loads of the "failed to load external entity" warnings for
docbookx.dtd.  A look at the detail of the output shows that the
entities are indeed missing.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: docbook-4.5

2007-03-22 Thread Matthew Burgess
On Thursday 22 March 2007 21:54, Ken Moffat wrote:
>  Is there something I should have done to transition from a 4.4
> installation which used to work?  I've built sgml-common and
> docbook-4.5 per blfs, and now attempts to render the book choke.
>
> appendices/acknowledgments.xml:387: parser error : Entity 'ndash'
> not defined
>   <[EMAIL PROTECTED]> – LFS Technical Writer

The – entity should be defined 
in /usr/share/xml/docbook/xml-dtd-4.5/ent/isopub.ent.

> warning: failed to load external
> entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";

This sounds very much like your /etc/xml/catalog and/or /etc/xml/docbook 
catalogues aren't configured correctly.

/etc/xml/catalog should have the following entries:


  
  http://www.oasis-open.org/docbook/"; 
catalog="file:///etc/xml/docbook"/>
  http://www.oasis-open.org/docbook/"; 
catalog="file:///etc/xml/docbook"/>

/etc/xml/docbook should have the following entries:

http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>  
  
  
 

   
   

   
  
  
 
   
   
   
  

   
http://www.oasis-open.org/docbook/xml/4.5"; 
rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/> 
 
http://www.oasis-open.org/docbook/xml/4.5"; 
rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>

There are some additional lines to configure compatibility with previous 
versions of the DocBook DTD, but they're not relevant to the LFS book.

Regards,

Matt.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


docbook-4.5

2007-03-22 Thread Ken Moffat
 Is there something I should have done to transition from a 4.4
installation which used to work?  I've built sgml-common and
docbook-4.5 per blfs, and now attempts to render the book choke.

appendices/acknowledgments.xml:387: parser error : Entity 'ndash'
not defined
  <[EMAIL PROTECTED]> – LFS Technical Writer
^
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
appendices/dependencies.xml:6: warning: failed to load external
entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";
]>
  ^

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page