Open eifionjones opened 4 years ago
I notice that @yf227 has added biblStruct
to a new Fihrist record:
There are no XSLT templates for displaying this yet, so it just gets dumped as a string of unformatted text (except titles are italicized) in the Bibliography:
https://www.fihrist.org.uk/catalog/manuscript_16739
@holfordm has added biblStruct and its child elements to the ODD. But compiling that to Relax NG and testing reveals there are few changes which are needed for it to be valid:
biblStruct
must contain a monogr
child elementimprint
element.So the example above becomes:
<listBibl>
<biblStruct type="book" xml:id="Ullendorff1961" corresp="http://zotero.org/users/local/VPTDBJud/items/2GNGMD9M">
<monogr>
<title level="m">Catalogue of Ethiopian manuscripts in the Cambridge University Library
/ by Edward Ullendorff and Stephen G. Wright ; with a contribution by D.A.
Hubbard.</title>
<author>
<forename>Edward</forename>
<surname>Ullendorff</surname>
</author>
<imprint>
<pubPlace>Cambridge</pubPlace>
<publisher>Cambridge University Press</publisher>
<date>1961</date>
</imprint>
</monogr>
</biblStruct>
<biblStruct type="book" xml:id="Leslau1951" corresp="http://zotero.org/users/local/VPTDBJud/items/ATRQKIFH">
<monogr>
<title level="m">Falasha anthology / translated from Ethiopic sources with an introd. by
Wolf Leslau.</title>
<author>
<forename>Wolf</forename>
<surname>Leslau</surname>
</author>
<imprint>
<pubPlace>New Haven</pubPlace>
<publisher>New Haven : Yale University Press, 1951.</publisher>
<date>1951</date>
</imprint>
</monogr>
</biblStruct>
</listBibl>
Will this work for your systems?
Hi Andrew
Thanks for this.
It would be perfect to have the bibliography in valid TEI as Zotero exports it. I fiddled with it too much trying to get it to validate against the schema that it became corrupted.
Huw says they have done the XSLT coding for
ysmn
From: Andrew Morrison notifications@github.com
Reply-To: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Tuesday, 7 April 2020 at 10:25
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Yasmin Faghihi yf227@cam.ac.uk, Mention mention@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
I notice that @yf227https://github.com/yf227 has added biblStruct to a new Fihrist record:
There are no XSLT templates for displaying this yet, so it just gets dumped as a string of unformatted text (except titles are italicized) in the Bibliography:
https://www.fihrist.org.uk/catalog/manuscript_16739
@holfordmhttps://github.com/holfordm has added biblStruct and its child elements to the ODD. But compiling that to Relax NG and testing reveals there are few changes which are needed for it to be valid:
So the example above becomes:
Will this work for your systems?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-610278656, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3E6WOIITGURU43VFX3C6LRLLWQLANCNFSM4LWOJX4A.
Yes, you will be able to just pick the export as TEI option in Zotero and paste it in, once I've done a new release on the msdesc schema later today.
I'll let you know when I have done that, then you can fix Or. 1878 (and Add. 1570 which I see you added yesterday) and will be able to validate in Oxygen.
Excellent! Thanks Andrew! I am still working on Add. 1570…it’s a complex record… Looking forward to seeing the update. ysmn
From: Andrew Morrison notifications@github.com
Reply-To: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Tuesday, 7 April 2020 at 11:37
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Yasmin Faghihi yf227@cam.ac.uk, Mention mention@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
Yes, you will be able to just pick the export as TEI option in Zotero and paste it in, once I've done a new release on the msdesc schema later today.
I'll let you know when I have done that, then you can fix Or. 1878 (and Add. 1570 which I see you added yesterday) and will be able to validate in Oxygen.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-610311742, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3E6WM2PFSC6ICZYT65I6TRLL65VANCNFSM4LWOJX4A.
There were some issues doing the new release of the schema, but it is done now. You should be able to copy and paste Zotero's TEI export straight into the listBibl
in additional
.
You may have to restart Oxygen to force it to download a fresh copy of the schema file.
Waw, excellent! Thank you, Andrew!! Will check it out straight away.
From: Andrew Morrison notifications@github.com
Reply-To: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Thursday, 9 April 2020 at 18:14
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Yasmin Faghihi yf227@cam.ac.uk, Mention mention@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
There were some issues doing the new release of the schema, but it is done now. You should be able to copy and paste Zotero's TEI export straight into the listBibl in additional.
You may have to restart Oxygen to force it to download a fresh copy of the schema file.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-611644959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3E6WJ4M4VDEL4KEKGPSIDRLX657ANCNFSM4LWOJX4A.
Thanks Andrew, brilliant! Best wishes, Huw
From: Andrew Morrison notifications@github.com
Reply to: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Thursday, 9 April 2020 at 18:14
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Huw Jones hej23@cam.ac.uk, Author author@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
There were some issues doing the new release of the schema, but it is done now. You should be able to copy and paste Zotero's TEI export straight into the listBibl in additional.
You may have to restart Oxygen to force it to download a fresh copy of the schema file.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-611644959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDGKAEEHB2RQEKIT4JVJH3RLX657ANCNFSM4LWOJX4A.
It works! ☺
From: Huw Jones notifications@github.com
Reply-To: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Thursday, 9 April 2020 at 19:46
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Yasmin Faghihi yf227@cam.ac.uk, Mention mention@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
Thanks Andrew, brilliant! Best wishes, Huw
From: Andrew Morrison notifications@github.com
Reply to: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Thursday, 9 April 2020 at 18:14
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Huw Jones hej23@cam.ac.uk, Author author@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
There were some issues doing the new release of the schema, but it is done now. You should be able to copy and paste Zotero's TEI export straight into the listBibl in additional.
You may have to restart Oxygen to force it to download a fresh copy of the schema file.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-611644959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDGKAEEHB2RQEKIT4JVJH3RLX657ANCNFSM4LWOJX4A.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-611692440, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3E6WPAHOG5EEXWPK7BONDRLYJX7ANCNFSM4LWOJX4A.
Reopening this issue because biblStruct needs new XSLT to display it in HTML. Yasmin mentioned above there already being some, which you can send me, Huw. Or do you want to do it as a merge request?
Hi Andrew,
I’m attaching the code we use to turn biblStruct into html
For context – this is not an independent piece of XSLT – it’s a prefilter embedded in XTF and contains the whole chunk of code we use to turn TEI into what gets consumed by our viewer – so you can ignore most of it.
We do however turn the
It starts on line 4692 (commented “BIBLIOGRAPHY PROCESSING”) and continues to the end
The first three templates just look for bibliographies and put a wrapper round them
The rest goes through a lot of logic to turn the contents of
This was all written by Pete Johnston, a former colleague, so I didn’t go through the whole process myself, but if there are questions do ask!
Hope all well with you.
Best,
Huw
From: Andrew Morrison notifications@github.com
Reply to: msDesc/consolidated-tei-schema reply@reply.github.com
Date: Tuesday, 14 April 2020 at 10:49
To: msDesc/consolidated-tei-schema consolidated-tei-schema@noreply.github.com
Cc: Huw Jones hej23@cam.ac.uk, Assign assign@noreply.github.com
Subject: Re: [msDesc/consolidated-tei-schema] Reinstating
Reopening this issue because biblStruct needs new XSLT to display it in HTML. Yasmin mentioned above there already being some, which you can send me, Huw. Or do you want to do it as a merge request?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/msDesc/consolidated-tei-schema/issues/35#issuecomment-613340598, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDGKAASQNWUXRPFOV4YGT3RMQWTFANCNFSM4LWOJX4A.
Would it be possible to reinstate into the consolidated schema? A number of our projects store their bibliographies in Zotero and export them into TEI to embed in a
<listBibl>
- and these come out as<biblStruct>