sillsdev / ptx2pdf

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

Marginal Verse Verse bridge hyphen missing again #913

Closed RCraigWebb closed 8 months ago

RCraigWebb commented 9 months ago

KHTTyp-DefaultPTXprintArchive.zip When working with marginal verses the hyphen for verse bridges was working for a few versions of PTXPrint, but it seems to not be again. In Mark, the first verse bridges are located in 1: 33-34 and 36-37.

If possible, the default setting for verse brides has the numbers way to far apart, This can be adjusted in the style sheets, but can a default be set to have them close together instead of looking like there is a blank line between them?

I'm working with several projects and several translators and they have all reported this to be a problem.

One requested if the verse bridge numbers could be on one line, but I think that may require a very wide margin. In InDesign we always use two lines for bridges, too.

Thanks! Craig

mhosken commented 9 months ago

One day, perhaps. But for now perhaps try sharing templates with the styles already in. Not only do we need to set a sensible linespacing, but superscript needs to turn off and a smaller fontsize used. There's quite a few settings there. Also don't forget the extra space setting next to the turn on marginal verses. You will want to set that appropriately too.

Let's start from "hey, the 7 projects of 2000 can do what they need to do, even if it involves a bit of clicking" and in due course perhaps refine it.

So step 1. I suggest writing a procedure document on how to do marginal verses well in ptxprint. Once that procedure is down, send it to us and we'll look at how we might reduce the number of steps.

On Wed, 4 Oct 2023, 09:59 RCraigWebb, @.***> wrote:

KHTTyp-DefaultPTXprintArchive.zip https://github.com/sillsdev/ptx2pdf/files/12801421/KHTTyp-DefaultPTXprintArchive.zip When working with marginal verses the hyphen for verse bridges was working for a few versions of PTXPrint, but it seems to not be again. In Mark, the first verse bridges are located in 1: 33-34 and 36-37.

If possible, the default setting for verse brides has the numbers way to far apart, This can be adjusted in the style sheets, but can a default be set to have them close together instead of looking like there is a blank line between them?

I'm working with several projects and several translators and they have all reported this to be a problem.

One requested if the verse bridge numbers could be on one line, but I think that may require a very wide margin. In InDesign we always use two lines for bridges, too.

Thanks! Craig

— Reply to this email directly, view it on GitHub https://github.com/sillsdev/ptx2pdf/issues/913, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLMO3IN5DBK6BJ4TT6JYY3X5UQPNAVCNFSM6AAAAAA5SIOU4WVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDKNZTGEYDONQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

davidg-sil commented 9 months ago

I'm a bit confused, possibly because I don't read the script, but it doesn;t look to me like v33 & v34 are both starting on the same line, (ditto 36,37). Is your desire to bridge them anyway?

RCraigWebb commented 9 months ago

Yes, in Paratext they are listed as a verse bridge, or as one combined verse. There isn’t a marker separating what is from one verse or the other. Sometimes the bridge can be just two verses together as in this case or can be many. Another project has many bridges such as 2-6a, or 11-17.

Craig


R. Craig Webb Publishing Coordinator MSEAG

Mobile: 099-136-7746


From: davidg-sil @.> Sent: Thursday, October 5, 2023 9:15 PM To: sillsdev/ptx2pdf @.> Cc: RCraigWebb @.>; Author @.> Subject: Re: [sillsdev/ptx2pdf] Marginal Verse Verse bridge hyphen missing again (Issue #913)

I'm a bit confused, possibly because I don't read the script, but it doesn;t look to me like v33 & v34 are both starting on the same line, (ditto 36,37). Is your desire to bridge them anyway?

— Reply to this email directly, view it on GitHub https://github.com/sillsdev/ptx2pdf/issues/913#issuecomment-1748992303 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQQS5BEP63M75DSMXUMRDDX526HHAVCNFSM6AAAAAA5SIOU4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHE4TEMZQGM . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BBQQS5A2PCIFQNCCFXYRJALX526HHA5CNFSM6AAAAAA5SIOU4WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIH6AS6.gif Message ID: @. @.> >

davidg-sil commented 9 months ago

Ah, OK, I now see some of those at 1:43-44 and 2:6-7 I'm guessing it was one of those 'too many screens open' things. So, I've done some digging:

Please don't take the values I've picked as perfect... they just seem to work.

Perhaps @mhosken can tell me why the versehyphentrue control is in the texhacks.py file, but commented out, and AfterVerseSpaceFactor seems to be missing?

markpenny commented 9 months ago

Found AfterVerseSpaceFactorpromoted to greater prominence over here:

image

markpenny commented 9 months ago

Also, I don't know if this is helpful, but there is a command which prevents them from overlapping:

image

RCraigWebb commented 9 months ago

Thanks David! The \versehyphentrue line has the hyphen showing again and the suggestions on the verse settings are helpful.

Craig


R. Craig Webb Publishing Coordinator MSEAG

Mobile: 099-136-7746


From: davidg-sil @.> Sent: Friday, October 6, 2023 2:15 PM To: sillsdev/ptx2pdf @.> Cc: RCraigWebb @.>; Author @.> Subject: Re: [sillsdev/ptx2pdf] Marginal Verse Verse bridge hyphen missing again (Issue #913)

Ah, OK, I now see some of those at 1:43-44 and 2:6-7 I'm guessing it was one of those 'too many screens open' things. So, I've done some digging:

Please don't take the values I've picked as perfect... they just seem to work.

Perhaps @mhosken https://github.com/mhosken can tell me why the versehyphentrue control is in the texhacks.py file, but commented out, and AfterVerseSpaceFactor seems to be missing?

— Reply to this email directly, view it on GitHub https://github.com/sillsdev/ptx2pdf/issues/913#issuecomment-1750097610 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQQS5DCZRE3GQ73SWKRFP3X56VVXAVCNFSM6AAAAAA5SIOU4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGA4TONRRGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BBQQS5CULEZGEML4F7SB3KTX56VVXA5CNFSM6AAAAAA5SIOU4WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIKBPMU.gif Message ID: @. @.> >