[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] How to ignore content of certain DocBook tags?
From: |
Kevin Atkinson |
Subject: |
Re: [Aspell-user] How to ignore content of certain DocBook tags? |
Date: |
Sat, 3 Sep 2016 22:44:25 -0400 (EDT) |
User-agent: |
Alpine 2.11 (DEB 23 2013-08-11) |
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