Skip to content

Inline list is not rendered properly #151

Open
@tubesoft

Description

@tubesoft

I am posting the issue in order to clarify the change.

@wehooper said,

The names should appear inline in blocks like paragraphs but instead each item lands on its own row.

At line 1743 of ‘ALCH00002.xml’, following ‘2 Authores Vetutissimi. ’, we currently have this code: . The encoder’s goal would be to apply a ‘display:inline’ class to the list in the HTML, but the ‘rend=“inline”’ attribute is not being read or used by the XSLT template in ‘p5-tohtml.xsl’.

I have been experimenting with the available attributes and classes and, frankly, our app’s current XSLT code seems to need some adjustment by me or Takatomo.

Perhaps we should be using the ‘type’ attribute, like ‘type=”rend-inline”’, since there are two styles in ‘tei.css’ that respond to “rend-inline”. But even that attribute fails to apply the ‘inline’ class using the current ‘list’ template.

This use case has simply not been worked out for ‘list’. So, do we remove the ‘list’, ‘ul’, and ‘item’ elements from those blocks, and retain the rest, or do we fix the code so it does what we need it to do?

Metadata

Metadata

Assignees

Labels

renderingRendering of TEI markup

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions