]> git.rkrishnan.org Git - .emacs.d.git/blob - emacs/nxhtml/nxhtml/doc/html2xhtml.html
submodulized .emacs.d setup
[.emacs.d.git] / emacs / nxhtml / nxhtml / doc / html2xhtml.html
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5   <head>
6     <title>
7       How to Convert to XHTML
8     </title>
9     <link href="nxhtml.css" rel="StyleSheet" type="text/css" />
10   </head>
11   <body>
12     <h1>
13       How to Convert to XHTML
14     </h1>
15     <p>
16       With nxhtml-mode you can edit XHTML documents, but not HTML
17       dito. So what do you do with your old HTML documents? The
18       answer is simple: You convert them to XHTML! There is today
19       not many reasons not to convert them to XHTML. You may say
20       "but what about old browsers?". Most users just do not have
21       old browsers today. Old browsers are too dangerous to use on the
22       Internet.
23     </p>
24     <p>
25       You can convert the documents easily from within nxhtml-mode
26       with <a href= "http://tidy.sourceforge.net/">Tidy</a>. However
27       Tidy does not come with nxhtml, you have to install it yourself.
28     </p>
29     <p>
30       When Tidy is called from Emacs you can do a whole directory tree
31       at once. When a buffer is in nxhtml-mode (and tidy.el is found)
32       there is an entry on the menus called <b>Tidy</b> from which you
33       can access tidy and set the options for it. Note especially the
34       <b>Quick Options Settings</b> where you can set options for
35       converting to XHTML easily.
36     </p>
37
38  </body>
39 </html>