[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [aspell] Re: Wishlist
From:       Kevin Atkinson <kevinatk () home ! com>
Date:       1999-03-01 16:16:58
Message-ID: LYR14511-14877-1999.03.01-11.18.10--kevinatk#home.com () franklin ! oit ! unc ! edu
[Download RAW message or body]

Ulf Vatter wrote:
> 
> Kevin Atkinson wrote:
> >[...]
> >
> >> ** One should be able to define a remark sections (in a tex file,
> >> everything behind a `;` should not be checked) and code words ( \center
> >> should not be checked).
> >
> > This sort of region skipping will come soon although I will only be able
> > to code one for html as I do not know enough about TeX to create one.
> >
> Well, especially in this sort of points your program should be very
> flexible and configureable! One should be able to define this kind of
> stuff very easily, so that ajustment for a new fileformat can be made
> very fast. There are hundreds of programs out there which could utilise
> aspell, each using it's own format. How about a simple file with several
> sections:
> 1. Ignore between <list of begin and end symbols>
> 2. Ignore until EOL < list of symbols>
> 3. Ignore until EOParagraph <list of symbols>
> 4. Ignore until EOF <list of symbols>
> 5. Ignored simple codewords <list of codewords>
> 6. Ignored enclosing codewords <list of codewords>
> 
> Hardcoding for each file format isn't a good idea.

These rules are not really flexible enough.  For example:
<img src="foo.gif" alt="A picture of a foo.">
Now how will you tell it to ignore the img, src="foo.gif", and alt but
not the "A picture of a foo."

Also what makes up and EOParagraph?  And what is the difference between
5 and 6.

I want to right now focus in a way to let others easily add filters via
code.  This way I filter like you described can be designed on top of my
existing system.

-- 
Kevin Atkinson
kevinatk@home.com
http://metalab.unc.edu/kevina/


---
Note: This message was origanlly posted to aspell@franklin.oit.unc.edu,
      not aspell-user@lists.sourceforge.net.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic