Skip to content

add feature: include line number in toc parse error message#38

Open
outis wants to merge 3 commits into
Krasjet:masterfrom
outis:master
Open

add feature: include line number in toc parse error message#38
outis wants to merge 3 commits into
Krasjet:masterfrom
outis:master

Conversation

@outis

@outis outis commented Oct 20, 2024

Copy link
Copy Markdown
Contributor

Currently, when there's an error parsing a toc entry, it's difficult to find which entry caused the error, as there isn't much context provided in the error message. This commit adds line number information to the error message so users can know which line generated the parse error.

@outis

outis commented Nov 11, 2024

Copy link
Copy Markdown
Contributor Author

Branch to pull from now includes other fixes (described in commit messages).

@hoostus

hoostus commented May 10, 2026

Copy link
Copy Markdown

Ran into this issue several times today while using the otherwise fantastic pdf.tocgen. Would be great to see this merged into main.

@SuperCowProducts

Copy link
Copy Markdown

I get a error: bad hierarchy level in row 99 error - doesn't row refer to line number?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants