projectLEMDO / lemdoIssues

Repository for LEMDO issue tracking and related documents.
MIT License
1 stars 0 forks source link

PDF: Use different crit article title for website and PDF build #267

Open martindholmes opened 2 months ago

martindholmes commented 2 months ago

Most crit articles have a document title (titleStmt/title) of the following form:

An Humorous Day’s Mirth: Acknowledgements

Some also have a following short title like this:

AHDM: Acknowledgements, or H5: Acknow

The use of the portfolio title in the crit article title is presumably intended to help the reader on the website know exactly what they're looking at; an article simply entitled "Acknowledgements" would be a bit confusing, given that there would be many articles with identical titles. However, @JackWilton1594 points out that in the context of the PDF print volume, this title repetition is unnecessary. We COULD adopt a policy of removing everything up to and including the colon when processing the PDF, but that's a bit risky, in case there are (for example) colons in actual titles, or someone decides to title their article using a different formula. So I think a better option is to have one more <title> element in the header, maybe:

<title type="print">Acknowledgements</title>

which we would use in preference to the others when building the PDF. What do we think?

JackWilton1594 commented 2 months ago

I like the additional title element solution. What say you, @JanelleJenstad ?

martindholmes commented 2 weeks ago

Pinging @JanelleJenstad on this one. It should be simple to implement if we know what we need.