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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2334 - (hide annotations)
Thu Mar 26 03:05:33 2009 UTC (10 years, 5 months ago) by jfenwick
File MIME type: application/x-tex
File size: 2332 byte(s)
Getting install guide to build.

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

  ViewVC Help
Powered by ViewVC 1.1.26