This is the mail archive of the
davenport@berkshire.net
mailing list for the Davenport project.
Re: DAVENPORT: psgml in emacs-20.3 question
- To: Maria Fish <mfish AT ebt dot com>
- Subject: Re: DAVENPORT: psgml in emacs-20.3 question
- From: Mike Sangrey <mike AT sojurn.lns.pa.us>
- Date: Tue, 14 Sep 1999 13:12:53 -0400
- CC: davenport AT berkshire dot net
- Reply-To: davenport AT berkshire dot net
mfish@ebt.com said:
> Does your catalog.txt file point to the dtd?
Well, I don't have a 'catalog.txt', but I do have a
/usr/lib/sgml/CATALOG file. I understood that this file was searched
by psgml by default. I've ever so slighted edited 'psgml.el' so that
'sgml-catalog-files' points to '/usr/lib/sgml/CATALOG'. I've also
verified that emacs now knows this.
The entries in CATALOG match up to the strings in my .sgm file.
There is a section in that CATALOG which contains this:
-- CUT HERE --- CUT HERE --- CUT HERE --- CUT HERE -
-- ...................................................................... --
-- SGML declaration associated with DocBook ............................. --
-- DTDDECL "-//Davenport//DTD DocBook V3.0//EN" "docbook.dcl" --
-- ...................................................................... --
-- DocBook driver file .................................................. --
PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
-- ...................................................................... --
-- DocBook modules ...................................................... --
PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd"
PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" "dbpool.mod"
PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" "dbhier.mod"PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod"
-- ...................................................................... --
-- CUT HERE --- CUT HERE --- CUT HERE --- CUT HERE -
This looks like I'm missing something simple. I appreciate any help
that I can get.
Thanks again!!
mfish@ebt.com said:
> At 02:31 PM 9/13/99 -0400, you wrote:
> >Can someone help me understand why psgml doesn't work for me.
> >
> >If I edit a file with
> >
> > <!DOCTYPE BOOK PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
> >
> >psgml parses it fine (and quickly), highlights nice and pretty, but I get
> >
> > External entity book not found
> > Public identifier -//Davenport//DTD DocBook V3.0//EN
> >
> >The only 'entities' (markup->insert entity) I have are 'atilogo', 'generic',
> >'gloss', 'markups', 'sgmlexa', and 'www'.
> >
> >'/usr/lib/sgml/' looks like:
> >
> > 30chg.txt ISOamsr ISOlat1 dbhier.mod nwalsh-modular.cat
> > 40issues.txt ISObox ISOlat2 dbpool.mod sgml-common.cat
> > CATALOG ISOcyr1 ISOnum docbook.cat style-sheet.dtd
> > ChangeLog ISOcyr2 ISOpub docbook.dcl stylesheets/
> > ISOamsa ISOdia ISOtech docbook.dtd stylesheets.cat
> > ISOamsb ISOgrk1 announce.txt dsssl.cat
> > ISOamsc ISOgrk2 cals-tbl.dtd dsssl.dtd
> > ISOamsn ISOgrk3 cdtd/ dtds/
> > ISOamso ISOgrk4 dbgenent.mod fot.dtd
> >
> >What's going on? It looks to me that psgml is not parsing the DTD and I
> >thought it was suppose to.
> >
> >Apparently clueless, but a very appreciative person nonetheless,
> >
> Maria
> ---------- - <;))>< Fish
> Online
> Technical Documentation Editor
> Electronic Publishing Solutions
> 299 Promenade Street
> Providence, RI 02908
> (401) 752-4449
> mfish@inso.com www.inso.com
> Inso Corporation