Changeset 8729


Ignore:
Timestamp:
Mar 5, 2013, 4:18:00 PM (12 years ago)
Author:
steve
Message:

adding in hte pdfs of the manuals

Location:
trunk/anuga_core/user_manual
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/user_manual/anuga_user_manual.tex

    r8728 r8729  
    8484
    8585\begin{document}
     86
    8687\maketitle
    8788
     
    14421443\begin{figure}[htp]
    14431444  \begin{center}
    1444     \includegraphics[width=90mm, height=90mm]{triangularmesh.jpg}
     1445    \includegraphics[width=90mm, height=90mm]{graphics/triangularmesh.jpg}
    14451446  \end{center}
    14461447  \caption{A simple mesh}
     
    49644965
    49654966The Frequently Asked Questions have been move to the online FAQ at: \\
    4966 \url{https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions}
     4967\url{https://anuga.anu.edu.au/wiki/FrequentlyAskedQuestions}
    49674968
    49684969%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  • trunk/anuga_core/user_manual/pypaper.sty

    r8728 r8729  
    33%  are the latex defaults.
    44%
    5 \newcommand{\py@paper}{letterpaper}
     5\newcommand{\py@paper}{a4paper}
    66\newcommand{\py@ptsize}{10pt}
    77
  • trunk/anuga_core/user_manual/python.sty

    r8728 r8729  
    3333\py@doing@page@targetsfalse
    3434
    35 \newif\ifpdf\pdffalse
     35\newif\iflpdf\lpdffalse
     36
     37
    3638\ifx\pdfoutput\undefined\else\ifcase\pdfoutput
    3739\else
    38   \pdftrue
     40  \lpdftrue
    3941  \input{pdfcolor}
    4042  \let\py@LinkColor=\NavyBlue
     
    310312% Refer to a module's documentation using a hyperlink of the module's
    311313% name, at least if we're building PDF:
    312 \ifpdf
     314\iflpdf
    313315  \newcommand{\refmodule}[2][\py@modulebadkey]{%
    314316    \ifx\py@modulebadkey#1\def\py@modulekey{#2}\else\def\py@modulekey{#1}\fi%
     
    491493}
    492494
    493 \ifpdf
     495\iflpdf
    494496  \newcommand{\py@ModSynopsisSummary}[4]{%
    495497    \py@linkToName{label-module-#1}{\bfcode{#2}} & #4\\
     
    851853% Use this def/redef approach for \url{} since hyperref defined this already,
    852854% but only if we actually used hyperref:
    853 \ifpdf
     855\iflpdf
    854856  \newcommand{\url}[1]{{%
    855857    \py@pdfstartlink attr{/Border [0 0 0]} user{/S /URI /URI (#1)}%
     
    927929
    928930% \ulink{link text}{URL}
    929 \ifpdf
     931\iflpdf
    930932  \newcommand{\ulink}[2]{{%
    931933    % For PDF, we *should* only generate a link when the URL is absolute.
     
    942944% cited titles:  \citetitle{Title of Work}
    943945%       online:  \citetitle[url-to-resource]{Title of Work}
    944 \ifpdf
     946\iflpdf
    945947  \newcommand{\citetitle}[2][\py@modulebadkey]{%
    946948    \ifx\py@modulebadkey#1\emph{#2}\else\ulink{\emph{#2}}{#1}\fi%
     
    11651167% sentences and be terminated with the proper punctuation.
    11661168
    1167 \ifpdf
     1169\iflpdf
    11681170  \newcommand{\py@seemodule}[3][\py@modulebadkey]{%
    11691171    \par%
  • trunk/anuga_core/user_manual/update_anuga_user_manual.py

    r8728 r8729  
    4141from os.path import expanduser, split, join
    4242from anuga.utilities.system_tools import get_revision_number, get_pathname_from_package
    43 from anuga.config import anuga_version
     43from anuga.config import major_revision
    4444from sys import argv
    4545
     
    6464
    6565
    66 do_html = True        
     66do_html = False       
    6767if len(argv) > 1:
    6868    if argv[1] == '--no_html':
     
    7777for line in fid.readlines():
    7878    if line.startswith('\\release'):
    79         line = '\\release{%s}\n' %(anuga_version)
     79        line = '\\release{%s}\n' %(major_revision)
    8080           
    8181    lines.append(line)
     
    115115
    116116
     117print 'Cleanup aux tex files'
     118system('rm *.aux *.bbl *.blg *.idx *.ilg *.ind *.log *.out *.toc *.syn ')
     119
     120
    117121# Print
    118122print 'User manual compiled'
    119123
    120 print 'Anuga version:', anuga_version
     124print 'Anuga version:', major_revision
    121125print 'Build:', get_revision_number()
    122126system('date')
  • trunk/anuga_core/user_manual/version.tex

    r8728 r8729  
    77% release version; this is used to define the
    88% \version macro
    9 \release{1.2.1}
     9\release{1.3.0-beta}
Note: See TracChangeset for help on using the changeset viewer.