doc/share/sgml/spellcheck.dsl

73 lines
1.6 KiB
Text
Raw Normal View History

<!-- $FreeBSD$ -->
<!--
The current generation of open source SGML aware spellcheckers are
insufficient for our needs. They produce far too many false positives
since they just ignore the tags themselves but still spellcheck the
contents of all tags. This stylesheet specifically omits the output
of tags that may contain data that should not be spellchecked. For
example, the contents of <filename> tags should not be spellchecked.
-->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN" CDATA DSSSL>
<!ENTITY % output.print "IGNORE">
<!ENTITY % output.html "IGNORE">
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
<![ %output.html; [
<!--
(element programlisting
(if (equal? (normalize "pgpfingerprint") (attribute-string "role"))
(empty-sosofo)
(if (equal? (normalize "pgpkey") (attribute-string "role"))
(empty-sosofo)
(next-match))))
-->
2004-09-26 19:20:45 +02:00
(element command
(empty-sosofo))
2004-09-26 19:20:45 +02:00
(element devicename
(empty-sosofo))
(element email
(empty-sosofo))
(element filename
(empty-sosofo))
2004-09-26 19:20:45 +02:00
(element hostid
(empty-sosofo))
(element otheraddr
(empty-sosofo))
2004-09-26 19:20:45 +02:00
(element programlisting
(empty-sosofo))
(element screen
(empty-sosofo))
(element ulink
(empty-sosofo))
(element username
(empty-sosofo))
]]>
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="freebsd.dsl">
</style-sheet>