-
Notifications
You must be signed in to change notification settings - Fork 395
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
Textidote - spelling check #1857
Comments
Can you show the output of |
I get the following error message:
Hum - I wonder why I get this error as it appears that the config in my vimrc file is correct. :-(
while
|
I think the problem is that your configuration is not correct. let g:vimtex_grammar_textidote = {
\ 'jar': '<PATHTO>\textidote.jar',
\ 'args': '--check en',
\} The path in the |
This is what I have in the config, i.e. the whole path:
I had omitted it in the previous post. BTW textidote can be called even from $HOME. I have edited the previous post. EDITHum, could it be possible that I have used the Debian installation (ie. a *.deb file) for Textidote this does not work as expected as it is not running from a jar file? |
Ok I confim that the problem was indeed the installation of Textidote as via the jar file it works with Perhaps highlighting this in the documentation might be a good idea as I was convinced the the *.deb file would have placed me the textidote jar file somewhere on system but it did not and in particular it was not a jar file. I'm starting to have a nice workflow now - once again excellent job on both sw and support. consider that I'm a novice and now I cannot event think of going back to winedt. |
I'm not quite sure I understand what you mean: did you first try to specify a textidote executable (e.g. I'm not quite sure exactly what has been confusing, but I don't mind updating and improving the docs. Do you have a concrete suggestion?
Thanks, I'm glad to hear it! :) Btw, I've never heard of WinEdt before (http://www.winedt.com/). There's several other dedicated LaTeX editors, e.g. texmaker and texsuite; I've heard a lot of people find these to be good. But I guess once you go Vim (or neovim), you don't go back :) |
Perhaps I have been unclear,sorry: Texidote for Debian (the distro I use) offers a *.deb package (see here). Such package does not place the texitidote jar file anywhere(i.e. /usr/bin/textidote was not a jar file that vimtex could fetch - I used In other words the *.deb package of textidote did not work and maybe highlighting this on the docs could be a good idea. I.e. specify that the actual jar file is needed Vim for the win! |
Thanks, I've updated the docs. Do you think it suffices? |
Hi @Princeofthebow, I am a Manjaro user and I find that In fact when I look at what #! /bin/bash
java -jar /opt/textidote/textidote.jar --name textidote "$@" EDIT When I rearranging the functions, the So I think that the following configuration might also works for you let g:vimtex_grammar_textidote = {
\ 'jar': '/opt/textidote/textidote.jar',
\ 'args': '',
\} BTW, in this process, I find that the first time I run
I look at |
I can confirm that this should work well on Arch Linux.
Thanks, fixed now! |
Thank you for your instant response!!! BTW, is that no quickfix window the normal way it behave? |
No problem! :) And yes, it is. See |
Thank you. I will read it later. |
Hi sorry it is me again from yesterday!
As I'm navigating my way trough I'm now looking to make use of a spell checker. From the documentation from what I understand using textidote is possible solution.
I have therefore set the followin
.vimrc
file:This is my MWE tex file:
but after running
:compiler textidote | lmake
I get the following outcome:
and then after i hit enter an empty vim with:
This has puzzled me since I as mentioned I'm rather new to vim and vimtex (but not latex).
I have run textidote on the textfile and it appears to be working correctly
ps is there any other way to handle spellcheck that may be better?
Thanks in advance!
The text was updated successfully, but these errors were encountered: