-
Notifications
You must be signed in to change notification settings - Fork 27
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
Feature Request: Latex Word Count #65
Comments
Great idea, I'd love to see a PR for that 👍 |
@nbrewk @OleMchls IMO the best way to wordcount LaTeX files is to use a dedicated tool like |
@Aerijo Generally I think having smarter counting per file format is a good idea. However, we would need to have a possibility to have different functions per file extension. If you want to contribute this I will happily coordinate with you how to archive this best. Given we succeed with this approach I would happily take a super advanced tex counting module/function for the |
If this is not possible in the short-term, as I am using it now the main inaccuracy seems to come from the inclusion of words in comments. Is there an easy language-nonspecific way to not include them in the count or does the atom code make that difficult to do? |
@josh-bridge IIRC atom has an inbuild parser, so I think technically it would be possible to detect comments and ignore them. However, you would need to get this metadata from the Atom API. Which is not really used for counting (yet). |
@josh-bridge can you try whether mbroedl/atom-wordcount works for you (cf. #99)? |
In same way that word counts are supported for Markdown files, it would be ideal for wordcount to be able to ignore LaTeX syntax and provide an accurate word count.
The text was updated successfully, but these errors were encountered: