/[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 2290 by jfenwick, Thu Feb 26 06:38:16 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{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 install guide}, pdfauthor={Escript development team}
30    ,pdfpagelayout=TwoColumnRight]{hyperref}
31    
32  \newcommand{\escript}{\module{esys.escript}\xspace}  \newcommand{\escript}{\module{esys.escript}\xspace}
33  \newcommand{\finley}{\module{esys.finley}\xspace}  \newcommand{\finley}{\module{esys.finley}\xspace}
 % \newcommand{\esys}{\module{esys}\xspace}  
34  \newcommand{\esys}{\module{esys}\xspace}  \newcommand{\esys}{\module{esys}\xspace}
35    
36    \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    
42    \newcommand{\Sec}[1] {Section~\ref{#1}}
43    \newcommand*{\filename}[1]{\texttt{#1}\xspace}
44    
45    % defines the colour for the background of code examples
46    \definecolor{LightGrey}{gray}{0.9}
47    
48    
49    \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  %Ensures that latex doesn't have an error if we don't specify the version  % this implements nicely formatted shell code
65  \providecommand{\RepVersion}{Unknown\xspace}  \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
 % to set this value use:  
 % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'  
 % as your command-line  
66    

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

  ViewVC Help
Powered by ViewVC 1.1.26