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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2287 by jfenwick, Tue Feb 24 04:29:17 2009 UTC revision 2536 by caltinay, Thu Jul 16 23:53:07 2009 UTC
# Line 13  Line 13 
13  % Please do not use .ps only packages.  % Please do not use .ps only packages.
14  % As a minimum this document should build under pdflatex  % As a minimum this document should build under pdflatex
15    
16    \usepackage{color}
17  \usepackage{xspace}  \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[colorlinks=true, pdftitle={Escript/Finley install guide}, pdfauthor={Escript development team}
26    %,pdfpagelayout=TwoColumnRight]{hyperref}
27    \usepackage{listings}        % add the listings package to pretty print the code output
28    
29    
30    % Try to make this the last \usepackage
31    %\usepackage[colorlinks=true, pdftitle={Escript/Finley install guide}, pdfauthor={Escript development team}
32    %,pdfpagelayout=TwoColumnRight]{hyperref}
33    
34  \newcommand{\escript}{\module{esys.escript}\xspace}  \newcommand{\escript}{\module{esys.escript}\xspace}
35  \newcommand{\finley}{\module{esys.finley}\xspace}  \newcommand{\finley}{\module{esys.finley}\xspace}
 % \newcommand{\esys}{\module{esys}\xspace}  
36  \newcommand{\esys}{\module{esys}\xspace}  \newcommand{\esys}{\module{esys}\xspace}
37    
38    \newcommand{\esfinley}{Escript/Finley\xspace}
39    \newcommand{\linux}{Linux\xspace}
40    \newcommand{\macosx}{MacOS~X\xspace}
41    \newcommand{\winxp}{Windows~XP\xspace}
42    \newcommand{\openmp}{OpenMP\xspace}
43    \newcommand{\mpi}{MPI\xspace}
44    
45    \newcommand{\Sec}[1] {Section~\ref{#1}}
46    \newcommand*{\filename}[1]{\texttt{#1}\xspace}
47    
48    % defines the colour for the background of code examples
49    \definecolor{LightGrey}{gray}{0.9}
50    
51    
52    \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  %Ensures that latex doesn't have an error if we don't specify the version  % this implements nicely formatted shell code
68  \providecommand{\RepVersion}{Unknown\xspace}  \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
69  % to set this value use:  
70  % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'  \newcommand{\todo}[1]{\emph{TODO:}{\em #1}}
 % as your command-line  
71    

Legend:
Removed from v.2287  
changed lines
  Added in v.2536

  ViewVC Help
Powered by ViewVC 1.1.26