Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 23:08:13 +0100
From:      Ceri Davies <ceri@FreeBSD.org>
To:        doc@FreeBSD.org
Subject:   Stylesheet commits
Message-ID:  <20040922220812.GG2493@submonkey.net>

next in thread | raw e-mail | index | archive | help

--NpJxosW6I2mTcxQ7
Content-Type: multipart/mixed; boundary="xa9f45Qb6lv8AimG"
Content-Disposition: inline


--xa9f45Qb6lv8AimG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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 '&amp;' 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
--=20
It is not tinfoil, it is my new skin.  I am a robot.

--xa9f45Qb6lv8AimG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sort.sp.dsl"
Content-Transfer-Encoding: quoted-printable

Index: spellcheck.dsl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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))))
 -->
=20
-	  (element programlisting
-	    (empty-sosofo))
-
-	  (element screen
+	  (element command
 	    (empty-sosofo))
=20
-	  (element hostid
+	  (element devicename
 	    (empty-sosofo))
=20
 	  (element filename
 	    (empty-sosofo))
=20
-	  (element devicename
+	  (element hostid
 	    (empty-sosofo))
=20
 	  (element otheraddr
 	    (empty-sosofo))
=20
-	  (element command
+	  (element programlisting
+	    (empty-sosofo))
+
+	  (element screen
 	    (empty-sosofo))
=20
       ]]>

--xa9f45Qb6lv8AimG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="new.sp.dsl"
Content-Transfer-Encoding: quoted-printable

--- 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))
=20
+	  (element email
+	    (empty-sosofo))
+
 	  (element filename
 	    (empty-sosofo))
=20
@@ -53,6 +56,12 @@
 	    (empty-sosofo))
=20
 	  (element screen
+	    (empty-sosofo))
+
+	  (element ulink
+	    (empty-sosofo))
+
+	  (element username
 	    (empty-sosofo))
=20
       ]]>

--xa9f45Qb6lv8AimG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="amp.fbsd.dsl"
Content-Transfer-Encoding: quoted-printable

Index: freebsd.dsl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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?que=
ry=3D"
-                         (data r) "&" "sektion=3D" (data m))))
+                         (data r) "&" "amp;" "sektion=3D" (data m))))
             (case v
-              (("current") (string-append u "&" "manpath=3DFreeBSD+6-curre=
nt"))
-              (("xfree86") (string-append u "&" "manpath=3DXFree86+4.4.0"))
-              (("xorg")    (string-append u "&" "manpath=3DX11R6.7.0"))
-              (("netbsd")  (string-append u "&" "manpath=3DNetBSD+1.6.1"))
-              (("openbsd") (string-append u "&" "manpath=3DOpenBSD+3.4"))
-              (("ports")   (string-append u "&" "manpath=3DFreeBSD+Ports"))
+              (("current") (string-append u "&" "amp;" "manpath=3DFreeBSD+=
6-current"))
+              (("xfree86") (string-append u "&" "amp;" "manpath=3DXFree86+=
4.4.0"))
+              (("xorg")    (string-append u "&" "amp;" "manpath=3DX11R6.7.=
0"))
+              (("netbsd")  (string-append u "&" "amp;" "manpath=3DNetBSD+1=
=2E6.1"))
+              (("openbsd") (string-append u "&" "amp;" "manpath=3DOpenBSD+=
3.4"))
+              (("ports")   (string-append u "&" "amp;" "manpath=3DFreeBSD+=
Ports"))
               (else u))))
=20
         (element application ($bold-seq$))

--xa9f45Qb6lv8AimG--

--NpJxosW6I2mTcxQ7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBUffMocfcwTS3JF8RAh/JAJ9ZrC1VRMmcECyxcO2cFImgMH3JCQCgjpz4
rd1gJ3mJKRzjJ3onXxO5EWU=
=JaeI
-----END PGP SIGNATURE-----

--NpJxosW6I2mTcxQ7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040922220812.GG2493>