/[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 2548 - (hide annotations)
Mon Jul 20 06:20:06 2009 UTC (10 years, 2 months ago) by jfenwick
File MIME type: application/x-tex
File size: 2394 byte(s)
Updating copyright notices
1 jfenwick 2287 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2     %
3 jfenwick 2548 % Copyright (c) 2003-2009 by University of Queensland
4 jfenwick 2287 % 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 2290 \usepackage{listings} % add the listings package to pretty print the code output
26 jfenwick 2289
27    
28 caltinay 2543 % hyperref is incompatible with python.sty which defines \ispdf and \url
29     %\usepackage[colorlinks=true, pdftitle={Escript/Finley Installation Guide}, pdfauthor={Escript development team}, pdfdisplaydoctitle=true]{hyperref}
30 caltinay 2538 %pdfpagelayout=TwoColumnRight
31 jfenwick 2289
32 jfenwick 2287 \newcommand{\escript}{\module{esys.escript}\xspace}
33     \newcommand{\finley}{\module{esys.finley}\xspace}
34     \newcommand{\esys}{\module{esys}\xspace}
35    
36 jfenwick 2289 \newcommand{\esfinley}{Escript/Finley\xspace}
37     \newcommand{\linux}{Linux\xspace}
38 caltinay 2536 \newcommand{\macosx}{MacOS~X\xspace}
39 jfenwick 2289 \newcommand{\winxp}{Windows~XP\xspace}
40     \newcommand{\openmp}{OpenMP\xspace}
41 jfenwick 2294 \newcommand{\mpi}{MPI\xspace}
42 jfenwick 2287
43 caltinay 2543 % hyref is defined in python.sty as an alternative to hyperref which we can't
44     % use
45     \newcommand{\Sec}[1] {\hyref{#1}{Section~\ref{#1}}}
46     \newcommand{\Chap}[1] {\hyref{#1}{Chapter~\ref{#1}}}
47 jfenwick 2289 \newcommand*{\filename}[1]{\texttt{#1}\xspace}
48 jfenwick 2287
49 jfenwick 2289 % defines the colour for the background of code examples
50     \definecolor{LightGrey}{gray}{0.9}
51    
52 jfenwick 2290
53 jfenwick 2289 \lstdefinestyle{myShell}{%
54     %\lstset{%
55     language=ksh,
56     showstringspaces=false,
57     basicstyle=\small\ttfamily,
58     commentstyle=\color{black}\ttfamily,
59     keywordstyle=\color{black}\ttfamily,
60     %identifierstyle=\color[named]{Blue}\ttfamily,
61     %functionstyle=\color[named]{Blue}\ttfamily,
62     %typestyle=\color[named]{ForestGreen}\ttfamily,
63     stringstyle=\color{black}\ttfamily,%
64     frame=none,%
65     backgroundcolor=\color{LightGrey}%
66     }
67    
68     % this implements nicely formatted shell code
69 jfenwick 2290 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
70    
71 jfenwick 2333 \newcommand{\todo}[1]{\emph{TODO:}{\em #1}}
72    

  ViewVC Help
Powered by ViewVC 1.1.26