Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (22 sloc) 1.557 kb
#!/usr/bin/env bash
# To run the following correctly, you will need a patched version of docutils to enable support for
# math directives.
# There is a dummy module in docs named distributions.py that imports all the PyMC likelihoods.
# By introspection, epydoc finds the related docstrings and creates a tex output. This way,
# we avoid documenting all the stuff that lives in the real pymc.distributions.py
# epydoc --verbose --debug --config epydoc.conf
# Make manual
cd docs
#cat distributions-module.tex | ./extract.py -s '\\subsection\{Functions\}' -o distributions-module.text
#sed -i -e 's/0\.5\\fboxrule/1pt/g' distributions-module.tex
python rst2latex.py ../README.rst --use-latex-toc --no-section-numbering | ./extract.py -s '%___________________________________________________________________________' -e '\\end\{document\}' -o README.tex
python rst2latex.py ../INSTALL.rst --use-latex-toc --no-section-numbering | ./extract.py -s '%___________________________________________________________________________' -e '\\end\{document\}' -o INSTALL.tex
python rst2latex.py ../pymc/database/README.txt --use-latex-toc --no-section-numbering | ./extract.py -s '%___________________________________________________________________________' -e '\\end\{document\}' -o database.tex
mkdir pdf
# User Guide
pdflatex -output-directory=pdf -interaction batchmode UserGuide
bibtex pdf/UserGuide
pdflatex -output-directory=pdf -interaction batchmode UserGuide
pdflatex -output-directory=pdf -interaction batchmode UserGuide
cp pdf/UserGuide.pdf .
cd ..
Jump to Line
Something went wrong with that request. Please try again.