- Timestamp:
- 10/22/2008 10:59:53 PM (3 months ago)
- Location:
- trunk
- Files:
-
- 2 removed
- 9 modified
- 1 copied
-
FiPy.egg-info/SOURCES.txt (modified) (3 diffs)
-
documentation/manual/docutils-emulation.sty (copied) (copied from branches/epydoc-3/documentation/manual/docutils-emulation.sty)
-
documentation/manual/epydoc.sty (modified) (10 diffs)
-
documentation/manual/fipy.sty (modified) (2 diffs)
-
documentation/manual/fipy.tex (modified) (11 diffs)
-
documentation/manual/howtoread.tex (modified) (2 diffs)
-
documentation/manual/reference.tex (modified) (4 diffs)
-
examples/diffusion/circle.py (modified) (2 diffs)
-
fipy/meshes/adaptiveMesh.py (deleted)
-
fipy/variables/operatorVariable.py (modified) (2 diffs)
-
setup.py (modified) (9 diffs)
-
utils/epydoc (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/FiPy.egg-info/SOURCES.txt
r2762 r2763 24 24 documentation/figures/NIST_right2line.pdf 25 25 documentation/logo/logo.tex 26 documentation/manual/docutils-emulation.sty 26 27 documentation/manual/epydoc.sty 27 28 documentation/manual/faq.tex … … 277 278 fipy/boundaryConditions/test.py 278 279 fipy/meshes/__init__.py 279 fipy/meshes/adaptiveMesh.py280 280 fipy/meshes/cylindricalGrid1D.py 281 281 fipy/meshes/cylindricalGrid2D.py … … 501 501 utils/includedHTMLWriter.py 502 502 utils/includedLaTeXWriter.py 503 utils/epydoc/__init__.py 504 utils/epydoc/checker.py 505 utils/epydoc/cli.py 506 utils/epydoc/colorize.py 507 utils/epydoc/css.py 508 utils/epydoc/driver.py 509 utils/epydoc/foog.py 510 utils/epydoc/gui.py 511 utils/epydoc/help.py 512 utils/epydoc/html.py 513 utils/epydoc/imports.py 514 utils/epydoc/latex.py 515 utils/epydoc/man.py 516 utils/epydoc/objdoc.py 517 utils/epydoc/uid.py 518 utils/epydoc/markup/.cvsignore 519 utils/epydoc/markup/__init__.py 520 utils/epydoc/markup/epytext.py 521 utils/epydoc/markup/javadoc.py 522 utils/epydoc/markup/plaintext.py 523 utils/epydoc/markup/restructuredtext.py 524 utils/epydoc/test/.cvsignore 525 utils/epydoc/test/__init__.py 526 utils/epydoc/test/epytext.py 503 utils/epydoc/Makefile 504 utils/epydoc/doc/.cvsignore 505 utils/epydoc/doc/configfile.html 506 utils/epydoc/doc/custom.css 507 utils/epydoc/doc/docstrings.html 508 utils/epydoc/doc/docutils.css 509 utils/epydoc/doc/epydoc-slides.pdf 510 utils/epydoc/doc/epydoc-slides.ppt 511 utils/epydoc/doc/epydoc.css 512 utils/epydoc/doc/epydoc_gui.png 513 utils/epydoc/doc/epydoc_guiconfig.png 514 utils/epydoc/doc/epytext.html 515 utils/epydoc/doc/epytext_example.py 516 utils/epydoc/doc/epytextintro.html 517 utils/epydoc/doc/faq.html 518 utils/epydoc/doc/fields.html 519 utils/epydoc/doc/future.html 520 utils/epydoc/doc/history.html 521 utils/epydoc/doc/home.thumbnail.png 522 utils/epydoc/doc/index.html 523 utils/epydoc/doc/index.thumbnail.png 524 utils/epydoc/doc/inh_example.py 525 utils/epydoc/doc/installing.html 526 utils/epydoc/doc/license.html 527 utils/epydoc/doc/manual-docstring.txt 528 utils/epydoc/doc/manual-epytext.txt 529 utils/epydoc/doc/manual-fields.txt 530 utils/epydoc/doc/manual-install.txt 531 utils/epydoc/doc/manual-othermarkup.txt 532 utils/epydoc/doc/manual-reference.txt 533 utils/epydoc/doc/manual-usage.txt 534 utils/epydoc/doc/manual.txt 535 utils/epydoc/doc/othermarkup.html 536 utils/epydoc/doc/pycon-epydoc.html 537 utils/epydoc/doc/pycon-epydoc.pdf 538 utils/epydoc/doc/pycon-epydoc.ps 539 utils/epydoc/doc/pysrc.thumbnail.png 540 utils/epydoc/doc/relatedprojects.html 541 utils/epydoc/doc/rst-template.txt 542 utils/epydoc/doc/rst-template2.txt 543 utils/epydoc/doc/sflogo.png 544 utils/epydoc/doc/stylesheet.html 545 utils/epydoc/doc/uml.thumbnail.png 546 utils/epydoc/doc/using.html 547 utils/epydoc/doc/whatsnew.html 548 utils/epydoc/doc/doctest/index.html 549 utils/epydoc/man/epydoc.1 550 utils/epydoc/man/epydocgui.1 551 utils/epydoc/src/LICENSE.txt 552 utils/epydoc/src/MANIFEST.in 553 utils/epydoc/src/Makefile 554 utils/epydoc/src/README.txt 555 utils/epydoc/src/setup.py 556 utils/epydoc/src/epydoc/__init__.py 557 utils/epydoc/src/epydoc/apidoc.py 558 utils/epydoc/src/epydoc/checker.py 559 utils/epydoc/src/epydoc/cli.py 560 utils/epydoc/src/epydoc/compat.py 561 utils/epydoc/src/epydoc/docbuilder.py 562 utils/epydoc/src/epydoc/docintrospecter.py 563 utils/epydoc/src/epydoc/docparser.py 564 utils/epydoc/src/epydoc/docstringparser.py 565 utils/epydoc/src/epydoc/gui.py 566 utils/epydoc/src/epydoc/log.py 567 utils/epydoc/src/epydoc/util.py 568 utils/epydoc/src/epydoc/docwriter/__init__.py 569 utils/epydoc/src/epydoc/docwriter/dotgraph.py 570 utils/epydoc/src/epydoc/docwriter/html.py 571 utils/epydoc/src/epydoc/docwriter/html_colorize.py 572 utils/epydoc/src/epydoc/docwriter/html_css.py 573 utils/epydoc/src/epydoc/docwriter/html_help.py 574 utils/epydoc/src/epydoc/docwriter/latex.py 575 utils/epydoc/src/epydoc/docwriter/plaintext.py 576 utils/epydoc/src/epydoc/docwriter/xlink.py 577 utils/epydoc/src/epydoc/docwriter/latexstyles/epydoc-default.sty 578 utils/epydoc/src/epydoc/markup/__init__.py 579 utils/epydoc/src/epydoc/markup/doctest.py 580 utils/epydoc/src/epydoc/markup/epytext.py 581 utils/epydoc/src/epydoc/markup/javadoc.py 582 utils/epydoc/src/epydoc/markup/plaintext.py 583 utils/epydoc/src/epydoc/markup/pyval_repr.py 584 utils/epydoc/src/epydoc/markup/restructuredtext.py 585 utils/epydoc/src/epydoc/test/__init__.py 586 utils/epydoc/src/epydoc/test/apidoc.doctest 587 utils/epydoc/src/epydoc/test/docbuilder.doctest 588 utils/epydoc/src/epydoc/test/docintrospecter.doctest 589 utils/epydoc/src/epydoc/test/docparser.doctest 590 utils/epydoc/src/epydoc/test/encoding.doctest 591 utils/epydoc/src/epydoc/test/epytext.doctest 592 utils/epydoc/src/epydoc/test/javadoc.doctest 593 utils/epydoc/src/epydoc/test/plaintext.doctest 594 utils/epydoc/src/epydoc/test/pyval_repr.doctest 595 utils/epydoc/src/epydoc/test/restructuredtext.doctest 596 utils/epydoc/src/epydoc/test/util.py 597 utils/epydoc/src/epydoc/test/zope2.doctest 598 utils/epydoc/src/epydoc/test/zope3.doctest 599 utils/epydoc/src/scripts/.cvsignore 600 utils/epydoc/src/scripts/apirst2html.py 601 utils/epydoc/src/scripts/epydoc 602 utils/epydoc/src/scripts/epydoc.py 603 utils/epydoc/src/scripts/epydoc.pyw 604 utils/epydoc/src/scripts/epydocgui 605 utils/epydoc/src/tools/mkdispatch.py 606 utils/epydoc/src/tools/rst2html.py -
trunk/documentation/manual/epydoc.sty
r1954 r2763 15 15 16 16 % \RequirePackage{alltt, parskip, boxedminipage} 17 \RequirePackage{alltt, boxedminipage} 18 \RequirePackage{multirow, longtable, amssymb} 19 20 % \RequirePackage{fullpage} 21 \RequirePackage[headings]{fullpage} 22 23 \ifthenelse{\boolean{@dohyper}}{% 24 \RequirePackage[usenames]{color} 25 \definecolor{darkblue}{rgb}{0,0.05,0.35} 26 % \RequirePackage[dvips, pagebackref, bookmarks=true, bookmarksopen=false, pdfpagemode=UseOutlines, colorlinks=true, linkcolor=black, anchorcolor=black, citecolor=black, filecolor=black, menucolor=black, pagecolor=black, urlcolor=darkblue]{hyperref} 27 \RequirePackage[urlcolor=blue,linkcolor=blue,bookmarksopen,bookmarksopenlevel=2,pdftex,pagebackref,pdftitle={FiPy}, pdfcreator={epydoc 2.1}, bookmarks=true, bookmarksopen=false, pdfpagemode=UseOutlines,colorlinks=true,plainpages=false,pdfpagelabels]{hyperref} 28 }{} 17 % \RequirePackage{alltt, boxedminipage} 18 % \RequirePackage{multirow, longtable, amssymb} 19 \usepackage{alltt, parskip, fancyheadings, boxedminipage} 20 \usepackage{makeidx, multirow, longtable, tocbibind, amssymb} 21 22 \RequirePackage{fullpage} 23 % \RequirePackage[headings]{fullpage} 24 25 \RequirePackage[usenames]{color} 26 27 \setlength{\headheight}{16pt} 28 \setlength{\headsep}{24pt} 29 \setlength{\topmargin}{-\headsep} 30 31 % \ifthenelse{\boolean{@dohyper}}{% 32 % \RequirePackage[usenames]{color} 33 % \definecolor{darkblue}{rgb}{0,0.05,0.35} 34 % % \RequirePackage[dvips, pagebackref, bookmarks=true, bookmarksopen=false, pdfpagemode=UseOutlines, colorlinks=true, linkcolor=black, anchorcolor=black, citecolor=black, filecolor=black, menucolor=black, pagecolor=black, urlcolor=darkblue]{hyperref} 35 % \RequirePackage[urlcolor=blue,linkcolor=blue,bookmarksopen,bookmarksopenlevel=2,pdftex,pagebackref,pdftitle={FiPy}, pdfcreator={epydoc 2.1}, bookmarks=true, bookmarksopen=false, pdfpagemode=UseOutlines,colorlinks=true,plainpages=false,pdfpagelabels]{hyperref} 36 % }{} 29 37 30 38 \setlength{\parindent}{0ex} … … 33 41 34 42 35 \@ifclassloaded{memoir}{% 36 \RequirePackage[other,notbib]{tocbibind} 37 }{% 38 \RequirePackage{fancyhdr,makeidx} 39 \RequirePackage[other]{tocbibind} 40 \pagestyle{fancy} 41 } 43 % \@ifclassloaded{memoir}{% 44 % \RequirePackage[other,notbib]{tocbibind} 45 % }{% 46 % \RequirePackage{fancyhdr,makeidx} 47 % \RequirePackage[other]{tocbibind} 48 % \pagestyle{fancy} 49 % } 50 \pagestyle{fancy} 42 51 43 52 \renewcommand{\sectionmark}[1]{\markboth{#1}{}} 44 53 \renewcommand{\subsectionmark}[1]{\markright{#1}} 54 55 \definecolor{py@keywordcolour}{rgb}{1,0.45882,0} 56 \definecolor{py@stringcolour}{rgb}{0,0.666666,0} 57 \definecolor{py@commentcolour}{rgb}{1,0,0} 58 \definecolor{py@ps1colour}{rgb}{0.60784,0,0} 59 \definecolor{py@ps2colour}{rgb}{0.60784,0,1} 60 \definecolor{py@inputcolour}{rgb}{0,0,0} 61 \definecolor{py@outputcolour}{rgb}{0,0,1} 62 \definecolor{py@exceptcolour}{rgb}{1,0,0} 63 \definecolor{py@builtincolour}{rgb}{0.58039,0,0.58039} 64 \definecolor{py@identifiercolour}{rgb}{0,0,0} 65 \definecolor{py@linenumcolour}{rgb}{0.4,0.4,0.4} 66 \definecolor{py@inputcolour}{rgb}{0,0,0} 67 % Prompt 68 \newcommand{\pysrcprompt}[1]{\textcolor{py@ps1colour} 69 {\small\textbf{#1}}} 70 \newcommand{\pysrcmore}[1]{\textcolor{py@ps2colour} 71 {\small\textbf{#1}}} 72 % Source code 73 \newcommand{\pysrckeyword}[1]{\textcolor{py@keywordcolour} 74 {\small\textbf{#1}}} 75 \newcommand{\pysrcbuiltin}[1]{\textcolor{py@builtincolour} 76 {\small\textbf{#1}}} 77 \newcommand{\pysrcstring}[1]{\textcolor{py@stringcolour} 78 {\small\textbf{#1}}} 79 \newcommand{\pysrcother}[1]{\small\textbf{#1}} 80 % Comments 81 \newcommand{\pysrccomment}[1]{\textcolor{py@commentcolour} 82 {\small\textbf{#1}}} 83 % Output 84 \newcommand{\pysrcoutput}[1]{\textcolor{py@outputcolour} 85 {\small\textbf{#1}}} 86 % Exceptions 87 \newcommand{\pysrcexcept}[1]{\textcolor{py@exceptcolour} 88 {\small\textbf{#1}}} 45 89 46 90 \newenvironment{Ventry}[1]% … … 66 110 67 111 \large{#1} 112 68 113 }} 69 114 {} 70 115 71 \newenvironment{EpydocFunction}{% 72 \begin{boxedminipage}{\textwidth}} 116 \newenvironment{EpydocFunction}[2]{% 117 \newcommand{\and}{, }% 118 \newcommand{\VarArg}[1]{*\textit{##1}}% 119 \newcommand{\GenericArg}{\textit{\ldots}}% 120 \newcommand{\KWArg}[1]{**\textit{##1}}% 121 \newcommand{\ArgList}[1]{(##1)}% 122 \newcommand{\Param}[2][]{% 123 \textit{##2}% 124 \ifthenelse{\equal{##1}{}}{}{=\TX@verb|##1|}}% 125 \vspace{0.5ex} 126 \def\@EpydocFunctionLine{% 127 \vspace{-1.5ex} 128 \rule{\textwidth}{0.5\fboxrule} 129 \aftergroup\def\aftergroup\@EpydocFunctionLine\aftergroup{\aftergroup}}% 130 \begin{boxedminipage}{\textwidth} 131 \raggedright \textbf{#1}(#2)} 73 132 {\end{boxedminipage}} 74 133 75 134 \newenvironment{EpydocDocstring}{% 76 \vspace{-1.5ex} 77 78 \rule{\textwidth}{0.5\fboxrule}} 135 \@EpydocFunctionLine} 79 136 {\vspace{1ex}} 80 137 … … 91 148 92 149 \newenvironment{EpydocFunctionParameters}[1]{% 93 \textbf{Parameters} 150 \@EpydocFunctionLine 151 \textbf{Parameters}% 94 152 \begin{quote} 95 \begin{Ventry}{#1} 96 153 \begin{Ventry}{#1}} 154 {\end{Ventry} 155 \end{quote} 156 %\vspace{1ex} 97 157 } 98 {\end{Ventry}99 100 \end{quote}101 102 \vspace{1ex}103 104 }105 158 106 159 \newcommand{\EpydocFunctionReturns}[2][]{% 107 \textbf{Return Value} 160 \@EpydocFunctionLine 161 \textbf{Return Value}% 108 162 \begin{quote} 109 \ifthenelse{\equal{# 2}{}}{#1}{%163 \ifthenelse{\equal{#1}{}}{#2}{% 110 164 #2 \textit{(type=#1)}% 111 165 } 112 166 \end{quote} 113 \vspace{1ex}} 167 %\vspace{1ex} 168 } 114 169 115 170 \newenvironment{EpydocFunctionRaises}{% 116 171 \renewcommand*{\descriptionlabel}[1]{\hspace\labelsep 117 172 \normalfont\itshape ##1} 173 \@EpydocFunctionLine 118 174 \textbf{Raises} 119 175 \begin{quote} … … 122 178 {\end{description} 123 179 \end{quote} 124 \vspace{1ex}} 180 %\vspace{1ex} 181 } 125 182 126 183 \newcommand{\EpydocFunctionOverrides}[2][0]{% 184 \@EpydocFunctionLine 127 185 Overrides: #2 % 128 186 \ifthenelse{#1=1}{\textit{(inherited documentation)}{}}} … … 138 196 139 197 \newenvironment{EpydocDescriptionShortList}[1]{% 140 \ renewcommand{\and}{, }%198 \newcommand{\and}{, }% 141 199 \textbf{#1: }} 142 200 {} … … 178 236 {\end{itemize}} 179 237 238 % \newenvironment{@EpydocGeneralList}{% 239 % \newcommand{\EpydocInternalHeader}[1]{% 240 % \multicolumn{2}{|l|}{\textbf{##1}} \\ 241 % \cline{1-2}}% 242 % \newcommand{\EpydocInheritanceItemLine}[2]{% 243 % \multicolumn{2}{|p{\textwidth}|}{% 244 % \textbf{Inherited from {##1}: ##2}}} 245 % \begin{longtable}{|p{.30\textwidth}|p{.62\textwidth}|l} 246 % \cline{1-2} 247 % % Set up the headers & footer (this makes the table span 248 % % multiple pages in a happy way). 249 % \cline{1-2} \centering \textbf{Name} & \centering \textbf{Description}& \\ 250 % \cline{1-2} 251 % \endhead\cline{1-2}\multicolumn{3}{r}{\small\textit{continued on next page}}\\\endfoot\cline{1-2} 252 % \endlastfoot} 253 % {\end{longtable}} 254 180 255 \newenvironment{@EpydocGeneralList}{% 181 256 \newcommand{\EpydocInternalHeader}[1]{% 182 \multicolumn{2}{|l|}{\textbf{##1} \\183 \cline{1-2}}}%257 \multicolumn{2}{|l|}{\textbf{##1}} \\ 258 \hline}% 184 259 \newcommand{\EpydocInheritanceItemLine}[2]{% 185 260 \multicolumn{2}{|p{\textwidth}|}{% 186 261 \textbf{Inherited from {##1}: ##2}}} 187 \begin{longtable}{|p{.30\textwidth}|p{.62\textwidth}|l} 188 \cline{1-2} 262 \begin{longtable}{|p{.30\textwidth}|p{.62\textwidth}|} 189 263 % Set up the headers & footer (this makes the table span 190 264 % multiple pages in a happy way). 191 \cline{1-2} \centering \textbf{Name} & \centering \textbf{Description}& \\ 192 \cline{1-2} 193 \endhead\cline{1-2}\multicolumn{3}{r}{\small\textit{continued on next page}}\\\endfoot\cline{1-2} 265 \hline 266 \centering \textbf{Name} & \centering \textbf{Description} 267 \tabularnewline 268 \hline 269 \endhead\hline\multicolumn{2}{r}{\small\textit{continued on next page}}\\\endfoot\hline 194 270 \endlastfoot} 195 271 {\end{longtable}} 196 197 \newenvironment{EpydocVariableList}{% 272 273 % \newenvironment{EpydocVariablesList}{% 274 % \newenvironment{EpydocLongValue}{% 275 % \begin{alltt}} 276 % {\end{alltt}}% 277 % \newcommand{\EpydocShortValue}[1]{\texttt{##1}} 278 % \newcommand{\EpydocVariable}[4]{% 279 % \raggedright ##1 & \raggedright ##2 280 % \ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{}{ 281 % \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 282 % \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}} 283 % & \\ 284 % \cline{1-2}} 285 % \begin{@EpydocGeneralList}} 286 % {\end{@EpydocGeneralList}} 287 288 % \newenvironment{EpydocVariablesList}{% 289 % \newenvironment{EpydocLongValue}{% 290 % \begin{alltt}} 291 % {\end{alltt}}% 292 % \newcommand{\EpydocShortValue}[1]{\texttt{##1}} 293 % \newcommand{\EpydocVariable}[4]{% 294 % \raggedright ##1 & \raggedright ##2 295 % \ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{}{ 296 % \ifthenelse{\equal{##2}{}}{}{ 297 % 298 % } 299 % \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 300 % \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}} 301 % & \\ 302 % \cline{1-2}} 303 % \begin{@EpydocGeneralList}} 304 % {\end{@EpydocGeneralList}} 305 306 \newenvironment{EpydocVariablesList}{% 198 307 \newenvironment{EpydocLongValue}{% 199 308 \begin{alltt}} … … 201 310 \newcommand{\EpydocShortValue}[1]{\texttt{##1}} 202 311 \newcommand{\EpydocVariable}[4]{% 203 \raggedright ##1 & 204 \ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{}{\raggedright} 205 \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 206 \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}} 207 & \\ 208 \cline{1-2}} 312 \raggedright ##1 & \raggedright ##2 313 \ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{}{% 314 315 \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 316 \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}} 317 \tabularnewline 318 \hline} 209 319 \begin{@EpydocGeneralList}} 210 320 {\end{@EpydocGeneralList}} 211 321 322 % \newenvironment{EpydocVariablesList}{% 323 % \newenvironment{EpydocLongValue}{% 324 % \begin{alltt}} 325 % {\end{alltt}}% 326 % \newcommand{\EpydocShortValue}[1]{\texttt{##1}} 327 % \newcommand{\EpydocVariable}[4]{% 328 % \raggedright ##1 & 329 % \def\@EpydocVariableSep{} 330 % \def\@EpydocVariableValue{} 331 % \def\@EpydocVariableType{} 332 % \ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{}{% 333 % \ifthenelse{\equal{##2}{}}{}{\def\@EpydocVariableSep{ 334 % 335 % }}% 336 % \ifthenelse{\equal{##3}{}}{}{\def\@EpydocVariableValue{\textbf{Value:} ##3 }} 337 % \ifthenelse{\equal{##4}{}}{}{\def\@EpydocVariableType{\textit{(type=##4)}}}} 338 % \raggedright ##2 339 % \@EpydocVariableSep 340 % \@EpydocVariableValue \@EpydocVariableType} 341 % & \\ 342 % \cline{1-2}} 343 % \begin{@EpydocGeneralList}} 344 % {\end{@EpydocGeneralList}} 345 346 347 % \newenvironment{EpydocVariablesList}{% 348 % \newenvironment{EpydocLongValue}{% 349 % \begin{alltt}} 350 % {\end{alltt}}% 351 % \newcommand{\EpydocShortValue}[1]{\texttt{##1}} 352 % \newcommand{\EpydocVariable}[4]{% 353 % \raggedright ##1 & \raggedright% 354 % \ifthenelse{\equal{##2}{}}{ 355 % \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 356 % \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}} 357 % {\ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{##2}{##2 358 % 359 % \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 360 % \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}}} 361 % & \\ 362 % \cline{1-2}} 363 % \begin{@EpydocGeneralList}} 364 % {\end{@EpydocGeneralList}} 365 366 % \newenvironment{EpydocVariablesList}{% 367 % \newenvironment{EpydocLongValue}{% 368 % \begin{alltt}} 369 % {\end{alltt}}% 370 % \newcommand{\EpydocShortValue}[1]{\texttt{##1}} 371 % \newcommand{\EpydocVariable}[4]{% 372 % \raggedright ##1 & \raggedright% 373 % \ifthenelse{\equal{##2}{}}{ 374 % \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 375 % \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}} 376 % {\ifthenelse{\equal{##3}{}\AND\equal{##4}{}}{##2}{##2 377 % 378 % \ifthenelse{\equal{##3}{}}{}{\textbf{Value:} ##3 } 379 % \ifthenelse{\equal{##4}{}}{}{\textit{(type=##4)}}}} 380 % & \\ 381 % \cline{1-2}} 382 % \begin{@EpydocGeneralList}} 383 % {\end{@EpydocGeneralList}} 384 385 \newenvironment{EpydocClassVariablesList}{% 386 \begin{EpydocVariablesList}} 387 {\end{EpydocVariablesList}} 388 389 \newenvironment{EpydocInstanceVariablesList}{% 390 \begin{EpydocVariablesList}} 391 {\end{EpydocVariablesList}} 392 212 393 % \newenvironment{EpydocVariableList}{% 213 394 % \newcommand{\EpydocInternalHeader}[1]{% … … 248 429 % {\end{longtable}} 249 430 250 \newenvironment{EpydocPropert yList}{%431 \newenvironment{EpydocPropertiesList}{% 251 432 \newcommand{\EpydocProperty}[2]{% 252 433 \raggedright ##1 & … … 254 435 & \\ 255 436 \cline{1-2}} 256 \begin{ @EpydocGeneralList}}257 {\end{ @EpydocGeneralList}}437 \begin{EpydocVariablesList}} 438 {\end{EpydocVariablesList}} 258 439 259 440 % \newenvironment{EpydocPropertyList}{% -
trunk/documentation/manual/fipy.sty
r1954 r2763 1 1 \NeedsTeXFormat{LaTeX2e} %[1995/12/01] 2 2 \ProvidesPackage{fipy} 3 [2004/10/07 Document style (FiPy manual)] 3 [2008/10/09 Document style (FiPy manual)] 4 5 % Pass options to the epydoc base package. 6 \RequirePackage{xkeyval} 7 \DeclareOptionX{index}{\PassOptionsToPackage{index}{examples/latex/epydoc-base}} 8 \DeclareOptionX{hyperlink}{\PassOptionsToPackage{hyperlink}{examples/latex/epydoc-base}} 9 \DeclareOptionX{title}[]{\PassOptionsToPackage{title={#1}}{examples/latex/epydoc-base}} 10 \DeclareOptionX{creator}[]{\PassOptionsToPackage{creator={#1}}{examples/latex/epydoc-base}} 11 12 % Put Part as topmost level in PDF bookmarks 13 \def\tocPDFlevel{-1} 14 \DeclareOptionX{tocAsPDFpart}{\def\tocPDFlevel{-1}} 15 \DeclareOptionX{tocAsPDFchapter}{\def\tocPDFlevel{0}} 16 17 \ProcessOptionsX\relax 18 19 % \usepackage{xr-hyper} 20 21 \RequirePackage[hyperlink,linkcolor=blue]{examples/latex/epydoc-base} 22 % \RequirePackage[hyperlink]{examples/latex/epydoc-shaded} 23 \RequirePackage{longtable} 24 25 \RequirePackage{crop} 26 27 % \tocotherhead{part} 28 % \renewcommand{\bibsection}{% 29 % \part{\bibname} 30 % \prebibhook} 31 32 \renewcommand{\bibsection}{% 33 \chapter*{\bibname} 34 \bibmark 35 \ifnobibintoc\else 36 \phantomsection 37 \addcontentsline{toc}{part}{\bibname} 38 \fi 39 \prebibhook} 40 41 \setlength{\columnsep}{35pt} 42 43 \RequirePackage{amsmath} 44 45 \DeclareMathOperator{\erf}{erf} 46 \newcommand{\abs}[1]{\lvert#1\rvert} 47 48 \RequirePackage[usenames]{color} 49 \definecolor{UrlColor}{rgb}{0,0.08,0.45} 50 % \RequirePackage[pdftex, hyperfigures=true, pagebackref, pdftitle={FiPy User's Guide}, pdfcreator={epydoc 3.0beta1}, bookmarks=true, bookmarksopen, bookmarksopenlevel=2, pdfpagemode=UseOutlines, colorlinks=true, plainpages=false, pdfpagelabels, linkcolor=blue, anchorcolor=black, citecolor=black, filecolor=black, menucolor=black, pagecolor=black, urlcolor=UrlColor]{hyperref} 51 52 \RequirePackage[tight]{minitoc} 53 \setcounter{parttocdepth}{2} 54 \mtcsetrules{parttoc}{off} 55 56 \definecolor{darkblue}{rgb}{0,0.05,0.35} 57 \definecolor{redish}{rgb}{0.894,0.122,0.122} 58 \definecolor{bluish}{rgb}{0.216,0.188,0.533} 59 % \RequirePackage[pdftex]{graphicx} 60 61 \graphicspath{{./api/latex/},{../figures/},{images/}} 62 63 \renewcommand{\sectionmark}[1]{\markboth{#1}{}} 64 \renewcommand{\subsectionmark}[1]{\markright{#1}} 65 66 \newenvironment{changemargin}[2]{% 67 \begin{list}{}{% 68 \setlength{\topsep}{0pt}% 69 \setlength{\leftmargin}{#1}% 70 \setlength{\rightmargin}{#2}% 71 \setlength{\listparindent}{\parindent}% 72 \setlength{\itemindent}{\parindent}% 73 \setlength{\parsep}{\parskip}% 74 }% 75 \item[]}{\end{list}} 76 77 \renewcommand\tableofcontents{% 78 \if@twocolumn 79 \@restonecoltrue\onecolumn 80 \else 81 \@restonecolfalse 82 \fi 83 \chapter*{\contentsname\pdfbookmark[\tocPDFlevel]{Contents}{contents} 84 \@mkboth{% 85 \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% 86 \@starttoc{toc}% 87 \if@restonecol\twocolumn\fi 88 } 89 90 \newcounter{FAQdepth} 91 \setcounter{FAQdepth}{0} 92 93 \newenvironment{FAQ}% 94 {\list{}{\stepcounter{FAQdepth}% 95 \labelwidth\z@ \itemindent-\leftmargin 96 \let\makelabel\FAQlabel}}% 97 {\addtocounter{FAQdepth}{-1}% 98 \endlist} 99 \newcommand*{\FAQlabel}[1]{\hspace\labelsep 100 \normalfont\bfseries #1% 101 \ifnum\value{FAQdepth}=1\relax 102 \addcontentsline{toc}{section}{#1} 103 \else\ifnum\value{FAQdepth}=2\relax 104 \addcontentsline{toc}{subsection}{#1} 105 \fi 106 \fi\adjustmtc} 107 108 109 \newcommand{\@Code}[1]{\texttt{#1}} 110 \newcommand{\IndexClass}[1]{\index{#1@\protect\EpydocIndex{#1}{\EpydocDottedName{#1}}{class} class}} 111 \newcommand{\IndexModule}[1]{\index{#1@\protect\EpydocIndex{#1}{\EpydocDottedName{#1}}{module} module}} 112 \newcommand{\IndexPackage}[1]{\index{#1@\protect\EpydocIndex{#1}{\EpydocDottedName{#1}}{package} package}} 113 \newcommand{\IndexSoftware}[1]{\index{#1@\@Software{#1}}} 114 \newcommand{\IndexFunction}[1]{\index{#1@\protect\EpydocIndex{#1}{\EpydocDottedName{#1}}{function}}} 115 \newcommand{\IndexConstant}[2]{\index{$#1\equiv\text{#2}$@$#1\equiv\text{\protect\EpydocIndex{#2}{\EpydocDottedName{#2}}{module}}$}% 116 \index{#2$\equiv #1$@$\text{\protect\EpydocIndex{#2}{\EpydocDottedName{#2}}{module}}\equiv #1$}} 117 \newcommand{\Class}[1]{\@Code{#1}\IndexClass{#1}} 118 \newcommand{\Module}[1]{\@Code{#1}\IndexModule{#1}} 119 120 % commands for various weblinks 121 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 122 123 \newcommand{\@Software}[1]{\textsf{#1}} 124 \newcommand{\@Org}[1]{\textsf{#1}} 125 126 \newcommand{\FiPy}{\@Software{FiPy}} 127 128 \newcommand{\@OrgURL}[2]{\href{#2}{\@Org{#1}}\index{#1@\@Org{#1}}} 129 130 \newcommand{\@SoftwareURL}[2]{\href{#2}{\@Software{#1}}\IndexSoftware{#1}} 131 132 \newcommand{\SciPy}{\@SoftwareURL{SciPy}{http://www.scipy.org/}} 133 134 \newcommand{\PyRex}{\@SoftwareURL{PyRex}{http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/}} 135 136 \newcommand{\Python}{\@SoftwareURL{Python}{http://www.python.org/}} 137 138 \newcommand{\Numeric}{\@SoftwareURL{Numeric}{http://www.numpy.org/}} 139 140 \newcommand{\PyX}{\@SoftwareURL{PyX}{http://pyx.sourceforge.net/}} 141 142 \newcommand{\Pygist}{\@SoftwareURL{Pygist}{http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/python/pygist.html}% 143 \IndexSoftware{gist}} 144 145 \newcommand{\Matplotlib}{\@SoftwareURL{Matplotlib}{http://matplotlib.sourceforge.net}} 146 147 \newcommand{\MayaVi}{\@SoftwareURL{MayaVi}{http://mayavi.sourceforge.net}} 148 149 \newcommand{\PySparse}{\@SoftwareURL{PySparse}{http://people.web.psi.ch/geus/pyfemax/pysparse.html}} 150 151 \newcommand{\ScientificPython}{\@SoftwareURL{Scientific Python}{http://starship.python.net/~hinsen/ScientificPython/}} 152 153 \newcommand{\MacOSX}{\@SoftwareURL{Mac OS X}{http://www.apple.com/macosx/}} 154 155 \newcommand{\Gmsh}{\@SoftwareURL{Gmsh}{http://www.geuz.org/gmsh/}} 156 157 \newcommand{\weave}{\@SoftwareURL{weave}{http://www.scipy.org/documentation/weave/}} 158 159 \newcommand{\blitz}{\@SoftwareURL{blitz}{http://www.scipy.org/documentation/weave/}} 160 161 \newcommand{\doctest}{\@SoftwareURL{doctest}{http://www.python.org/doc/current/lib/module-doctest.html}}
FiPy: A Finite Volume PDE Solver Using Python