hcayless / P3-processing

1 stars 2 forks source link

distinguishing between documentary texts and literary ones #3

Closed jcowey closed 2 years ago

jcowey commented 3 years ago

In the mark up of the .docx / .pages / .whatever files that are fed to the the processing2xml transformations it will be necessary to distinguish between documentary texts and literary ones, because HGV/DDB requires treatments which is different from the treatment required for DCLP.

https://github.com/hcayless/P3-processing/blob/main/xslt/process-tei.xsl#L12 give the list of tags

should the sections for documentary texts be called

and those for literary texts

Would that suffice?

At present in the editor, when in a DCLP file, there is the option to create a new translation. When used it is designed to deposit the content in https://github.com/papyri/idp.data/tree/master/HGV_trans_EpiDoc

(TM numbers should be distinct, so it should not be a problem that translations, whether of documentary texts or literary texts, go to the one repo)

jcowey commented 3 years ago

Once instance is for https://papyri.info/dclp/62505

where the translation is at: https://github.com/papyri/idp.data/blob/master/HGV_trans_EpiDoc/Philodemus%2C%20De%20pietate.xml

the file name is not correct, it should be https://github.com/papyri/idp.data/blob/master/HGV_trans_EpiDoc/62505.xml

We do not have a working example where the translation is displayed alongside the DCLP file, as far as I can see.

jcowey commented 3 years ago

At present at: https://github.com/hcayless/P3-processing/blob/main/xslt/process-tei.xsl#L12

there is the following list of sections of an article

articleTitle

articleParagraphs

articleHeader

edition

editionHeader

metadata

introduction

text

translation

commentary

corrections

This was drawn up on the basis of the one article we have been going backwards and forwards on.

jcowey commented 3 years ago

In order to make allowance for the difference between articles on documenrtary texts (XML has to go to the appropriate DDB_EpiDoc_XML file and HGV_EpiDoc_XML file) and articles on literary texts (XML [both text and metadata has to go to the appropriate DCLP file])

Could we please have the following list

author NEW

affiliation NEW

email NEW

articleTitle

articleParagraphs

articleHeader

editionDDB NEW (how is it treated)

editionDCLP NEW (how is it treated)

editionHeader

metadataHGV NEW (how is it treated)

metadataDCLP NEW (how is it treated)

introduction

textDDB NEW (how is it treated)

textDCLP NEW (how is it treated)

translationHGV NEW (not really just new name)

commentary

corrections

bibliography NEW

OR perhaps only the following are necessary (once in #editionDDB it is clear that metadata is HGV)

author NEW

affiliation NEW

email NEW

articleTitle

articleParagraphs

articleHeader

editionDDB NEW (how is it treated)

editionDCLP NEW (how is it treated)

editionHeader

metadata NEW (how is it treated)

introduction

text NEW (how is it treated)

translation NEW (not really just new name)

commentary

corrections

bibliography NEW

jcowey commented 3 years ago

This should now be found in a clearer manner in #18