/[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 2538 - (show annotations)
Fri Jul 17 06:24:15 2009 UTC (10 years, 2 months ago) by caltinay
File MIME type: application/x-tex
File size: 2282 byte(s)
Install guide: Reworked introduction and enabled hyperref package

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 Installation Guide}, pdfauthor={Escript development team}, pdfdisplaydoctitle=true]{hyperref}
30 %pdfpagelayout=TwoColumnRight
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}{MacOS~X\xspace}
39 \newcommand{\winxp}{Windows~XP\xspace}
40 \newcommand{\openmp}{OpenMP\xspace}
41 \newcommand{\mpi}{MPI\xspace}
42
43 \newcommand{\Sec}[1] {\hyperref[#1]{Section~\ref{#1}}}
44 \newcommand{\Chap}[1] {\hyperref[#1]{Chapter~\ref{#1}}}
45 \newcommand*{\filename}[1]{\texttt{#1}\xspace}
46
47 % defines the colour for the background of code examples
48 \definecolor{LightGrey}{gray}{0.9}
49
50
51 \lstdefinestyle{myShell}{%
52 %\lstset{%
53 language=ksh,
54 showstringspaces=false,
55 basicstyle=\small\ttfamily,
56 commentstyle=\color{black}\ttfamily,
57 keywordstyle=\color{black}\ttfamily,
58 %identifierstyle=\color[named]{Blue}\ttfamily,
59 %functionstyle=\color[named]{Blue}\ttfamily,
60 %typestyle=\color[named]{ForestGreen}\ttfamily,
61 stringstyle=\color{black}\ttfamily,%
62 frame=none,%
63 backgroundcolor=\color{LightGrey}%
64 }
65
66 % this implements nicely formatted shell code
67 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
68
69 \newcommand{\todo}[1]{\emph{TODO:}{\em #1}}
70

  ViewVC Help
Powered by ViewVC 1.1.26