sillsdev / sillsdev/ptx2pdf

Some ptxversions incompatible with up-do-date layout tooling

Open
#1,244 2 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

The paragraph numbering code was fixed in ptxversion=7. Before this point, the numbering was frequently unpredictable. The old behaviour was preserved so as to not waste the work that some people had done in figuring out what paragraph number the code assigned to the one wanted to apply the update do.

The current right-click method assumes that paragraphs are numbered properly, which is incompatible with ptxversion<7. People who try to adjust the layout of a layout-preserved file should probably be warned.

This also suggests that some people might want different ptxversions for different books....

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 at the current right-click layout method and trace how the file's ptxversion is read or made available. Add a warning for layout adjustments on layout-preserved files using ptxversion<7, and verify that newer versions remain unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.