sillsdev / sillsdev/ptx2pdf

Adj list only generates portion of a book, but overwrites everything when more chapters are specified

Open
#945 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I'm typesetting Genesis with lots of pictures. It's much faster to start with ch 1-11 than to have all 50 ch reformat after adjusting each page. I made a mess the first time and had to start over, so I regenerated the Adj List. Got to the end of chapter 11, told PTXPrint to process GEN 1-24.

I discovered that my new, finalized Adj List only included paragraphs in ch 1-11, because that was the chapter range I was working with when I started over. The only way I can see to keep my 1-11 adjustments is to copy them (the whole list at this point) to a safe place, regenerate the default Adj list, then paste my 1-11 adjustments back in. Could there be a way to ask it to regenerate a chapter at a time, perhaps?

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 tracing the Adj List generation entry point and how the requested chapter range is applied. Reproduce the workflow with chapters 1-11 followed by 1-24, then determine how generation can preserve existing adjustments while adding the remaining chapters; done means earlier adjustments remain intact.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.