Re: Adding dispspecs
[email protected] (Geert Stappers) Mon, 16 Feb 2004 12:55:09 +0100
| Newsgroups | gmane.editors.conglomerate.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 16, 2004 at 12:31:45PM +0100, Roberto Rosselli Del Turco wrote: > Il lun, 2004-02-16 alle 11:37, Geert Stappers ha scritto: > > On Mon, Feb 16, 2004 at 10:40:16AM +0100, Roberto Rosselli Del Turco wrote: > > > Hi all, <snip/> > > > It would be nice to be able to modify > > > current dispspecs, then drop the modified versions in the dispspec > > > directory and have them work automagically; <snip/> > > > > AFAIK Conglomerate loads the XDS files only during startup. > > Indeed, this is the output on the command line: > > ** Message: Loading xds files from "/home/roby/.conglomerate/dispspecs" > > CongDispspecRegistry contains 14 dispspec(s) > ds[0] = "Experimental "cnxml" format" > ds[1] = "Name of this document type" <snip/> > ds[12] = "TEI Lite" > ds[13] = "Digital Scriptorium" > > The 13th dispspec (Digital Scriptorium) is the one I added before > launching C. launching C-compiler? launching Conglomerate? ( /me telling that I first didn't understood what you mean with 'C' ) > > > IIRC there is _in_ conge a display spec file edit function, > > that can reload the fresh edited dot xds. > > Having to restart Conglomerate in case you add a new dispspec doesn't > look particularly cumbersome, provided that dropping it in the > appropriate directory and restarting the program actually means having > the dispspec working. In fact, this is what happens when I try to load a > DS document: > > ** Message: coverage of TEI Lite = 0,838710 > ** Message: coverage of Digital Scriptorium = 0,991935 > > Here Conglomerate identifies the DS dispspec as being the closest one to > the document, then prints these lines > > ** Message: searching for "paragraph" found "admonition" > ** Message: searching for "paragraph" found "listitem" > ** Message: searching for "paragraph" found "paragraph" > > And dies. Dies??? Could it be downloading of DTDs? ( http://bugzilla.gnome.org/show_bug.cgi?id=117469 ) > For one of my sample documents I also get this: > > ** (conglomerate:4118): WARNING **: unable to convert attribute end > index 4 > > ** (conglomerate:4118): WARNING **: unable to convert attribute end > index 4 > > I wonder if it's because of some mistakes I could have done in modifying > the TEI lite dispspec to generate the DS one. I do get those warnings also. However, I don't known what they mean. This message is just to tell you to not doubt your effort on adding dispspecs. > > Ciao > > -- > Roberto Rosselli Del Turco roberto.rossellidelturco at unito.it Geert Stappers