tecosaur / LaTeX-Utilities

An add-on to LaTeX Workshop that provides some features that go beyond the bare essentials
MIT License
474 stars 28 forks source link

Unending TeXCount error messages if latex is not installed locally #371

Closed rzippo closed 1 year ago

rzippo commented 1 year ago

I am using remote editing, my local environment does not have latex installed. But the count words feature insists on calling the texcount command locally and I can't seem to find an option to disable it.

leoleoasd commented 1 year ago

I'm using remote WSL and the extension can correctly call texcount within WSL. Which type of remote are you using?

rzippo commented 1 year ago

SSH. Though, for the build step I use a docker image via LaTeX-Workshop

leoleoasd commented 1 year ago

Ok, so the problem should be calling texcount in your remote environment but not inside docker. try adding this to your settings.json and see if it works:

"latex-utilities.countWord.docker.enabled": true,
rzippo commented 1 year ago

Yes, this works. But it seems it is not documented.

leoleoasd commented 1 year ago

Documentation added in v0.4.9.