Add cmd line option to jump to TOC entry by label in a PDF
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 283
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
* Xreader version 2.44
* Distribution Mint 19.3 XFCE
Issue
If Xreader allowed jumping directly to a section as indicated in the PDF's table of content, then it can be called from within a program to display detailed help. E.g. "xreader -t 'Zoom Blur´ pdfname , if 'Zoom Blur' is one of the TOC entries. Working by label is better than TOC number, because in a LaTeX produced file the number can change easily. It should of course allow spaces in the label, and maybe have a case-insensitive option too?
Steps to reproduce
Expected behaviour
Other information
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Xreader's command-line argument handling and its PDF table-of-contents navigation. Add an option that accepts a TOC label, including labels with spaces, and verify that invoking Xreader with a PDF opens at the matching entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100