Re: How to test (tei) module
ZdPo Ster <[email protected]>
| Newsgroups | gmane.comp.literature.sword.devel |
|---|---|
| Message-ID | <CAC=ZCwzLDtW9=vVZ-ab=VfMWVSPTXB=dLU8Kf8zdPxDyw2K0cg@mail.gmail.com> |
Hi, actually I am referring to wiki.crosswire.org, so I hope I read it ;-) Regarding dictionary: I would like to create tei formatted dictionary that works also outside of The Sword Project. e.g. like a simple greek-slovak dictionary. As far as I understand, The Sword used only a subset of tei. When I make my tests (like in the original post) I am not sure if there is a problem in the fronted app, or The Sword library does not support it or there is a flaw). So I need to have some test tools based on the library (to eliminate possible problems with fronteds). My target is to follow The TEI Guidelines but the module should work with The Sword without modification. Yours, Zdenko On Thu, 27 Oct 2022 at 20:49, Peter von Kaehne <[email protected]> wrote: > Hi, > > Have you checked our wiki? > > CrossWire Bible Society <http://wiki.crosswire.org/Main_Page> > wiki.crosswire.org <http://wiki.crosswire.org/Main_Page> > <http://wiki.crosswire.org/Main_Page> > <http://wiki.crosswire.org/Main_Page> > > Lots of info on module making - including TEI > > Yours > > Peter > > Sent from my phone. Please forgive misspellings and weird “corrections” > > On 27 Oct 2022, at 19:28, ZdPo Ster <[email protected]> wrote: > > > Hello, > > As I got a strong suggestion to use the TEI as the format for the > dictionary I face the problem of how to test the created module. > > For example: > wiki (https://wiki.crosswire.org/TEI_Dictionaries) suggest to use for > Internal references this: > > <xr type="see">See: <ref target="self:key">key text</ref></xr> > > > When I have a look at > https://gitlab.com/crosswire-bible-society/strongsgreek/-/blob/master/tei/strongsgreek.tei.xml > I see usage like this: > <ref target="StrongsGreek:427">427</ref> > > I tried to avoid 'hardcoding' a module name in the dictionary, so I used > <ref target="self:00427">427</ref> > but it does not work (in Xiphos) - maybe I got it wrong. > > > In The TEI Guidelines ( > https://tei-c.org/release/doc/tei-p5-doc/ko/html/DI.html) I found this > example: > <ref target="#locution">s.v. <term>locution</term></ref> > > so I tried: > <ref target="#00427">427</ref> > > And - it does not work... After try and test I found variants that works ('strongsgreek_sk.tei' is name of my test module): > <ref target="strongsgreek_sk.tei:00427">427</ref> > <ref target=":00427">:427</ref> > <ref target="427">427</ref> > <ref target="00427">427</ref> > > I am not sure if this is a problem with the frontend or the library or my module, so I am looking for a way to test tei formatting without needing to test various sword frontends... > > Also I am not sure if somebody is interested in these findings/experiences (where to report it?). > > BR, > > Zdenko > > _______________________________________________ > sword-devel mailing list: [email protected] > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > > _______________________________________________ > sword-devel mailing list: [email protected] > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > _______________________________________________ sword-devel mailing list: [email protected] http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page