This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: auto-indent tool


/ Gary Lawrence Murphy <garym@canada.com> was heard to say:
| I wonder if the W3.org's 'tidy' program might be adaptable to
| reformatting SGML.  It does a fair job of fixing HTML.

Beware that tools like this (usually) introduce a lot of significant
whitespace into your source document. TeX has pretty good rules about
discarding whitespace, and HTML browsers do a fair job as well, with
other tools, YMMV.

And be particularly careful with table cells. See the pernicious mixed
content notes in The Definitive Guide.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | How is the world ruled and how do
http://www.oasis-open.org/docbook/ | wars start? Diplomats tell lies to
Chair, DocBook Technical Committee | journalists and then believe what
                                   | they read.--Karl Kraus

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]