On Fri, 23 May 2008 13:45:37 -0600 (MDT) Kevin Atkinson <[EMAIL PROTECTED]> wrote:
> 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. > Ok, thanks, the attached patch makes me happy for now :) Just a side note, mk-tex.conv.pl does not produce the same tex.conv that aspell provides, is that known? Thanks again for your help. Regards, Antonio. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Web site: http://www.studenti.unina.it/~ospite Public key: http://www.studenti.unina.it/~ospite/aopubkey.asc
diff -ruN aspell-0.61+20071105.orig/modules/filter/mk-tex.conv.pl aspell-0.61+20071105/modules/filter/mk-tex.conv.pl --- aspell-0.61+20071105.orig/modules/filter/mk-tex.conv.pl 2008-05-27 12:30:49.000000000 +0200 +++ aspell-0.61+20071105/modules/filter/mk-tex.conv.pl 2008-05-27 12:43:29.000000000 +0200 @@ -71,6 +71,7 @@ print F "name tex\n"; print F "table\n"; print F ". \\\\-\n"; +print F "\" \\'\\'\n"; foreach (sort {$a <=> $b} keys %table) { diff -ruN aspell-0.61+20071105.orig/modules/filter/tex.conv aspell-0.61+20071105/modules/filter/tex.conv --- aspell-0.61+20071105.orig/modules/filter/tex.conv 2008-05-27 12:30:49.000000000 +0200 +++ aspell-0.61+20071105/modules/filter/tex.conv 2008-05-27 12:43:55.000000000 +0200 @@ -2,6 +2,7 @@ name tex table . \\- +" \'\' Ã \\`A \\`{A} \\`\ A Ã \\'A \\'{A} \\'\ A Ã \\^A \\^{A} \\^\ A
pgpbemj51zT0a.pgp
Description: PGP signature
_______________________________________________ Aspell-devel mailing list Aspell-devel@gnu.org http://lists.gnu.org/mailman/listinfo/aspell-devel