next up previous
Next: Citations and References Up: Writing Papers and Previous: Preprint vs. Galley

Group Notes

Since LaTeX2HTML is working quite well, I suggest that we make documents to be presented at group meetings and posted on the web as LaTeX files (or better still, RevTeX files). These can then be converted to HTML for posting. This gives good practice with writing with TeX, yields high-quality paper output, and still a nice HTML document for easy reference in the future.

Here is a suggested procedure for generating these documents.

  1. Write the RevTeX document
  2. Include ``html'' in the optional arguments to \documentstyle (but put it at the end, after prabib. It doesn't work otherwise for some reason)
  3. Include a link to the tex source using \htmladdnormallink{TeX source here}{ tex2html_wrap_inline47 filename tex2html_wrap_inline49 }. This will allow people to access and update the document in the future, even if you have graduated and become rich and successful.
  4. Include any other links you desire using the same command. There are some other useful \html... extensions, see the LaTeX2HTML manual.
  5. Latex the file to produce paper output.
  6. run LaTeX2HTML on the file, e.g., latex2html filename This will create a subdirectory with the name of the file (minus extension).
  7. copy the tex source and any other additional files which are to be downloadable to the subdirectory
  8. from the parent directory, tar the subdirectory, for example, using tar cvf subdirectoryname.tar subdirectory. This is good ``tar'' technique. You should always tar the contents of a directory tree from one directory higher in the hierarchy. In this case, when you untar it at the other end, it will first create the subdirectory and then the hang the rest of the tree off that. Very tidy.
  9. ftp it to pads1 in a suitable area on your www account, for example /home/yourname/www/grp
  10. untar it (e.g., tar xvf subdirectoryname.tar)
  11. chmod go+rx the new subdirectory
  12. cd to the new subdirectory then type chmod go+r *, chmod go+rx *.html to set the correct file privileges
  13. test it and make sure that netscape can open it and it looks OK!
  14. in the subdirectory there is a file called tex2html_wrap_inline47 filename tex2html_wrap_inline49 .html, and a lot of other stuff. Have the Webpage-Manager make a link to this file from the main group page.

next up previous
Next: Citations and References Up: Writing Papers and Previous: Preprint vs. Galley

Simon Billinge
Tue Jan 7 17:52:54 EST 1997