Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
I can use hunspell dictionaries with a spell, ok will check – oluies Nov 5 '10 at 7:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .