sillsdev / sillsdev/ptx2pdf

Add PDF outline character style

Open
#597 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

There are various situations where we want to add a PDF outline entry that isn't one of the automatically generated ones (chapter, etc.). I propose we use an attributed character style. For example:

\zoutline A useful point|indent="2"\zoutline*

The tricky part of this is coming up with an id. For example if we are in a strongs index, we don't have very good ids.

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

No implementation file or test is named. Start by tracing how automatically generated PDF outline entries and attributed character styles are handled, then determine how the proposed \zoutline syntax should produce stable ids, including in a Strong's index. Done means custom outline entries work with the requested indentation and a defined id strategy.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.