hcayless / P3-processing

1 stars 2 forks source link

Article Title as docTitle #9

Closed GusRiva closed 2 years ago

GusRiva commented 3 years ago

Could we move the article title from the head to

<text>
     <front>
         <docTitle>
            <titlePart type="MainTitle">Four Poll-Tax Receipts on Papyrus from the Early-Roman Fayum</titlePart>
         </docTitle>
     </front>
    <body>
    [....]
hcayless commented 3 years ago

Sure. If you want articles to have a "title page" we might need to have the source document reflect that, but if you want it, tell me.

GusRiva commented 3 years ago

It would be desirable for us - something less we need to transform. @jcowey would that be ok for you?

jcowey commented 3 years ago

I think that the title really belongs in the titleStmt/title right at the beginning, as I had suggested in: https://github.com/jcowey/P3/blob/master/data/claytor.xml#L7-L45

This means that the mark up to be added to the .docx version has to be made explict for

jcowey commented 3 years ago

After discussion between Hugh and myself, I understand that the title of the article can be used in titleStmt/title but certainly does not have to be. Leaving that aside for the present, I have no problems with using the XML suggested above by @GusRiva. So, yes, @hcayless, please tweak the processing to produce.

<text>
     <front>
         <docTitle>
            <titlePart type="MainTitle">Four Poll-Tax Receipts on Papyrus from the Early-Roman Fayum</titlePart>
         </docTitle>
     </front>
    <body>
    [....]
hcayless commented 3 years ago

So one question here: the sample article has a footnote on the title. Is that ok in your system?

GusRiva commented 3 years ago

Sorry for the late answer. We had a complex discussion about this. We would prefer to avoid footnotes in the main title of the article. I can't find the example file, though. What is that footnote about? For acknowledgements, for example, we have a dedicated element.

Also, now I'm wondering: is this title the same as the title in the teiHeader?

hcayless commented 3 years ago

@GusRiva Sorry for the late response to your question. Yes, as things stand, the title will be replicated in the teiHeader of the article. We also had a followup question about author info: will you want that in the front matter as well? It too will go in the header.