4 |
# |
# |
5 |
# A script to generate the main LaTeX file given the list of sections. |
# A script to generate the main LaTeX file given the list of sections. |
6 |
|
|
7 |
|
the_date=`date +%B`" "`date +%d`", "`date +%Y` |
8 |
|
|
9 |
cat <<EOF > api_main.tex |
cat <<EOF > api_main.tex |
10 |
%%% |
%%% |
27 |
\usepackage{hthtml} |
\usepackage{hthtml} |
28 |
\usepackage{graphicx} |
\usepackage{graphicx} |
29 |
|
|
|
\newcommand{\varlink}[2]{\htmladdnormallink{\tt #1}{../code_reference/vdb/byname/#2.html}} |
|
|
\newcommand{\filelink}[2]{\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html}} |
|
|
|
|
30 |
\usepackage[dvips]{epsfig} |
\usepackage[dvips]{epsfig} |
31 |
\def\scalefig#1{\epsfxsize #1\textwidth} |
\def\scalefig#1{\epsfxsize #1\textwidth} |
32 |
|
|
67 |
|
|
68 |
\bodytext{bgcolor="#FFFFFFFF"} |
\bodytext{bgcolor="#FFFFFFFF"} |
69 |
|
|
70 |
|
\title{MITgcm API Reference Manual} |
71 |
|
\author{--- The MITgcm Development Team ---} |
72 |
|
\date{$the_date} |
73 |
|
\maketitle |
74 |
|
|
75 |
\tableofcontents |
\tableofcontents |
76 |
|
|
77 |
\chapter{API References} |
\chapter{API References} |