From owner-freebsd-doc@FreeBSD.ORG Sun Jun 27 18:11:00 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D94716A4D0 for ; Sun, 27 Jun 2004 18:11:00 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01EE43D45 for ; Sun, 27 Jun 2004 18:10:59 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i5RI9UNi060493 for ; Sun, 27 Jun 2004 14:09:30 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: doc@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ylsafWJjEwsnNmLyfexf" Organization: FreeBSD, Inc. Message-Id: <1088359848.40140.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 27 Jun 2004 14:10:48 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com Subject: Tidying SGML documents X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 18:11:00 -0000 --=-ylsafWJjEwsnNmLyfexf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I figure I'd ask before trying to clean these manually. What sgml-fu do you guys use to tidy horrendously formatted website documents? The GNOME docs are in pretty bad shape, and I've finally gotten fed up enough to fix them. I'm a vim user, and found this sometime ago: autocmd BufNewFile,BufRead *.sgml,*.ent,*.html,*.tex,*.xsl set autoindent formatoptions=3Dtcq2l textwidth=3D70 shiftwidth=3D2 softtabstop= =3D2 tabstop=3D8 It works great for writing new documents, but I was hoping there was a nice automatic recipe for existing documents. Thanks. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-ylsafWJjEwsnNmLyfexf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA3w2ob2iPiv4Uz4cRAlpiAJ4gbfVwZ9CnpVhFfO9pmHHwtJEDmwCeIzzU tZInvlf8Y+4XGTgqV5jfksU= =PZIe -----END PGP SIGNATURE----- --=-ylsafWJjEwsnNmLyfexf--