--- manual/manual.tex 2001/11/13 15:00:00 1.10 +++ manual/manual.tex 2004/02/12 03:35:05 1.20 @@ -1,4 +1,4 @@ -% $Header: /home/ubuntu/mnt/e9_copy/manual/manual.tex,v 1.10 2001/11/13 15:00:00 adcroft Exp $ +% $Header: /home/ubuntu/mnt/e9_copy/manual/manual.tex,v 1.20 2004/02/12 03:35:05 edhill Exp $ % $Name: $ \documentclass[12pt]{book} @@ -9,11 +9,27 @@ %aja%\usepackage{amsfonts} \usepackage{amsmath} \usepackage{html} +\usepackage{hthtml} \usepackage{graphicx} %cnh%\usepackage{array} %cnh%\usepackage{multirow} +%eh3 Commands to reference either files or symbols within the "HTML-ized" +%eh3 ("vdb") code. +%eh3 +\newcommand{\varlink}[2]{ +\htmladdnormallink{\em #1()}{../code_reference/vdb/byname/#2.html} +} +\newcommand{\filelink}[2]{ +\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html} +} + +%eh3 try out the epsfig package +\usepackage[dvips]{epsfig} +\def\scalefig#1{\epsfxsize #1\textwidth} + + %ph%\usepackage{epsfig} %ph%\usepackage{psfrag} %ph%\usepackage{oldgerm} @@ -60,6 +76,40 @@ %\renewcommand{\chaptername}{Section} +% This allows hyperlinks in PDF +% hyperref package and colors for hyperref package +\usepackage{color} +\usepackage[dvips]{hyperref} +\definecolor{darkgreen}{rgb}{0,0.4,0} +\definecolor{darkblue}{rgb}{0,0,0.4} +\definecolor{darkred}{rgb}{0.5,0,0} +\hypersetup{breaklinks=true, + colorlinks=true, + linkcolor=darkgreen, + citecolor=darkblue, + pagecolor=darkred, + pdftitle={MITgcm Release 1 Documentation}, + pdfauthor={MITgcm-support@mitgcm.org}, + pdfkeywords={oceanography, ocean model, general circulation model, + non-hydrostatic, finite volume, inverse methods, adjoint method} + } + +% Some definitions (AMM) +\def\p#1{{\partial \over {\partial #1}}} +\def\pp#1#2{{\partial #1 \over {\partial #2}}} +\def\dd#1#2{{d #1 \over {d #2}}} +\def\bq{\begin{equation}} +\def\bqa{\begin{eqnarray}} +\def\eq{\end{equation}} +\def\eqa{\end{eqnarray}} + +\def\h{ {1\over2} } +\def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}} +\def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}} + +\def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage} + + \begin{document} \bodytext{bgcolor="#FFFFFFFF"} @@ -103,7 +153,7 @@ \input{part7/part7} %\pagebreak -% Section: ECCO Interface +% Section: ECCO \input{part8/part8} %\pagebreak