Changeset 8729 for trunk/anuga_core
- Timestamp:
- Mar 5, 2013, 4:18:00 PM (12 years ago)
- 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 84 84 85 85 \begin{document} 86 86 87 \maketitle 87 88 … … 1442 1443 \begin{figure}[htp] 1443 1444 \begin{center} 1444 \includegraphics[width=90mm, height=90mm]{ triangularmesh.jpg}1445 \includegraphics[width=90mm, height=90mm]{graphics/triangularmesh.jpg} 1445 1446 \end{center} 1446 1447 \caption{A simple mesh} … … 4964 4965 4965 4966 The 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} 4967 4968 4968 4969 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -
trunk/anuga_core/user_manual/pypaper.sty
r8728 r8729 3 3 % are the latex defaults. 4 4 % 5 \newcommand{\py@paper}{ letterpaper}5 \newcommand{\py@paper}{a4paper} 6 6 \newcommand{\py@ptsize}{10pt} 7 7 -
trunk/anuga_core/user_manual/python.sty
r8728 r8729 33 33 \py@doing@page@targetsfalse 34 34 35 \newif\ifpdf\pdffalse 35 \newif\iflpdf\lpdffalse 36 37 36 38 \ifx\pdfoutput\undefined\else\ifcase\pdfoutput 37 39 \else 38 \ pdftrue40 \lpdftrue 39 41 \input{pdfcolor} 40 42 \let\py@LinkColor=\NavyBlue … … 310 312 % Refer to a module's documentation using a hyperlink of the module's 311 313 % name, at least if we're building PDF: 312 \if pdf314 \iflpdf 313 315 \newcommand{\refmodule}[2][\py@modulebadkey]{% 314 316 \ifx\py@modulebadkey#1\def\py@modulekey{#2}\else\def\py@modulekey{#1}\fi% … … 491 493 } 492 494 493 \if pdf495 \iflpdf 494 496 \newcommand{\py@ModSynopsisSummary}[4]{% 495 497 \py@linkToName{label-module-#1}{\bfcode{#2}} & #4\\ … … 851 853 % Use this def/redef approach for \url{} since hyperref defined this already, 852 854 % but only if we actually used hyperref: 853 \if pdf855 \iflpdf 854 856 \newcommand{\url}[1]{{% 855 857 \py@pdfstartlink attr{/Border [0 0 0]} user{/S /URI /URI (#1)}% … … 927 929 928 930 % \ulink{link text}{URL} 929 \if pdf931 \iflpdf 930 932 \newcommand{\ulink}[2]{{% 931 933 % For PDF, we *should* only generate a link when the URL is absolute. … … 942 944 % cited titles: \citetitle{Title of Work} 943 945 % online: \citetitle[url-to-resource]{Title of Work} 944 \if pdf946 \iflpdf 945 947 \newcommand{\citetitle}[2][\py@modulebadkey]{% 946 948 \ifx\py@modulebadkey#1\emph{#2}\else\ulink{\emph{#2}}{#1}\fi% … … 1165 1167 % sentences and be terminated with the proper punctuation. 1166 1168 1167 \if pdf1169 \iflpdf 1168 1170 \newcommand{\py@seemodule}[3][\py@modulebadkey]{% 1169 1171 \par% -
trunk/anuga_core/user_manual/update_anuga_user_manual.py
r8728 r8729 41 41 from os.path import expanduser, split, join 42 42 from anuga.utilities.system_tools import get_revision_number, get_pathname_from_package 43 from anuga.config import anuga_version43 from anuga.config import major_revision 44 44 from sys import argv 45 45 … … 64 64 65 65 66 do_html = True66 do_html = False 67 67 if len(argv) > 1: 68 68 if argv[1] == '--no_html': … … 77 77 for line in fid.readlines(): 78 78 if line.startswith('\\release'): 79 line = '\\release{%s}\n' %( anuga_version)79 line = '\\release{%s}\n' %(major_revision) 80 80 81 81 lines.append(line) … … 115 115 116 116 117 print 'Cleanup aux tex files' 118 system('rm *.aux *.bbl *.blg *.idx *.ilg *.ind *.log *.out *.toc *.syn ') 119 120 117 121 # Print 118 122 print 'User manual compiled' 119 123 120 print 'Anuga version:', anuga_version124 print 'Anuga version:', major_revision 121 125 print 'Build:', get_revision_number() 122 126 system('date') -
trunk/anuga_core/user_manual/version.tex
r8728 r8729 7 7 % release version; this is used to define the 8 8 % \version macro 9 \release{1. 2.1}9 \release{1.3.0-beta}
Note: See TracChangeset
for help on using the changeset viewer.