Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for <title render="[value]"> in <unittitle> #1511

Open
mmmmcode opened this issue Feb 7, 2024 · 2 comments
Open

Support for <title render="[value]"> in <unittitle> #1511

mmmmcode opened this issue Feb 7, 2024 · 2 comments

Comments

@mmmmcode
Copy link

mmmmcode commented Feb 7, 2024

ArcLight currently displays the contents of <title> tags contained in <unittitle> tags, but does not style contents as specified in the "render" attributes in either the component view or navigation sidebar.

Example of a <unittitle> that contains the title of a brochure, which would ideally display in quotation marks

<c01 level="item">
        <did>
          <unittitle>
            <title render="doublequote">Good habits for children</title>
          </unittitle>
          <unitdate calendar="gregorian" certainty="approximate" datechar="creation" era="ce"
            normal="1950/1959" type="inclusive">approximately 1950s</unitdate>
          <container label="Mixed Materials" type="box">1</container>
        </did>
</c01>

Another example where a <unittitle> contains the title of a magazine, which would ideally display in italics:

<c02 level="file">
        <did>
          <unittitle>
            <title render="italic">BUST</title>, issues 1-15
          </unittitle>
          <container label="Mixed Materials" type="box">1A</container>
        </did>
</c02>
@crugas
Copy link

crugas commented Feb 20, 2024

We also do this for <title> and <unittitle> elements, adding bold, italics, etc., and would like them to render. Here's a list of the possible values that could be assigned to the render attribute:

altrender, bold, bolddoublequote, bolditalic, boldsinglequote, boldsmcaps, boldunderline, doublequote, italic, nonproport, singlequote, smcaps, sub, super, underline

Source: https://www.loc.gov/ead/tglib/elements/title.html.

NOTE: the EAD2002 tag library for <unittitle> does not list render as an attribute and I'm not sure why (https://www.loc.gov/ead/tglib/elements/unittitle.html).

@mmmmcode
Copy link
Author

@crugas render is not listed as a unittitle attribute because it is not valid ead (or vice versa, I suppose)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants