/[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 2294 - (show annotations)
Mon Mar 2 03:44:27 2009 UTC (10 years, 6 months ago) by jfenwick
File MIME type: application/x-tex
File size: 2135 byte(s)
Added instructions on how to install debian package to the install guide.
Wrapper script generation now produces two scripts (escript and finleypython).
The two are identical - eventually we will remove finleypython.

Modified the wrapper script so it will print a message and start the python interpreter if you don't specify a script.
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 \usepackage{listings} % add the listings package to pretty print the code output
26
27
28 % Try to make this the last \usepackage
29 \usepackage[colorlinks=true, pdftitle={Escript/Finley install guide}, pdfauthor={Escript development team}
30 ,pdfpagelayout=TwoColumnRight]{hyperref}
31
32 \newcommand{\escript}{\module{esys.escript}\xspace}
33 \newcommand{\finley}{\module{esys.finley}\xspace}
34 \newcommand{\esys}{\module{esys}\xspace}
35
36 \newcommand{\esfinley}{Escript/Finley\xspace}
37 \newcommand{\linux}{Linux\xspace}
38 \newcommand{\macosx}{MacOSX\xspace}
39 \newcommand{\winxp}{Windows~XP\xspace}
40 \newcommand{\openmp}{OpenMP\xspace}
41 \newcommand{\mpi}{MPI\xspace}
42
43 \newcommand{\Sec}[1] {Section~\ref{#1}}
44 \newcommand*{\filename}[1]{\texttt{#1}\xspace}
45
46 % defines the colour for the background of code examples
47 \definecolor{LightGrey}{gray}{0.9}
48
49
50 \lstdefinestyle{myShell}{%
51 %\lstset{%
52 language=ksh,
53 showstringspaces=false,
54 basicstyle=\small\ttfamily,
55 commentstyle=\color{black}\ttfamily,
56 keywordstyle=\color{black}\ttfamily,
57 %identifierstyle=\color[named]{Blue}\ttfamily,
58 %functionstyle=\color[named]{Blue}\ttfamily,
59 %typestyle=\color[named]{ForestGreen}\ttfamily,
60 stringstyle=\color{black}\ttfamily,%
61 frame=none,%
62 backgroundcolor=\color{LightGrey}%
63 }
64
65 % this implements nicely formatted shell code
66 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
67

  ViewVC Help
Powered by ViewVC 1.1.26