SGML: CATALOG and TEI DTD, xemacs 19.14 + psgml + TEI P3

CATALOG and TEI DTD, xemacs 19.14 + psgml + TEI P3

Date:         Sat, 9 Aug 1997 06:41:46 CDT
Reply-To: David J Birnbaum <djbpitt+@PITT.EDU>
From: David J Birnbaum <djbpitt+@PITT.EDU>
Subject:      Re: xemacs 19.14 + psgml + TEI P3


> I am using xemacs-19.14 to edit my SGML/TEI documents with the psgml
> mode.  Everything is Ok except that i have to run xemacs from the
> directory containing the TEI DTD files to edit TEI documents. Otherwise,
> I get the following parsing error :
> External entity TEI.elementNames not found
>   System identfier teigis2.ent
> External entity TEI.keywords.ent not found
>   System identfier teikey2.ent
> External entity TEI.elementClasses not found
>   System identfier teiclas2.ent
> Undefined parameter entity n.TEI.2
> Line 52 in "tei.2"
> Name expected; at: - O  (%n.tei

It sounds as if you may be running with an incomplete CATALOG file, so
that psgml is finding some, but not all, of your TEI files. I'm appending
my CATALOG, which works as advertised with both psgml and nsgmls. Your
system identifiers will differ, of course, but if you're missing any of
the identifiers entirely, you may want to try to add them and give it
another shot. If I remember correctly, I started with a CATALOG file
someone had posted to a public list, got error messages similar to the
ones you report, and made them go away by adding CATALOG lines for every
system identifier not found the first time.



PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Latin 2//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Binary Operators//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Delimiters//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Negated Relations//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Ordinary//EN"
PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Relations//EN"
PUBLIC "ISO 8879-1986//ENTITIES Box and Line Drawing//EN"
PUBLIC "ISO 8879-1986//ENTITIES Russian Cyrillic//EN"
PUBLIC "ISO 8879-1986//ENTITIES Non-Russian Cyrillic//EN"
PUBLIC "ISO 8879-1986//ENTITIES Diacritical Marks//EN"
PUBLIC "ISO 8879-1986//ENTITIES Greek Letters//EN"
PUBLIC "ISO 8879-1986//ENTITIES Monotoniko Greek//EN"
PUBLIC "ISO 8879-1986//ENTITIES Greek Symbols//EN"
PUBLIC "ISO 8879-1986//ENTITIES Alternative Greek Symbols//EN"
PUBLIC "ISO 8879-1986//ENTITIES Numeric and Special Graphic//EN"
PUBLIC "ISO 8879-1986//ENTITIES Publishing//EN"
PUBLIC "ISO 8879-1986//ENTITIES General Technical//EN"

PUBLIC "-//TEI/DTD TEI Lite//EN//1.0"
PUBLIC "-//TEI//DTD TEI Lite 1.0//EN"
PUBLIC "-//TEI//DTD TEI Lite 1.0//EN//1.0"

PUBLIC "-//TEI//DTD TEI Level 2//EN//2.0"   "/export/home/djb/tei/dtd/tei2.dtd"
PUBLIC "-//TEI//DTD TEI Level 2//EN"        "/export/home/djb/tei/dtd/tei2.dtd"


PUBLIC "-//TEI//SGMLDECL TEI//EN"           "/export/home/djb/tei/dtd/tei.dec"

ENTITY TEI.elementNames
ENTITY TEI.keywords.ent
ENTITY TEI.elementClasses
ENTITY TEI.header.dtd
ENTITY TEI.core.dtd
ENTITY TEI.prose.dtd
ENTITY TEI.verse.dtd
ENTITY TEI.drama.dtd
ENTITY TEI.spoken.dtd
ENTITY TEI.dictionaries.dtd
ENTITY TEI.dictionaries.ent
ENTITY TEI.terminology.dtd
ENTITY TEI.general.dtd
ENTITY TEI.mixed.dtd
ENTITY TEI.linking.dtd
ENTITY TEI.analysis.dtd
ENTITY TEI.fs.dtd                          "/export/home/djb/tei/dtd/teifs2.dtd"
ENTITY TEI.certainty.dtd
ENTITY TEI.transcr.dtd
ENTITY TEI.textcrit.dtd                    "/export/home/djb/tei/dtd/teitc2.dtd"
ENTITY TEI.names.dates.dtd                 "/export/home/djb/tei/dtd/teind2.dtd"
ENTITY TEI.nets.dtd
ENTITY TEI.figures.dtd
ENTITY TEI.corpus.dtd

Professor David J. Birnbaum     email:
Department of Slavic Languages  url:
1417 Cathedral of Learning      voice: 1-412-624-5712
University of Pittsburgh        fax:   1-412-624-9714
Pittsburgh, PA 15260 USA