/[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 2290 - (hide annotations)
Thu Feb 26 06:38:16 2009 UTC (11 years, 6 months ago) by jfenwick
File MIME type: application/x-tex
File size: 2105 byte(s)
Some minor changes to doco before I mess about with packaging.
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 2290 \usepackage{listings} % add the listings package to pretty print the code output
26 jfenwick 2289
27    
28 jfenwick 2290 % 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 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     \newcommand{\macosx}{MacOSX\xspace}
39     \newcommand{\winxp}{Windows~XP\xspace}
40     \newcommand{\openmp}{OpenMP\xspace}
41 jfenwick 2287
42 jfenwick 2289 \newcommand{\Sec}[1] {Section~\ref{#1}}
43     \newcommand*{\filename}[1]{\texttt{#1}\xspace}
44 jfenwick 2287
45 jfenwick 2289 % defines the colour for the background of code examples
46     \definecolor{LightGrey}{gray}{0.9}
47    
48 jfenwick 2290
49 jfenwick 2289 \lstdefinestyle{myShell}{%
50     %\lstset{%
51     language=ksh,
52     showstringspaces=false,
53     basicstyle=\small\ttfamily,
54     commentstyle=\color{black}\ttfamily,
55     keywordstyle=\color{black}\ttfamily,
56     %identifierstyle=\color[named]{Blue}\ttfamily,
57     %functionstyle=\color[named]{Blue}\ttfamily,
58     %typestyle=\color[named]{ForestGreen}\ttfamily,
59     stringstyle=\color{black}\ttfamily,%
60     frame=none,%
61     backgroundcolor=\color{LightGrey}%
62     }
63    
64     % this implements nicely formatted shell code
65 jfenwick 2290 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
66    

  ViewVC Help
Powered by ViewVC 1.1.26