0
227 次瀏覽

Hello!

I am having an issue with my ptx setup of John. I can't seem to make adjustments to change the verse reference showing up BELOW the line (see attached screenshot). Any suggestions? Thank you!

-Casey

PTXprint (102 點) 提出 | 227 次瀏覽

1 個回答

0

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

(1.1k 點) 提出
已編輯 提出

@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!

相關問題

0
1 個回答 139 次瀏覽
Would it be possible to make "on the line" the default for marginal verse numbers? If not, what is the easiest way to change them from being superscripted to "on the line"?
OJG 112 提出 已提問 1月 27, 2025
0
1 個回答 17 次瀏覽
這是 2.8.17 版本的情況 我們的 INT(引言)中有節號,以幫助我們在 14 個專案中保持 INT 內容一致,但我們不希望它們被列印出來,因此我在 PrintDraftChanges.txt 中使用了以下指令: # Don't ... " > "" 直到現在,這個指令都能成功移除 INT 中的節號 感謝您能提供任何協助 John Nystrom
john_nystrom 312 提出 已提問 6月 26, 2025
0
1 個回答 25 次瀏覽
你好!在 PTXPrint 中,我想使用「懸掛詩歌節號」(Hanging Poetry Verse Numbers)選項,因為這樣看起來整潔許多 在單欄排版時沒問題 但當我嘗試使用雙欄並選取「中縫垂直線」(Vertical Rule in Gutter)時,雙 ... 能想到的另一個選項是移除這條線,但在某些情況下這可能會讓讀者感到困惑 非常感謝!Phil
anon913937 124 提出 已提問 11月 18, 2025
0
1 個回答 80 次瀏覽
https://community.scripture.software.sil.org/t/verse-per-line-in-ptxprint/4185 On the above link I found it very helpful ... code to add to PTX print to get this desired format?
Jordan K 110 提出 已提問 4月 2, 2025
0
1 個回答 303 次瀏覽
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 提出 已提問 1月 13, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
3,044 個問題
6,003 個回答
5,671 則評論
2,026 位使用者