aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] Tex mode from a C program


From: Michele Mattioni
Subject: [Aspell-user] Tex mode from a C program
Date: Mon, 31 Mar 2008 11:51:57 +0100

Hello list,

I've modified the example file (attached) to load the tex mode.
The interesting lines are 61 - 65

  config = new_aspell_config();

  aspell_config_replace(config, "lang", argv[1]);

  aspell_config_replace(config, "mode", "tex");

When I run this program as
$ ./example-c a.tex
I get
Error: Unknown mode: "tex".

I don't know why.
What am I doing wrong?

Everything work from the command line.

Thanks,
Michele

Attachment: example-c.c
Description: Text Data


reply via email to

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