Skip to content

Xsl notes ordered list#4432

Merged
ajrbyers merged 5 commits into
openlibhums:masterfrom
mlibrary:xsl_notes_ordered_list
Nov 26, 2024
Merged

Xsl notes ordered list#4432
ajrbyers merged 5 commits into
openlibhums:masterfrom
mlibrary:xsl_notes_ordered_list

Conversation

@tbelc

@tbelc tbelc commented Sep 28, 2024

Copy link
Copy Markdown
Contributor

Currently, the following JATS markup
<notes><title>Notes</title><fn-group><fn id="n1"><p>...</p></fn><fn id="n2"><p>...</p></fn>...</fn-group></notes>

produces the following HTML output using the fn-group/fn template:

<h2>Notes</h2><li xmlns:tei="http://www.tei-c.org/ns/1.0" id="n1">...</li><li xmlns:tei="http://www.tei-c.org/ns/1.0" id="n2"></li>...

The markup above produces a HTML list with bulleted markers.

This request should modify the HTML output using a new template back/notes/fn-group to be the following and allow the notes to appear as an ordered list:

<h2>Notes</h2><ol class="footnotes"><li xmlns:tei="http://www.tei-c.org/ns/1.0" id="n1">...</li><li xmlns:tei="http://www.tei-c.org/ns/1.0" id="n2">...</li>...</ol>

@mauromsl mauromsl requested a review from ajrbyers November 26, 2024 16:25
@ajrbyers ajrbyers merged commit 2b51b89 into openlibhums:master Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants