|
From: | Kevin Atkinson |
Subject: | Re: [aspell-devel] TeX double quotation marks and Italian language. |
Date: | Fri, 23 May 2008 13:45:37 -0600 (MDT) |
On Wed, 21 May 2008, Antonio Ospite wrote:
Great! This seems to be way simpler than a dictionary solution, and it is language independent, too. Do you think it is worth to translate the whole expression ``some text'' to "some text" in the filter? It looks more robust to me.
Maybe, but more trouble. Does TeX more or less unconditionally converts '' to a double quote? If so, there is no reason the filter shouldn't also.
You can very easily add support for '' to the texinfo filter by adding a line to texinfo.conv.
Does aspell support regular expressions in filters?
No. A regex filter will be useful but I imagine somewhat complicated to write. If you really want to attempt one see:
http://aspell.net/0.61/dev-html/Filter-Interface.htmlFor an overview of how Aspell's filter interface works. It is best to ignore section 11.7 and 11.8 as there are out of date and no longer accurate. Just use one of the other filters as a template.
[Prev in Thread] | Current Thread | [Next in Thread] |