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을 실행할 수 있는 것 같습니다.

관련 정보