From owner-freebsd-doc@FreeBSD.ORG Mon Jun 28 02:58:43 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 1ACA216A4CE; Mon, 28 Jun 2004 02:58:43 +0000 (GMT) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD82443D31; Mon, 28 Jun 2004 02:58:42 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost.pittgoth.com ([192.168.0.5]) (authenticated bits=0) by pittgoth.com (8.12.11/8.12.11) with ESMTP id i5S2wWKY055645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 27 Jun 2004 22:58:32 -0400 (EDT) (envelope-from trhodes@FreeBSD.org) Date: Sun, 27 Jun 2004 22:59:05 -0400 From: Tom Rhodes To: Joe Marcus Clarke Message-Id: <20040627225905.5737e123@localhost.pittgoth.com> In-Reply-To: <1088359848.40140.5.camel@shumai.marcuscom.com> References: <1088359848.40140.5.camel@shumai.marcuscom.com> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: doc@FreeBSD.org Subject: Re: 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: Mon, 28 Jun 2004 02:58:43 -0000 On Sun, 27 Jun 2004 14:10:48 -0400 Joe Marcus Clarke wrote: > 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=tcq2l textwidth=70 shiftwidth=2 softtabstop=2 > tabstop=8 > > It works great for writing new documents, but I was hoping there was a > nice automatic recipe for existing documents. Thanks. Manual labor. :) -- Tom Rhodes