sillsdev / sillsdev/ptx2pdf

Printing from a module spec omits first few pages

Open
#1,003 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Fixed? Python python-USFM-module
Dominant language
Python
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When I print a Bible Module directly in PTXPrint the first few pages are skipped. When I load the same Module spec. into XXA and print that book in PTXPrint it prints correctly. (Ignore too-big titles and other bits, I need to get this working before fine-tuning it).

I've included the current PTXPrint "Scope" setting above each PDF in the pics to identify them. The first pic is correct. The second pic shows "page 1" starting with the third reading (Epistle) under "1st Sunday of Advent."

  1. I upgraded PTXPrint to the latest version today; the same thing happened with the previous version last week.
  2. The same Module file is called for both printings. Same thing happens with all of my 10+ Catholic Sunday Readings modules.
  3. I upgraded PTXPrint to the latest version today; the same thing happened with the previous version last week.
  4. It is much more convenient to print directly from the Module specs, as I'm sure you know. I hope this isn't hard to fix.
  5. Another odd thing I just noticed: The PDF with the first 3-4 pages missing has 62 total pages. The file that includes the entire module text has 61 pages! I haven't examined this yet but it looks as if styles might be applied differently, because they are both printed with the same PTXPrint Layout.

Image
Image

kyxPublx-LiturgyReadingsPTXprintArchive.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the attached kyxPublx-LiturgyReadingsPTXprintArchive.zip, comparing a module spec printed directly in PTXPrint with the same module loaded into XXA. Compare the generated PDFs and Scope settings, then trace the direct-module printing path; done means the initial pages and total output match the working route.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.