1

Is there any good command line spellcheckers for Docbook avaliable that could be configured to ignore certain tags such as <programlisting>.

Preferably it would use hunspell dictionaries since I have a good Swedish dictionary to that.

oluies
  • 285
  • 2
  • 13

1 Answers1

1

Aspell provides multiple operating modes to work in.

--mode=<string>, -e, -H, -t, -n
  Sets the filter mode.  Mode is one of none, url, email, html, tex or nroff. 
  The  alternative  shortcut  options  are  '-e'  for  email,  '-H'  for
  Html/Sgml, '-t' for Tex or '-n' for Nroff.

Sounds like you just need to install the hunspell dictionaries and then you can run aspell with the -H (--mode=Html/Sgml) option.

Tim Bielawa
  • 1,280
  • 11
  • 6