On 21.09.2011 22:30, Kevin Atkinson wrote:
>> If I try
>> aspell --add-word-list-path=./ --personal=documentlist check docfile.tex
>> than aspell starts up but does not use the words in my word list and
>> asks me to correct them when encountered in the document
> aspell --add-extra-dicts=./documentlist check docfile.tex
> If that doesn't work, try renaming documentlist.multi to
> documentlist.rws and try again with
> aspell --add-extra-dicts=./documentlist.rws check docfile.tex
>> Is there a way to use aspell with an additional local dictionary ?
> If you use the right commands, file extensions, etc. It should work.
>> Also, what is the proper way to check a document non-interactively
>> from the command line ?
> What are you looking for? A list of misspelled words, in that case use
> "aspell list"
Thank you ! It worked now.
Using --add-extra-dicts=./documentlist.rws worked well, and indeed
"list" is indeed what I needed, except that I find it a little strange
to take its input document from the standard input instead of a file
name parameter, so it also needs an explicit --mode=tex argument on the
command line, since reading text from standard input now means the
command can no longer see the file name extension (.tex) to get the
Now I have the problem that I do not know how to add a tex-command on
the command line to aspell list. As embedded in my .tex document, my
current command to check my text is:
However something is wrong with the arguments because the arguments to
all those LaTeX commands (autoref, nameref, url, href, hyperdef, write)
are still being output by aspell list as being misspelled words.
What is the proper way to add a new TeX command on the aspell command line ?