Hum, il semble y avoir un bug :
quand un marqueur n’a qu’un seul attribut défini dans le fichier de style (comme \rb), il est traité par certaines parties du code comme s’il n’y en avait aucun. Jusqu’à ce que ce bug soit corrigé et finalisé (travail en cours), la solution de contournement devrait être d’ajouter :
\Marker rb
#!\Attributes gloss ?junk
dans une feuille de style personnalisée (en autorisant un attribut facultatif « junk » et en informant le code que oui, il y a effectivement des éléments intelligents pour le ruby).
Ensuite, vous devez définir la police / FontScale etc. pour le marqueur spécial gloss|rb, par exemple :
\Marker gloss|rb
\FontScale 0.8
\LineSpacing 0.6
\Color x7f0000
J’ai trouvé (et corrigé) un autre bug : le code ignorait le LineSpacing défini pour gloss|rb et ne respectait que le \LineSpacing défini sur rb (les deux devraient être des options, en vérifiant d’abord gloss|rb, et s’il n’y a pas de valeur définie là, en vérifiant rb).
Hmm, there seems to be a bug:
when a marker only has one attribute defined in the style file, (like \rb) it’s treated by some parts of the code as if there were none. Until that bug is fixed and finished (work in progress), the work-around ought to be to put:
\Marker rb
#!\Attributes gloss ?junk
into a custom style sheet (allowing an optional attribute of junk, and informing the code that yes, actually there is some clever stuff for ruby).
Then you need to set the font / FontScale etc for the special marker gloss|rb e.g:
\Marker gloss|rb
\FontScale 0.8
\LineSpacing 0.6
\Color x7f0000
There’s another bug I’ve just found (and fixed), that it ignored LineSpacing defined for gloss|rb and only obeyed \LineSpacing set on rb (both should be an option, with it checking gloss|rb first, and if there’s no value set there, checking rb).
Traduit automatiquement depuis English