Encode File-Wide Style in Semi-Diplomatic Transcriptions

This documentation outlines how to apply CSS across your entire file. If you would like to add file-wide styling beyond our recommended, pre-written <tagsDecl> , you will probably want to ask a LEMDO team member for help. Write to lemdotech@uvic.ca for assistance unless you have prior experience with CSS.

Rationale

LEMDO has created a default stylesheet that should capture the many key aspects of composition and mise-en-page of most early modern playbooks. There are some components of composition and mise-en-page that must be added in your XML file using the <tagsDecl> element. Additionally, some playbooks deviate from the basic composition represented by our default stylesheet. If your anthology is interested in capturing bibliographical features and your playbook consistently deviates from the features described by our default stylesheet, use the <tagsDecl> element in the <teiHeader> to add CSS across your file.

Principles

The <tagsDecl> element allows transcribers and encoders to easily capture key bibliographical features of their playbooks and control how their semi-diplomatic transcription will be rendered. By using it to put file-wide CSS into place, you can exercise this control while maintaining LEMDOʼs principle of including all necessary description of the early modern playbook in the XML file.

Practice: Add LEMDOʼs Recommended File-Wide Style

Because the placement of forme works is not captured elsewhere in semi-diplomatic transcriptions, you must add the styling for them in the <tagsDecl> element. To do so, copy and paste the following <tagsDecl> element as a child of the <encodingDesc> element in the <teiHeader> of your file:
<teiHeader><!-- … -->
  <encodingDesc><!-- … -->
    <rendition selector="fw[type='runningTitle']" scheme="css"> text-align: center; font-style: italic; display: block; </rendition>
    <rendition selector="fw[type='sig']" scheme="css"> letter-spacing: 0.5em; position: absolute; left: 50%; transform: translateX(-50%); </rendition>
    <rendition selector="fw[type='catch']" scheme="css"> position: absolute; right: 0; </rendition>
  </encodingDesc>
</teiHeader>
This <tagsDecl> should describe the placement of forme works in most playbooks. Because the position for page numbers tends to alternate between left and right on each page, you will style page numbers using the @place attribute. See Placement Taxonomy for more information.

Practice: Encode File-Wide Style

When writing additional file-wide styling, you will define style that applies universally across your file using the <rendition> element to capture deviations that occur consistently on elements throughout your playbook. This CSS will apply only to elements that you specify using the @selector attribute. For example, you can use CSS to make all the speech prefixes in a playbook look the same. It will apply globally to all the speech prefixes in your text, if you have consistently tagged them with the <speaker> element.
To add a <rendition> element, follow these steps:
Identify the elements that are consistently composited in ways that deviate from LEMDOʼs default styling. For LEMDOʼs default styling, see Table of Default Renditions.
Add a <tagsDecl> element as a child of the <encodingDesc> element in the TEI Header of your file. The <tagsDecl> element should go after the <editorialDecl> element.
Add a <rendition> element as a child of the <tagsDecl> element for each element that consistently deviates.
Put the @selector attribute on the <rendition> element. Add the element that consistently deviates as the value of the @selector attribute.
Put the @scheme attribute with the value "css" on the <rendition> element.
Type the appropriate CSS into the text node of the <rendition> element.
For example:
<teiHeader><!-- … -->
  <encodingDesc><!-- … -->
    <tagsDecl>
      <rendition selector="speaker" scheme="css">font-style: normal;</rendition>
    </tagsDecl>
  </encodingDesc>
</teiHeader>

Special Case: Elements with Attributes

If a consistent bibliographical deviation only occurs in elements with a specific attribute and value on it (for example, if the deviation is in running titles, which are tagged with <fw type="runningTitle">), indicate the attribute and value in the @selector attribute on the <rendition> element. To do this:
Add the <rendition> element as a child of the <tagsDecl> as described in Practice: Encode File-Wide Style.
Put the @selector attribute on the <rendition> element. The value of @selector should follow this format: element, opening square bracket, attribute, single straight apostrophe, equals character, value, single straight apostrophe, closing square bracket (i.e., <rendition selector="element[attribute='value']">).
Put the @scheme attribute with the value "css" on the <rendition> element.
Type the appropriate CSS into the text node of the <rendition> element.
For example:
<teiHeader><!-- … -->
  <encodingDesc><!-- … -->
    <tagsDecl>
      <rendition selector="fw[type='runningTitle']" scheme="css">letter-spacing: 0.5em;</rendition>
    </tagsDecl>
  </encodingDesc>
</teiHeader>

CSS Resources

If you would like support in adding style using the <tagsDecl> element, please contact lemdo@uvic.ca to discuss solutions, including the possibility of adding a new <rendition> to our standard set. If you prefer to work out solutions locally using inline CSS, these resources may help:

Prosopography

Isabella Seales

Isabella Seales is a fourth year undergraduate completing her Bachelor of Arts in English at the University of Victoria. She has a special interest in Renaissance and Metaphysical Literature. She is assisting Dr. Jenstad with the MoEML Mayoral Shows anthology as part of the Undergraduate Student Research Award program.

Janelle Jenstad

Janelle Jenstad is a Professor of English at the University of Victoria, Director of The Map of Early Modern London, and Director of Linked Early Modern Drama Online. With Jennifer Roberts-Smith and Mark Kaethler, she co-edited Shakespeare’s Language in Digital Media: Old Words, New Tools (Routledge). She has edited John Stow’s A Survey of London (1598 text) for MoEML and is currently editing The Merchant of Venice (with Stephen Wittek) and Heywood’s 2 If You Know Not Me You Know Nobody for DRE. Her articles have appeared in Digital Humanities Quarterly, Elizabethan Theatre, Early Modern Literary Studies, Shakespeare Bulletin, Renaissance and Reformation, and The Journal of Medieval and Early Modern Studies. She contributed chapters to Approaches to Teaching Othello (MLA); Teaching Early Modern Literature from the Archives (MLA); Institutional Culture in Early Modern England (Brill); Shakespeare, Language, and the Stage (Arden); Performing Maternity in Early Modern England (Ashgate); New Directions in the Geohumanities (Routledge); Early Modern Studies and the Digital Turn (Iter); Placing Names: Enriching and Integrating Gazetteers (Indiana); Making Things and Drawing Boundaries (Minnesota); Rethinking Shakespeare Source Study: Audiences, Authors, and Digital Technologies (Routledge); and Civic Performance: Pageantry and Entertainments in Early Modern London (Routledge). For more details, see janellejenstad.com.

Joey Takeda

Joey Takeda is LEMDO’s Consulting Programmer and Designer, a role he assumed in 2020 after three years as the Lead Developer on LEMDO.

Martin Holmes

Martin Holmes has worked as a developer in the UVicʼs Humanities Computing and Media Centre for over two decades, and has been involved with dozens of Digital Humanities projects. He has served on the TEI Technical Council and as Managing Editor of the Journal of the TEI. He took over from Joey Takeda as lead developer on LEMDO in 2020. He is a collaborator on the SSHRC Partnership Grant led by Janelle Jenstad.

Navarra Houldin

Project manager 2022–present. Textual remediator 2021–present. Navarra Houldin (they/them) completed their BA in History and Spanish at the University of Victoria in 2022. During their degree, they worked as a teaching assistant with the University of Victoriaʼs Department of Hispanic and Italian Studies. Their primary research was on gender and sexuality in early modern Europe and Latin America.

Rowan Grayson

Rowan is a BA and MA student in English and Latin American Studies at UNC Charlotte working on his masterʼs thesis, a comparative study of the intersections of gender, sexuality, and race in Brazilian and Dominican science fiction novels. He is currently a Mitacs Research Intern with LEMDO at UVic.

Rylyn Christensen

Rylyn Christensen is an English major at the University of Victoria.

Sofia Spiteri

Sofia Spiteri is currently completing her Bachelor of Arts in History at the University of Victoria. During the summer of 2023, she had the opportunity to work with LEMDO as a recipient of the Valerie Kuehne Undergraduate Research Award (VKURA). Her work with LEMDO primarily includes semi-diplomatic transcriptions for The Winterʼs Tale and Mucedorus.

Tracey El Hajj

Junior Programmer 2019–2020. Research Associate 2020–2021. Tracey received her PhD from the Department of English at the University of Victoria in the field of Science and Technology Studies. Her research focuses on the algorhythmics of networked communications. She was a 2019–2020 President’s Fellow in Research-Enriched Teaching at UVic, where she taught an advanced course on Artificial Intelligence and Everyday Life. Tracey was also a member of the Map of Early Modern London team, between 2018 and 2021. Between 2020 and 2021, she was a fellow in residence at the Praxis Studio for Comparative Media Studies, where she investigated the relationships between artificial intelligence, creativity, health, and justice. As of July 2021, Tracey has moved into the alt-ac world for a term position, while also teaching in the English Department at the University of Victoria.

Orgography

LEMDO Team (LEMD1)

The LEMDO Team is based at the University of Victoria and normally comprises the project director, the lead developer, project manager, junior developers(s), remediators, encoders, and remediating editors.

Metadata