Re: TEI/TEI lite support

Roberto Rosselli Del Turco <[email protected]> Tue, 03 Feb 2004 12:00:38 +0100
Newsgroups gmane.editors.conglomerate.general
Message-ID <[email protected]>
Il lun, 2004-02-02 alle 16:30, Dave Malcolm ha scritto:

> As I said, it doesn't usually matter if your dispspec contains more
> elements than are in the DTD. You can have a dispspec that contains
> simply the union of all possible elements.  The trouble is that at the
> moment, each dispspec is only expected to associate with a single DTD. 
> There isn't a mechanism yet for dealing with this kind of "family of
> DTDs" approach.  We could use entities to reuse fragments of xds file
> and have a big family of xds files, perhaps.

I was thinking about something like that, but of course you're the one
knowing what's possible.

> Need to think this through, and consider what to do with similar
> approaches.  For example, this feels similar to the problem of when
> someone wants to edit instances of a customised version of the DocBook
> DTD.
> 
> Perhaps we should focus on TEI Lite for the moment?

Yes, my (implicit) conclusion too.

> > of the users. It would make sense try to mimic the TEI mechanism and
> > manage to "merge" several xds as needed, I wonder if that would be
> > possible. It would also be nice to have some sort of GUI tool to edit
> > Display Specs, with property windows, drag'n'drop and the like, but I'll
> > stop dreaming now :)
> 
> Please file an enhancement request in Bugzilla! (I'm serious)

OK, will do during this week. I've also got the .pot file to translate
into Italian ;)

> I'm trying out your xds file; I'm ready to add it to CVS (which will put
> it in tarballs).
> 
> Looks like Conglomerate didn't do a great job of generating the xds
> file, but it's a start.  Some issues to look at:
> - sort out the external-document-model element so that it knows about
> the DTD

Hmm, can you elaborate on this? I'm not sure I understand what you mean.

> - fix the name and description in the metadata

OK.

> - possibly remove the xml:lang attributes from the <name> elements

xml:lang="C" looks pretty useless to me.

> - possibly remove all the <name> elements, or fix them so they make
> sense.

I have prepared a similar list for the gedit tag list plugin: I usually
expanded where possible (e.g. Paragraph for the <p> element) and left
unmodified those that make sense on their own  (e.g. Imprint).

> - use plugins where appropriate

Hmm, what plugins are available? what do they do? where can I read about
those?

> - add icons

OK.

> Let the list know when you've got a new xds file; I'm keen to add it.

OK!

> Thanks!

You're welcome :)

Ciao

-- 
Roberto Rosselli Del Turco      roberto.rossellidelturco at unito.it
Dipartimento di Scienze         rosselli at ling.unipi.it
del Linguaggio                  Then spoke the thunder  DA
Universita' di Torino           Datta: what have we given?  (TSE)
 
  Hige sceal the heardra,     heorte the cenre,
  mod sceal the mare,       the ure maegen litlath.  (Maldon 312-3)