sillsdev / ptx2pdf

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

Problem on pages #935

Closed KNNettey closed 5 months ago

KNNettey commented 6 months ago

GBVN96_Default_MRK_ptxp.pdf

You will notice that some of the pages do NOT have the suggested number of lines on them. Page 1 has the title of the book and then 2 text lines.

How do I get all the to have the same number lines except the last page which may be shorter.

Thank you.

mhosken commented 6 months ago

Are you running the latest version of PTPrint? If so, send an archive and we'll see why such a bad break is occurring and hopefully fix it for a late version, or tell you what you need to do to fix it.

On Thu, 21 Dec 2023, 11:39 KNNettey, @.***> wrote:

GBVN96_Default_MRK_ptxp.pdf https://github.com/sillsdev/ptx2pdf/files/13740813/GBVN96_Default_MRK_ptxp.pdf

You will notice that some of the pages do NOT have the suggested number of lines on them. Page 1 has the title of the book and then 2 text lines.

How do I get all the to have the same number lines except the last page which may be shorter.

Thank you.

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

KNNettey commented 6 months ago

Yes, I installed the newest version before I did the job.

mhosken commented 6 months ago

Please do send an archive to @.*** These bad breaks are something I want to fix, but it's hard to generate them, so I value every example I can recreate.

mhosken commented 6 months ago

Sorry the email address didn't come through. ptxprint_support at sil.org. All email addresses are scrambled for security reasons, by github, so I can't see yours I respond.

You can find the Create Archive button on the help page.

On Fri, 22 Dec 2023, 11:41 KNNettey, @.***> wrote:

Kingsley Nettey

AF130 Mantse Ayiku Street

GZ-144-4161

P. O. Box AN12464

Accra, Ghana

E-mail: @. @.>

@. @.>

Telephone No./WhatsApp No.: +233208612951

Cell No.: +233554660961

From: mhosken @.> Sent: Friday, December 22, 2023 10:01 To: sillsdev/ptx2pdf @.> Cc: KNNettey @.>; Author @.> Subject: Re: [sillsdev/ptx2pdf] Problem on pages (Issue #935)

Please do send an archive to @.*** These bad breaks are something I want to fix, but it's hard to generate them, so I value every example I can recreate.

On Fri, 22 Dec 2023, 09:56 KNNettey, @.***> wrote:

Yes, I installed the newest version before I did the job.

Kingsley Nettey

AF130 Mantse Ayiku Street

GZ-144-4161

P. O. Box AN12464

Accra, Ghana

E-mail: @. @.>

@. @.>

Telephone No./WhatsApp No.: +233208612951

Cell No.: +233554660961

From: mhosken @.> Sent: Thursday, December 21, 2023 12:12 To: sillsdev/ptx2pdf @.> Cc: KNNettey @.>; Author @.> Subject: Re: [sillsdev/ptx2pdf] Problem on pages (Issue #935)

Are you running the latest version of PTPrint? If so, send an archive and we'll see why such a bad break is occurring and hopefully fix it for a late version, or tell you what you need to do to fix it.

On Thu, 21 Dec 2023, 11:39 KNNettey, @. <mailto:@.> > wrote:

GBVN96_Default_MRK_ptxp.pdf <

https://github.com/sillsdev/ptx2pdf/files/13740813/GBVN96_Default_MRK_ptxp.pdf>

You will notice that some of the pages do NOT have the suggested number of lines on them. Page 1 has the title of the book and then 2 text lines.

How do I get all the to have the same number lines except the last page which may be shorter.

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/sillsdev/ptx2pdf/issues/935, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABLMO3MTX6NDKUOK3RYK2V3YKQNWZAVCNFSM6AAAAABA6ILWK6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TEMRVHEZDCOI>

. You are receiving this because you are subscribed to this thread.Message ID: @. <mailto:@.> >

— Reply to this email directly, view it on GitHub < https://github.com/sillsdev/ptx2pdf/issues/935#issuecomment-1866144966> , or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BE24LRDFUMRR6KTN4RITET3YKQRRPAVCNFSM6AAAAABA6ILWK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWGE2DIOJWGY>

. You are receiving this because you authored the thread. <

https://github.com/notifications/beacon/BE24LRD6UGUL2X535UZDIMLYKQRRPA5CNFSM6AAAAABA6ILWK6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPHMOMM.gif>

Message ID: @. @.> >

— Reply to this email directly, view it on GitHub https://github.com/sillsdev/ptx2pdf/issues/935#issuecomment-1867480289,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABLMO3JHUIGZSR6ATVTGS7DYKVKL3AVCNFSM6AAAAABA6ILWK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGQ4DAMRYHE>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/sillsdev/ptx2pdf/issues/935#issuecomment-1867485292> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/BE24LRFCIM7XZQI24O3K6QLYKVK4RAVCNFSM6AAAAABA6ILWK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGQ4DKMRZGI> . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/sillsdev/ptx2pdf/issues/935#issuecomment-1867587468, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLMO3K7I7XGFOEJCKPTIE3YKVWWZAVCNFSM6AAAAABA6ILWK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGU4DONBWHA . You are receiving this because you commented.Message ID: @.***>

KNNettey commented 6 months ago

GBVN96_Default_MRK_ptxp.pdf GBVN96-DefaultPTXprintArchive.zip

Yes, I installed the newest version of the program.

Attached is the archive.

markpenny commented 5 months ago

Dear Kingsley, Apologies for the long delay in responding to you. I have been away and just picked up your message. One work-around for the bad page breaks is to allow 1 or more "Unbalanced Lines" as shown here: image That will allow PTXprint to fill the page even if it isn't able to balance the number of lines in each column. GBVN96_Default_MRK_ptxp.pdf It is clear that the main problem here is that EVERY verse starts as a new paragraph, and that makes proper typesetting rather difficult.