Stylesheet commits
Ceri Davies
ceri at FreeBSD.org
Wed Sep 22 22:08:15 UTC 2004
Am I allowed to make commits to the stylesheets in doc/share/sgml/
during the slushie?
I have attached the commits that I'd like to make, here are the
reasons:
__Diffs against doc/share/sgml/spellcheck.dsl
sort.sp.dsl)
Sorts the ignored elements in the spellcheck.dsl.
new.sp.dsl)
Applies after sort.sp.dsl is applied.
Adds email, ulink and username to the ignored elements.
__Diff to doc/share/sgml/freebsd.dsl
amp.fbsd.dsl)
Outputs '&' rather than '&' in the links to man.cgi.
Taking en_US.ISO8859-1/articles/checkpoint as an example,
this eliminates 40 out of 41 warnings from w3's validator.
I certainly won't cry if the answer is no, but it would be nice.
Cheers,
Ceri
--
It is not tinfoil, it is my new skin. I am a robot.
-------------- next part --------------
Index: spellcheck.dsl
===================================================================
RCS file: /home/ncvs/doc/share/sgml/spellcheck.dsl,v
retrieving revision 1.1
diff -u -r1.1 spellcheck.dsl
--- spellcheck.dsl 14 Jul 2004 05:28:11 -0000 1.1
+++ spellcheck.dsl 22 Sep 2004 21:34:28 -0000
@@ -34,25 +34,25 @@
(next-match))))
-->
- (element programlisting
- (empty-sosofo))
-
- (element screen
+ (element command
(empty-sosofo))
- (element hostid
+ (element devicename
(empty-sosofo))
(element filename
(empty-sosofo))
- (element devicename
+ (element hostid
(empty-sosofo))
(element otheraddr
(empty-sosofo))
- (element command
+ (element programlisting
+ (empty-sosofo))
+
+ (element screen
(empty-sosofo))
]]>
-------------- next part --------------
--- spellcheck.dsl.o Wed Sep 22 22:37:29 2004
+++ spellcheck.dsl Wed Sep 22 22:42:21 2004
@@ -40,6 +40,9 @@
(element devicename
(empty-sosofo))
+ (element email
+ (empty-sosofo))
+
(element filename
(empty-sosofo))
@@ -53,6 +56,12 @@
(empty-sosofo))
(element screen
+ (empty-sosofo))
+
+ (element ulink
+ (empty-sosofo))
+
+ (element username
(empty-sosofo))
]]>
-------------- next part --------------
Index: freebsd.dsl
===================================================================
RCS file: /home/dcvs/doc/share/sgml/freebsd.dsl,v
retrieving revision 1.82
diff -u -r1.82 freebsd.dsl
--- freebsd.dsl 30 Aug 2004 09:19:35 -0000 1.82
+++ freebsd.dsl 22 Sep 2004 21:50:57 -0000
@@ -206,14 +206,14 @@
(m (select-elements (children n) (normalize "manvolnum")))
(v (attribute-string (normalize "vendor") n))
(u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query="
- (data r) "&" "sektion=" (data m))))
+ (data r) "&" "amp;" "sektion=" (data m))))
(case v
- (("current") (string-append u "&" "manpath=FreeBSD+6-current"))
- (("xfree86") (string-append u "&" "manpath=XFree86+4.4.0"))
- (("xorg") (string-append u "&" "manpath=X11R6.7.0"))
- (("netbsd") (string-append u "&" "manpath=NetBSD+1.6.1"))
- (("openbsd") (string-append u "&" "manpath=OpenBSD+3.4"))
- (("ports") (string-append u "&" "manpath=FreeBSD+Ports"))
+ (("current") (string-append u "&" "amp;" "manpath=FreeBSD+6-current"))
+ (("xfree86") (string-append u "&" "amp;" "manpath=XFree86+4.4.0"))
+ (("xorg") (string-append u "&" "amp;" "manpath=X11R6.7.0"))
+ (("netbsd") (string-append u "&" "amp;" "manpath=NetBSD+1.6.1"))
+ (("openbsd") (string-append u "&" "amp;" "manpath=OpenBSD+3.4"))
+ (("ports") (string-append u "&" "amp;" "manpath=FreeBSD+Ports"))
(else u))))
(element application ($bold-seq$))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040922/7543b035/attachment.sig>
More information about the freebsd-doc
mailing list