sillsdev / ptx2pdf

XeTeX based macro package for typesetting USFM formatted (Paratext output) scripture files
21 stars 7 forks source link

Footnote caller bug #951

Closed pungati closed 1 month ago

pungati commented 2 months ago

My PTX project footnote callers consist of varying starry shaped symbols, but in the ptx2pdf they all appear uniformly as a rectangular box.

mnjames commented 2 months ago

Those rectangular boxes are almost a sign that you're trying to type a character that isn't in the font you're using.

You may need to do some testing to find a font that works. In Paratext if you go to Project Menu --> Project Settings --> Language Settings --> Other Characters (tab) then you'll see the Footnote caller sequence. You could then copy those into Word or something and experiment with what font displays them.

Once you have a font that works, in ptxprint you can go to Style, the Footnote style, search down near the bottom for Other Setting > Note Settings > Caller style image you'll need to add a new style name there. I typed z_foot_caller

Now you'll need to create the new style. Since the original was based off of \v, it might be a good idea to go to the Verse Number style and click "Add" in the upper right image Type your new name in image

Finally, find that new style and use "Set Font" to change to the font that works. image

pungati commented 2 months ago

Excellent and well detailed instructions; thank you mnjames. Works great now.