Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 17: Editing LaTeX/HTML Files

Previous HourNext Hour

Sections in this Hour:

 

Exercises

1. Save an Internet HTML file from within a Web browser. Load the file into an Emacs session and make changes such as adding new tagged paragraphs or links. Then view the modified file in the browser and see what your changes really look like and whether the links work. Hint: save the file from a fairly plain Web page--one without frames, tables, or Java applets.

2. Open a plain text file with Emacs and type C-x C-w (Save As). When prompted in the minibuffer, save the file as a new file with the .html or .htm suffix. Now try to insert the proper tags so that the new file displays properly in a Web browser.

3. Try exercise 2 with LaTeX rather than HTML, using the same plain text file. Save the file using a name with the .tex suffix rather than the .html suffix. After you insert the necessary LaTeX tags, process it with TeX and view the DVI file with your viewer. Notice how the formatted output differs from the results of exercise 2.

Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Hour 17: Editing LaTeX/HTML Files

Previous HourNext Hour

Sections in this Hour: