On Thu, 4 Mar 2004 20:56:08 -0500 from a terminal far far away <Syd/> wrote: >Woah! I'm sorry to be so late; this one fell trhough the cracks >somehow. > LOL.. Your timing is actually excellent. I was literally About to start on a final run at a HowTo.
> >> I have a developer tool for Freedict (beta level) that produces the >> following header/prologue. > >What is Freedict? Oops a free (FLOSS) dictionary project (mostly translation type dictionaries). http://www.freedict.de We are currently undergoing a major overhaul (behind the scenes). ETA circa 2 months. (new web site documentation and development tools scheduled) >> <?xml version="1.0" encoding="utf-8" lang ="en" standalone="no" ?> > >As you mention, lang="en" belongs on either the root element or <text>. Yep and fixed now.. > > >> <!DOCTYPE TEI.2 PUBLIC "-//TEI Consortium//DTD TEI P4//EN" > >See below. > > >> "http://www.tei-c. org/P4X/DTD/tei2.dtd" [ > ^ >Need to nuke the space, of course. But see below. > > Hopefully that was a typo .. oops.. will check. (Thanks) >> <!--this file auto generated on Fri Feb 6 16:18:27 2004 by >> dict2xml.py-0.1.3 > >I haven't figured out if you have control over Freedict or not, but if >you do, you might want to consider putting this information somewhere >in the header as content, instead of a comment. E.g., > <sourceDesc> > <p>Automatically generated on <date > value="2004-02-06T16:18:27">Fri, 06 Feb 04</date> by the > program <name>dict2xml.py-0.1.3</name>.</p> > </sourceDesc> Ok I understand.. Yes a good idea. (May do both) I am a developer for freedict but not one of the head honchos. (Still working on autogenerating proper TEI header. Some dictionaries don't have a header at all.. yet) > > >> Notes: I have used a URI for the system id ... > >Once all the path stuff is straightened out (is it already?), any >reason not to use a path, something like >"/user/local/share/xml/TEI/P4/tei2.dtd"? > Ah yes... 1/ I am not sure of the debian install path (if any) . 2/ The URI should be more portable. Other than that I would prefer to use a path name :) > >> ... and the Public ID is generic I got it from their site. (At >> the moment it's not the ONLY one they use) > >?? This FPI occurs only in one (pretty outdated, I'm sad to say) page >on SGML to XML conversion. At the time you wrote this there were at >least two others floating about, although I think since then I've >killed one of them. Current doctrine, as much as I dislike it, is >"-//TEI P4//DTD Main Document Type//EN". > Bugger ! I changed from that to the "Consortium" string .. doh ! I will change everything back... Thanks for the info. > >> Note: the INCLUDES do some magic to make it XML. and grab the DTD >> / define the structure etc. . (all TEI docs start with the TEI >> element.. AFAIK) > >Yes, all TEI P4 documents have a root element of either TEI.2 or >teiCorpus.2 (unless renamed). > > >> I am also curious as to what to name the application catalog (s) >> i.e. >> /etc/sgml/tei2P4.cat >> and / or >> /etc/xml/tei2P4.xml > >I am not claiming that these are at all particularly good names, but >the catalogs that come with the DTDs are called catalog.tei and >teicatalog.xml. > I am not familiar enough with TEI. My first instinct was to use the names as found in the ZIP file... Then I was thinking maybe people would have multiple versions.. Certainly the final catalogs are still named as per TEI . <insert sound of grinding metal> yeah should be possible to keep the naming as you noted above right through. The developer level documentation (HowTo I am working on at the moment includes a full section on installing and configuring the Full TEI DTD's .. It would be nice to get it right :) I am recommending that by prefence packaging tools (debs rpms) are used, other wise I am suggesting they install under /user/local/sgml/ as this is a real SGML technology that also does XML .. as far as I can see. I also give basic instructions for a user only install, with a path URI as an example. > >> ... I can find no ... way ... of getting emacs to process XML style >> catalog chains.. A snack with SGML but not the other way around. > >I am not aware of any way to do this, either. Perhaps nXML mode? Works 5X5 via sgml so I guess I will stick with that as a suggested method for a new user install. > > >HTH. > Thanks for the info ... I think :) Peter -- Mesage Composed: Fri Mar 5 15:09:19 UTC 2004 Calendar events: Mar 06 Hindenburg explodes and burns upon landing at Lakehurst, NJ, 1939 Mar 07 Last Gilbert & Sullivan opera produced, 1896 < http://www.gnu.org/software/tetum/ > < http://bigbutton.com.au/~gossner > < [EMAIL PROTECTED] > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact >[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

