Bug in tree output

Open Beginner friendly
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
lua
Domain
cli

Research direction

Open show-pdf-tags/show-pdf-tags.lua and inspect lines 435 and 438. Confirm how the line at 435 produces page = -1 and compare it with the existing conditional logic at line 438. Done means the duplicate invalid-page output is no longer produced; verify the tree output if a runnable check is available.

Written by the indexing model from the issue text.

Description

Line 435 of show-pdf-tags.lua needs to be commented out / removed as it always has page = -1.

The correct line for doing already exists at line 438, which is protected by an if statement so it always has a valid page number (never negative).

Dominant language
Lua
Stars
12
Forks
2
Avg merge
9h 52m
Merged PRs (30d)
3

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.

More from latex3/pdf_structure

All issues in latex3/pdf_structure

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.