0 votes
224 vues

Bonjour !

J'ai un problème avec ma configuration ptx de l'Évangile de Jean. Je n'arrive pas à effectuer les ajustements nécessaires pour modifier la référence du verset qui s'affiche SOUS la ligne (voir la capture d'écran jointe). Avez-vous des suggestions ? Merci !

-Casey

Traduit automatiquement depuis English
PTXprint par (102 points) | 224 vues

1 Réponse

0 votes

Hi,
The green "horizontal rule" measure is accurate (you probably want it to be about 0). Unfortunately the 'Bottom of header to top of text' setting is unreliable. The maths to work it out is complex, depends on the font,  and currently wrong.

I can't successfully past an image, for some reason, but... to start with,
1. set the (green) horizontal rule figure to 0pt
2. Set the purple 'bottom of header to top of text' to, say half the font height.
3. Adjust so the horizontal line is sitting on the rule properly. Half is good for charis, 0.2 or so is better for Arial, if I remember correctly.
4. Remember the offset.
5. Set values how you actually want them to be, adding in the offset.

What's going wrong?
The purple figure is used to calculate the blue figure beside it, which for historical reasons is the distance from the top of the page to the top of the box containing the text. Unfortunately, that box includes the space the font designers decided to leave for accents. For Charis, the 'ascent' of the font is about 1.5 times the font height, but for Ariel it is 1.2 times.
To calculate the  correct offset, The Python user interface would need to (a) work out which font(s) are in use in the header, (b) somehow read the font(s) to determine which one has the highest ascent.
Alternatively, the calculation in TeX could be done in a different way, which would break existing projects.
At the moment, we have a guess, which is frequently wrong, but doesn't actually break anything...
 

par (1,1k points)
modifié par

@DG I was also struggling to paste images into this forum, which is a bit annoying. I'll try again today, but certainly a picture is worth 1000 words in this case.

IF you view is set to "Basic View" then several of the more complex controls on the Layout tab are HIDDEN, so perhaps you are only seeing this:

Use the Menu button at the bottom left corner to reveal the other settings, where you should be able to change the settings as described above:

Thank you for your help! 

I tried your suggestions and it worked! However, I am now having a hard time putting a larger space between the horizontal line and the body text below it. I'd like to have a bit more white space there. When I adjust the purple "bottom of header to top of text" number, which I assumed would be the value I should change, it just adds more white space between the header text and the horizontal line, not white space between the line and the paragraph body text. 

Thanks!

Questions connexes

0 votes
1 réponse 139 vues
Serait-il possible de faire de sur la ligne le paramètre par défaut pour les numéros de versets marginaux ? Sinon, quelle ... de les passer de l'exposant à sur la ligne ?
OJG 112 posée janv. 27, 2025
0 votes
1 réponse 17 vues
Ceci concerne la version 2.8.17. Nous avons des numéros de versets dans notre INT pour nous aider à garder le contenu ... aide que vous pourrez m'apporter à ce sujet. John Nystrom
john_nystrom 312 posée juin 26, 2025
0 votes
1 réponse 25 vues
Bonjour ! Dans PTXPrint, j'aimerais utiliser l'option Numéros de versets poétiques suspendus (Hanging Poetry Verse ... nos lecteurs dans certains cas. Merci beaucoup ! Phil
anon913937 124 posée nov. 18, 2025
0 votes
1 réponse 80 vues
https://community.scripture.software.sil.org/t/verse-per-line-in-ptxprint/4185 Le lien ci-dessus m'a été très utile ... code à ajouter à PTXprint pour obtenir ce format souhaité ?
Jordan K 110 posée avr. 2, 2025
0 votes
1 réponse 303 vues
Hi, I just started getting in depth with Paratext and now PTXprint and I can't seem to make PTXprint output each ... yet) in PTXprint. Thank you in advance for your assistance.
Valera1865 108 posée janv. 13, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I urge you, brothers and sisters, to watch out for those who cause divisions and put obstacles in your way that are contrary to the teaching you have learned. Keep away from them.
Romans 16:17
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs