aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] [Cygwin+aspell] Error: The filter "tex" does not exist


From: Gary Setter
Subject: Re: [Aspell-user] [Cygwin+aspell] Error: The filter "tex" does not exist
Date: Tue, 11 Apr 2006 08:56:18 -0500

----- Original Message ----- 
From: "Maki 1sy8" <address@hidden>
To: <address@hidden>
Sent: Tuesday, April 11, 2006 3:16 AM
Subject: [Aspell-user] [Cygwin+aspell] Error: The filter "tex"
does not exist


Hi all.

I'm just discovering the aspell system on Cygwin. I dowloaded the
0.60.4tarball.
My primary objective is to spellcheck LaTeX files from GNU Emacs.

The configure and make stages went well. Apart from the fact it
warned about
the absence of utf-8 support
stemming from the absence of ncursesw, it was apparently a
success.

At the install stage, it told me a few times about the following
:
--------------------------
Libraries have been installed in:
   /usr/local/stow/aspell- 0.60/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--------------------------

But othewise, everything  seemed to install smoothly.

I installed two dict packages, the en and fr ones.

The problem is, when I tried to manually check one LaTeX file, it
just
replied me
$ aspell -c -lfr publi.tex
Error: The filter "tex" does not exist.

Can you tell me how I can tell aspell that the said filter does
exist indeed
??


--- Reply ----
Hi Maki,

I can get the error if my  static_filters.src.cpp is not correct.
This is a generated file that is included by lib\new_filter.cpp.
Below is the array from my static_filters.src.cpp which defines
the list of filters available.

 static FilterEntry standard_filters[] = {
    {"context",0,new_aspell_context_filter,0},

{"texinfo",new_aspell_texinfo_decoder,new_aspell_texinfo_filter,n
ew_aspell_texinfo_encoder},
    {"sgml",new_aspell_sgml_decoder,new_aspell_sgml_filter,0},

{"genconv",new_aspell_genconv_decoder,0,new_aspell_genconv_encode
r},

{"tex",new_aspell_tex_decoder,new_aspell_tex_filter,new_aspell_te
x_encoder},
    {"url",0,new_aspell_url_filter,0},
    {"nroff",0,new_aspell_nroff_filter,0},
    {"email",0,new_aspell_email_filter,0},
    {"html",new_aspell_html_decoder,new_aspell_html_filter,0}
  };

What does your static_filters.src.cpp file look like?

The file is generated by gen/mk-static-filter.pl. I don't recall
off the top of my head where it gets it's list of available
filters, but it might be the list of  *.amf files.

You are also welcome to look at
http://sourceforge.net/projects/descdatadiary which uses Aspell
with some changes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]