sillsdev / sillsdev/ptx2pdf

toca1, toca2 etc support for table of contents entries

Open
#630 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

USFM introduces alternative-language table of contents entries, \toca1 ... \toca3 e.g. for giving the name of a book in the national language. It would be nice to be able to specify that the table of contents should show e.g \toc1, \toca2, \toc3

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 locating the table-of-contents generation and USFM entry-handling code; no file or test is named in the issue. Confirm how toc1 through toc3 are selected, then add support for choosing the corresponding toca1 through toca3 entries and verify the generated table of contents uses the requested alternatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tex
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.