/[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 2288 by jfenwick, Tue Feb 24 04:29:17 2009 UTC revision 2289 by jfenwick, Wed Feb 25 03:38:59 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    
   
 \newcommand{\escript}{\module{esys.escript}\xspace}  
 \newcommand{\finley}{\module{esys.finley}\xspace}  
 % \newcommand{\esys}{\module{esys}\xspace}  
 \newcommand{\esys}{\module{esys}\xspace}  
   
   
19  %Ensures that latex doesn't have an error if we don't specify the version  %Ensures that latex doesn't have an error if we don't specify the version
20  \providecommand{\RepVersion}{Unknown\xspace}  \providecommand{\RepVersion}{Unknown\xspace}
21  % to set this value use:  % to set this value use:
22  % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'  % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'
23  % as your command-line  % as your command-line
24    
25    
26    
27    % block to include
28    
29    \usepackage{subfigure}
30    \usepackage{epsfig}
31    \usepackage{makeidx}  % handle the index properly
32    \usepackage{xspace}   % handle spaces after commands more nicely
33    % use the ams math stuff, as it makes the maths easier to code, and
34    % nicer output than the standard LaTeX stuff
35    \usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physicists
36                              % see http://www.ams.org/tex/amslatex.html
37    \usepackage{alltt}   % handy verbatim stuff
38    
39    %End block to include
40    
41    
42    \newcommand{\escript}{\module{esys.escript}\xspace}
43    \newcommand{\finley}{\module{esys.finley}\xspace}
44    \newcommand{\esys}{\module{esys}\xspace}
45    
46    \newcommand{\esfinley}{Escript/Finley\xspace}
47    \newcommand{\linux}{Linux\xspace}
48    \newcommand{\macosx}{MacOSX\xspace}
49    \newcommand{\winxp}{Windows~XP\xspace}
50    \newcommand{\openmp}{OpenMP\xspace}
51    
52    \newcommand{\Sec}[1] {Section~\ref{#1}}
53    \newcommand*{\filename}[1]{\texttt{#1}\xspace}
54    
55    % defines the colour for the background of code examples
56    \definecolor{LightGrey}{gray}{0.9}
57    % add the listings package to pretty print the code output
58    \usepackage{listings}
59    
60    \lstdefinestyle{myShell}{%
61    %\lstset{%
62    language=ksh,
63    showstringspaces=false,
64    basicstyle=\small\ttfamily,
65    commentstyle=\color{black}\ttfamily,
66    keywordstyle=\color{black}\ttfamily,
67    %identifierstyle=\color[named]{Blue}\ttfamily,
68    %functionstyle=\color[named]{Blue}\ttfamily,
69    %typestyle=\color[named]{ForestGreen}\ttfamily,
70    stringstyle=\color{black}\ttfamily,%
71    frame=none,%
72    backgroundcolor=\color{LightGrey}%
73    }
74    
75    % this implements nicely formatted shell code
76    \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}

Legend:
Removed from v.2288  
changed lines
  Added in v.2289

  ViewVC Help
Powered by ViewVC 1.1.26