Tidying SGML documents

Joe Marcus Clarke marcus at FreeBSD.org
Sun Jun 27 18:11:00 UTC 2004


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.

Joe
-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040627/5dfb6ddd/attachment.sig>


More information about the freebsd-doc mailing list