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

Use wordcount method #7

Open
Turgon-Aran-Gondolin opened this issue May 24, 2018 · 0 comments
Open

Use wordcount method #7

Turgon-Aran-Gondolin opened this issue May 24, 2018 · 0 comments

Comments

@Turgon-Aran-Gondolin
Copy link

Turgon-Aran-Gondolin commented May 24, 2018

I tried detex and your program works great, but when I tried wordcount I got

Traceback (most recent call last):
File "/pathto/aps-length", line 569, in
process(tex_file, opts)
File "/pathto/aps-length", line 512, in process
main_text_words = count_main_text_words_wordcount(tex_lines, opts)
File "/pathto/aps-length", line 310, in count_main_text_words_wordcount
line = mod_tex_lines.pop(0) # comment out the \end too
IndexError: pop from empty list

BTW I don't know how you invoke wordcount in your code, and both version from dnf and CTAN failed. Could you please help me?

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

No branches or pull requests

1 participant