Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing "1" in list-logical output #62

Open
bulletmark opened this issue Dec 10, 2019 · 4 comments
Open

Trailing "1" in list-logical output #62

bulletmark opened this issue Dec 10, 2019 · 4 comments
Labels

Comments

@bulletmark
Copy link

I am running the latest git version on current Arch Linux. For some PDF files, the output of list-logical is sane. For other files, the output is:

11	1
21	2
31	3
41	4
51	5
61	6
71	7
81	8
91	9
101	10

And for yet some others, the output is:

i1	1
ii1	2
11	3
21	4
31	5
41	6
51	7
61	8
71	9
81	10
91	11
101	12
@hellerbarde
Copy link
Owner

That sounds very confusing. Are you sure that this is not just broken PDF files where that is just how the data is? If not, can you provide one or a few such files?

@bulletmark
Copy link
Author

2 months and 9 days! I had to scratch my head to remember what this was about as I gave up on stapler ages ago and wrote my own PDF tool which works for these docs. Any PDF file produced by asciidoc (using a2x) or asciidoctor (using asciidoctor-pdf) has this form. Feel free to close this bug if you prefer.

@hellerbarde
Copy link
Owner

I'd prefer to fix the bug or adapt stapler to deal with it. I apologize for the delay. Time is precious...

@bulletmark
Copy link
Author

OK, using this trivial PDF file built by asciidoctor-pdf, I get the output:

$ stapler list-log stapler-issue-62.pdf 
11	1
21	2
31	3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants