Date: Thu, 12 Jul 2001 11:15:35 +0100 From: Nik Clayton <nik@freebsd.org> To: Rahul Siddharthan <rsidd@physics.iisc.ernet.in> Cc: doc@freebsd.org Subject: Re: Spacing (again) in handbook with netscape Message-ID: <20010712111535.Q97290@clan.nothing-going-on.org> In-Reply-To: <20010712104825.D42931@lpt.ens.fr>; from rsidd@physics.iisc.ernet.in on Thu, Jul 12, 2001 at 10:48:25AM %2B0200 References: <20010712104825.D42931@lpt.ens.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--XQ/JOjNzrAcf1KaA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 12, 2001 at 10:48:25AM +0200, Rahul Siddharthan wrote: > Am I not supposed to do this? Or is this just a bug with netscape? Bit of both. The generated HTML isn't perfect, but Netscape could do a better job of rendering it -- Konq and IE get it right. Having looked at the markup, in this particular instance these should all be <programlisting> anyway, which is expected to be formatted as a separate block. I've made the necessary changes. FWIW, the DocBook stylesheets enforce this; <screen> is handled by code in dbverb.dsl which does this; (element screen ($verbatim-display$ %indent-screen-lines% %number-screen-lines%)) it might be worth rewriting that so it checks to see if an immediate ancestor of the screen element is <para>, and if so, to adopt the same behaviour as that when processing the <literal> element. However, I'm not sure if it's worth it. If nothing else, the current style makes it very easy for the reader to skim the documentation picking out command lines to cut and paste -- putting those command lines inside paragraphs makes that a bit more difficult. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ FreeBSD Documentation Project http://www.freebsd.org/docproj/ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- --XQ/JOjNzrAcf1KaA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjtNeMcACgkQk6gHZCw343Wz2QCdE/SefU7y4dCCcVgPr/pS/uVR Q8QAoInL5rSMvcKZE3tIHKIr5Z/MPRYa =jt0F -----END PGP SIGNATURE----- --XQ/JOjNzrAcf1KaA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010712111535.Q97290>