Bug #1945

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

Ajouté par Serge Heiden il y a presque 9 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:26/11/2016
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Edition Temps passé: -
Version cible: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

Historique

#2 Mis à jour par Serge Heiden il y a presque 9 ans

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 Mis à jour par Matthieu Decorde il y a presque 9 ans

  • Description mis à jour (diff)

#4 Mis à jour par Matthieu Decorde il y a presque 9 ans

  • Sujet changé de RCP: 0.7.8, convert all @rend to @class in Pager à RCP: 0.7.8, convert all @rend to @class in XTZ default Pager
  • % réalisé changé de 0 à 80

#5 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

#6 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

Formats disponibles : Atom PDF