Re: How to ignore content of certain DocBook tags?

"David O'Brien" <[email protected]> Sun, 4 Sep 2016 13:24:15 +1000
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============2286311169035368783==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="OolJTpN3CndOspMdOT5VbEfMwdXI8GSC1"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OolJTpN3CndOspMdOT5VbEfMwdXI8GSC1
From: David O'Brien <[email protected]>
Reply-To: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: Re: [Aspell-user] How to ignore content of certain DocBook tags?
References: <[email protected]>
 <[email protected]>
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 09/04/2016 12:44 PM, Kevin Atkinson wrote:
> On Sun, 4 Sep 2016, David O'Brien wrote:
>=20
>> 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=3Dsgml '{}' \;
>>
>> I would like to configure aspell to ignore the contents of <screen> ta=
gs
>> (and possibly also other block tags in the future). Is this possible?
>=20
> Yes using the sgml-skip option.
>=20
> Please see
> http://aspell.net/man-html/Notes-on-Various-Filters-and-Filter-Modes.ht=
ml
>=20
> You would want something like:
>   find . -name *.xml -exec aspell -c --mode=3Dsgml --add-sgml-skip=3Dsc=
reen
> '{}' \;
>=20
> Regards,
> Kevin
>=20
> _______________________________________________
> Aspell-user mailing list
> [email protected]
> 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 :)

--=20

David

"He who asks is a fool for five minutes, but he who does not ask remains
a fool forever."
 ~ Chinese proverb


--OolJTpN3CndOspMdOT5VbEfMwdXI8GSC1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXy5PfAAoJECvSWTfpMtZ/tmcP/1/zScqy4OM7QrYcAhyLokwB
p2gPG4hKIPn7QqVXn2sWYK3ImmVMFQ1OhFXJsfP9ayMujwslkPF9fY600lDQc0Xq
3cXohKISIQmOVq2og8pAHYafTYN60BfIH/zjyuNhrGER6Fq9ZN+ndNCYt8QwmTZG
kn34jbSSktbswX+K9Y7kGtW5uV8FWEw58ZkW5u7RFW9HR4sATcI1dpDxyUapoud4
heFKB4krzB4AV+vX2KUzqOnf1j5FS07vz1+pFba3AC8aoLXmQRfPFtHJ6BjGTpes
aFEN0qmsagX3hZ6SvxVDlW/DKtiYImOc2iHMzn0lqKNedVEPiK+xqmxM0Spu6IZ/
evgy716SLG+/HPyE87dj7XGEfnie++BoOhnDCHvAtRk+YDV/ab/Js8RNp/4D8E5Q
PtiMi/9pJTmC15mw+vpm0e6M7iqVLXF3KGHztcVsMpGS3ZoIffQ4oLsphwqTWity
P9zd+cpzX7oCWaWalbmKbv+enzML9v1LtlmOefLBSyfaEPWOAmb8smDGP+pOSQrj
lPgPdEJOLCQWvez3U83ogCX03/LKDJsdGVD2gH/vFHw+vvoru2B2WHj7CATt9DmB
ctAPORaEFIEvlPxyBm3gS93R1Oa9YEL4ry4JJlhTXVicmgWNH50K/TKdz4smocPz
qOBBsXZr3qMZ+WwcCrrE
=LmCF
-----END PGP SIGNATURE-----

--OolJTpN3CndOspMdOT5VbEfMwdXI8GSC1--


--===============2286311169035368783==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aspell-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/aspell-user

--===============2286311169035368783==--