DocBook のスペルチェッカー

DocBook のスペルチェッカー

<programlisting> などの特定のタグを無視するように設定できる、Docbook 用の優れたコマンド ライン スペルチェッカーはありますか。

できればHunspell辞書を使うのが良いと思います。スウェーデン語辞書それに。

答え1

Aspell は、作業に使用できる複数の動作モードを提供します。

--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.

hunspell 辞書をインストールするだけで、-H (--mode=Html/Sgml) オプションを指定して aspell を実行できるようです。

関連情報