Bug #1945

RCP: 0.7.8, convert all @rend to @class in XTZ default Pager

Added by Serge Heiden about 3 years ago. Updated about 3 years ago.

Status:New Start date:11/26/2016
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Edition Spent time: -
Target version:TXM 0.7.8

Description

A lot of @rend seem to be converted to 'rend=null' in XTZ Pager.

To be able to tune edition styling by CSS, we should generate @class attributes in HTML editions (with correct values).

Solution 1

convert all @rend=A to @class=A in the XTZ Pager.

replace "null" with "" if an element has no rend

History

#2 Updated by Serge Heiden about 3 years ago

I didn't know the XTZEditionBuilder specification and particularly that tei->html conversion strategy.

To implement it in the XTZ Pager, I suggest to integrate it in the XTZ module specification. Currently it is not there.

That ticket was primarily to correct the bug that currently any @rend information becomes 'null' and to make the XTZ spec more precise concerning the CSS style usage strategy.

Transferring @rend content to @class content is a simple tei->html strategy to give flexibility to people to tune their edition styles by CSS (by embedding CSS class names in the TEI source).

If one needs to use @class for tei element types management in HTML (as I understand XTZEditionBuilder) it would be nice to also keep a simple mecanism for simple texts.

#3 Updated by Matthieu Decorde about 3 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde about 3 years ago

  • Subject changed from RCP: 0.7.8, convert all @rend to @class in Pager to RCP: 0.7.8, convert all @rend to @class in XTZ default Pager
  • % Done changed from 0 to 80

Also available in: Atom PDF