0 votes
247 views

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 (195 points) | 247 views

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 (1.1k 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.

Related questions

0 votes
1 answer 46 views
I have a diglot where one of the texts is an interlinear text. Even though neither text of the diglot has "Ruby ... wrong? Here is the archive: Google Drive Link to Archive
Christopher F 120 asked Apr 28, 2025
0 votes
1 answer 203 views
I am creating PDFs for an Arabic-based orthography. I use digit mapping to convert the PT output Latin digits to Arabic ... is, is there a way to correct this issue in PTXprint?
Kirk 123 asked Aug 28, 2024
+1 vote
1 answer 241 views
I want to export a Japanese project that has ruby text to RTF (Print Draft will be okay if necessary). So far, I have ... the project is set to USFM 3. Thank you for your help.
anon180868 195 asked Dec 28, 2020
0 votes
1 answer 11 views
After updating to PTXprint 3.0.25, I am finding that the Shrink / Expand (by % text size) options (via right- ... text size) is working again. I anyone else experiencing the same?
[Expert]
jmkla
290
asked May 13
0 votes
2 answers 225 views
Reposting a question from another forum. I am working on Ezekiel 41-42 right now and am struggling with the layout of ... whether or when the images will be added to the resource.
[Expert]
Jeff_Shrum
2.9k
asked Jun 22, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
3,037 questions
5,994 answers
5,661 comments
2,022 users