sillsdev / sillsdev/ptx2pdf

Cut outs not working consistently

Open
#784 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I set up a configuration with a cut-out picture and it looks great, and I save the PDF.
Then the next day I tweak the front matter PDF and rebuilt the whole book, and boom the cut-out pictures is all messed up and I can't get it back.

Here is yesterdays PDF:

image

Here is todays PDF (without changing anything in any of the tabs):

image

Any clue as to:

  1. Why it changed from one day to the next without me doing anything but rebuilding the PDF (I changed the attached Front Matter PDF is all I did, but that didn't change any settings in the configuration.)
  2. How can I get it back. Now it ignores most of my setting tweaks for this picture. The original picture format above was set to 50% outside with a +3 line setting. That is the same setting of the second PDF, and in order to get it to even sit on the page I have to reduce it down to 25% but even then the line offset is being ignored.

NOTE: this is the same configuration as uploaded in #782

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 with the configuration referenced in issue #782 and compare the two supplied PDFs, including the front matter PDF change and the cut-out settings. Investigate why rebuilding changes the picture placement or ignores the 50% outside and +3 line settings. Done means reproducing the difference and documenting or correcting the cause so the cut-out remains consistent.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.