Next: Citations and References
Up: Writing Papers and
Previous: Preprint vs. Galley
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.
- Write the RevTeX document
- Include ``html'' in the optional arguments to
\documentstyle
(but put it at
the end, after prabib. It doesn't work otherwise for some reason) - Include a link to the tex source using
\htmladdnormallink
{TeX source here}{
filename
}. This will
allow people to access and update the document in the future, even if you have
graduated and become rich and successful. - Include any other links you desire using the same command.
There are some other useful
\html...
extensions, see the
LaTeX2HTML manual. - Latex the file to produce paper output.
- run LaTeX2HTML on the file, e.g.,
latex2html filename
This will create a subdirectory with
the name of the file (minus extension).
- copy the tex source and any other additional
files which are to be downloadable
to the subdirectory
- 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. - ftp it to pads1 in a suitable area on your www account, for example
/home/yourname/www/grp
- untar it (e.g.,
tar xvf subdirectoryname.tar
) -
chmod go+rx
the new subdirectory -
cd
to the new subdirectory then type chmod go+r *
,
chmod go+rx *.html
to set the correct file privileges - test it and make sure that netscape can open it and it looks OK!
- in the subdirectory there is a file called
filename
.html, and
a lot of other stuff. Have the Webpage-Manager make a link to this file
from the main group page.
Next: Citations and References
Up: Writing Papers and
Previous: Preprint vs. Galley
Simon Billinge
Tue Jan 7 17:52:54 EST 1997