0 votes

At one time, several versions ago, the ruby text in Japanese was displaying. I just upgraded to the latest version, and it is not displaying. Which settings need to be set for it to display? I have tried a number of things, but so far I haven’t hit the magic combination. Thank you.

PTXprint by (188 points)

1 Answer

0 votes

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).

by (699 points)

The fixed code is now passing basic tests and is on github. It ought to be included in 2.2.23 whenever that is released.

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
2,616 questions
5,350 answers
5,037 comments
1,419 users