[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] DocBook Spelling Aid
On Sun, Jun 27, 2010 at 12:47 PM, Tom Browder <tom.browder@gmail.com> wrote: > On Sun, Jun 27, 2010 at 05:32, Tom Browder <tom.browder@gmail.com> wrote: >> On Sun, Jun 27, 2010 at 04:43, Stefan Kost <ensonic@hora-obscura.de> wrote: >>> Am 26.06.2010 15:24, schrieb Tom Browder: >> ... >>> You mean like :) >>> aspell check --mode=sgml doc.xml > > I get it, I could have used aspell instead of hunspell and specifying > the English system dictionary, > > Hunspell was the first thing I saw when running apropos on my machine > to look for a spelling program--didn't think to look further. I > forgot about aspell--been a loooong time since I used an external > spell checker > > At any rate, aspell should work with my wrapper with suitable command > line changes. It will still help eliminate the cruft and simplify > spell checking a large set of files. Here is my two cents: xmllint --postvalid --xinclude --nonet ${input_file} | aspell list -p path/to/aspell.en.pws --mode=sgml --lang=en --encoding=utf-8 Because this trigger quite a lot of false positive I also append: foreach( skip in `acronym application author code hardware filename markup programlisting productname screen sgmltag`) "--add-f-sgml-skip=${skip}" endforeach() HTH -- Mathieu
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]