--- manual/manual.tex 2001/11/13 15:00:00 1.10 +++ manual/manual.tex 2002/03/01 20:03:35 1.12 @@ -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.12 2002/03/01 20:03:35 cnh Exp $ % $Name: $ \documentclass[12pt]{book} @@ -14,6 +14,17 @@ %cnh%\usepackage{array} %cnh%\usepackage{multirow} +% Command to reference entries in either "code" or "names" +% directories of browseable code tree. +\newcommand{\proclink}[2]{ +\htmladdnormallink{\em #1()}{../../code_reference/vdb/names/#2_docref.html} +} +\newcommand{\varlink}[2]{ +\htmladdnormallink{\bf \tt #1}{../../code_reference/vdb/names/#2_docref.html} +} + + + %ph%\usepackage{epsfig} %ph%\usepackage{psfrag} %ph%\usepackage{oldgerm} @@ -60,6 +71,24 @@ %\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={support@mitgcm.org}, + pdfkeywords={oceanography, ocean model, general circulation model, + non-hydrostatic, finite volume, inverse methods, adjoint method} + } + \begin{document} \bodytext{bgcolor="#FFFFFFFF"}