Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.