Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 22:59:05 -0400
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        doc@FreeBSD.org
Subject:   Re: Tidying SGML documents
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jun 2004 14:10:48 -0400
Joe Marcus Clarke <marcus@freebsd.org> 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



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