/[escript]/trunk/doc/install/install_defs.tex
ViewVC logotype

Contents of /trunk/doc/install/install_defs.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2289 - (show annotations)
Wed Feb 25 03:38:59 2009 UTC (10 years, 1 month ago) by jfenwick
File MIME type: application/x-tex
File size: 2414 byte(s)
Main compilation page copied from twiki.
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %
3 % Copyright (c) 2003-2008 by University of Queensland
4 % Earth Systems Science Computational Center (ESSCC)
5 % http://www.uq.edu.au/esscc
6 %
7 % Primary Business: Queensland, Australia
8 % Licensed under the Open Software License version 3.0
9 % http://www.opensource.org/licenses/osl-3.0.php
10 %
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12
13 % Please do not use .ps only packages.
14 % As a minimum this document should build under pdflatex
15
16 \usepackage{color}
17 \usepackage{xspace}
18
19 %Ensures that latex doesn't have an error if we don't specify the version
20 \providecommand{\RepVersion}{Unknown\xspace}
21 % to set this value use:
22 % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'
23 % as your command-line
24
25
26
27 % block to include
28
29 \usepackage{subfigure}
30 \usepackage{epsfig}
31 \usepackage{makeidx} % handle the index properly
32 \usepackage{xspace} % handle spaces after commands more nicely
33 % use the ams math stuff, as it makes the maths easier to code, and
34 % nicer output than the standard LaTeX stuff
35 \usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physicists
36 % see http://www.ams.org/tex/amslatex.html
37 \usepackage{alltt} % handy verbatim stuff
38
39 %End block to include
40
41
42 \newcommand{\escript}{\module{esys.escript}\xspace}
43 \newcommand{\finley}{\module{esys.finley}\xspace}
44 \newcommand{\esys}{\module{esys}\xspace}
45
46 \newcommand{\esfinley}{Escript/Finley\xspace}
47 \newcommand{\linux}{Linux\xspace}
48 \newcommand{\macosx}{MacOSX\xspace}
49 \newcommand{\winxp}{Windows~XP\xspace}
50 \newcommand{\openmp}{OpenMP\xspace}
51
52 \newcommand{\Sec}[1] {Section~\ref{#1}}
53 \newcommand*{\filename}[1]{\texttt{#1}\xspace}
54
55 % defines the colour for the background of code examples
56 \definecolor{LightGrey}{gray}{0.9}
57 % add the listings package to pretty print the code output
58 \usepackage{listings}
59
60 \lstdefinestyle{myShell}{%
61 %\lstset{%
62 language=ksh,
63 showstringspaces=false,
64 basicstyle=\small\ttfamily,
65 commentstyle=\color{black}\ttfamily,
66 keywordstyle=\color{black}\ttfamily,
67 %identifierstyle=\color[named]{Blue}\ttfamily,
68 %functionstyle=\color[named]{Blue}\ttfamily,
69 %typestyle=\color[named]{ForestGreen}\ttfamily,
70 stringstyle=\color{black}\ttfamily,%
71 frame=none,%
72 backgroundcolor=\color{LightGrey}%
73 }
74
75 % this implements nicely formatted shell code
76 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}

  ViewVC Help
Powered by ViewVC 1.1.26