sillsdev / sillsdev/ptx2pdf

Deficiencies in paragraphed footnotes. (collect via a vbox instead?)

Open
#854 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This issue is a holder for problems in the current algorithm for paragraphed footnotes.

The current algorithm breaks the following things:

  • \fp - Paragraph breaks (probably incompatible with the algorithm)
  • Hyphenation (A small test-file shows that discretionary breaks - both implicit and explicit - are not preserved when text is initially boxed into an hbox. They seem to be if the text is first boxed into a vbox, even if they are considered but not used).

Both of these might be solved by the initial load being via a vbox.

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 paragraph-break and hyphenation failures described for the current paragraphed-footnote algorithm, including the referenced small test file. Compare loading the text through an hbox and a vbox, then verify that paragraph breaks and implicit and explicit discretionary breaks are preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.