You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I found that just making the list inline on CSS does not work. To render just as the manuscript shows, we should not use <ul> and <li> elements at all. So, I added XSLT code only in the case of @rend=inline.
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?
The text was updated successfully, but these errors were encountered: