[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] How to ignore content of certain DocBook tags?
From: |
David O'Brien |
Subject: |
Re: [Aspell-user] How to ignore content of certain DocBook tags? |
Date: |
Sun, 4 Sep 2016 13:24:15 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
On 09/04/2016 12:44 PM, Kevin Atkinson wrote:
> On Sun, 4 Sep 2016, David O'Brien wrote:
>
>> Using aspell-0.60.6.1-10.fc22.x86_64
>>
>> I use the following to spell check my DocBook XML files:
>>
>> find . -name *.xml -exec aspell -c --mode=sgml '{}' \;
>>
>> I would like to configure aspell to ignore the contents of <screen> tags
>> (and possibly also other block tags in the future). Is this possible?
>
> Yes using the sgml-skip option.
>
> Please see
> http://aspell.net/man-html/Notes-on-Various-Filters-and-Filter-Modes.html
>
> You would want something like:
> find . -name *.xml -exec aspell -c --mode=sgml --add-sgml-skip=screen
> '{}' \;
>
> Regards,
> Kevin
>
> _______________________________________________
> Aspell-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/aspell-user
That's it, thank you~!
I was poking around in that doc but missed that bit obviously :(
Thanks again :)
--
David
"He who asks is a fool for five minutes, but he who does not ask remains
a fool forever."
~ Chinese proverb
signature.asc
Description: OpenPGP digital signature