| 116 | | I'm not sure about any of this... |
| 117 | | |
| 118 | | * Doxygen has an OS X download. |
| 119 | | * `xsltproc` is included with OS X, but is too old, |
| 120 | | [http://www.explain.com.au/oss/libxml2xslt.html binaries] are available. |
| 121 | | I haven't tried them yet. |
| 122 | | * Need to install docbook manually. |
| 123 | | * [http://tug.org/mactex/ MacTex] |
| 124 | | |
| 125 | | (Alternatively use macports or fink?) |
| 126 | | |
| 127 | | ==== Macports ==== |
| 128 | | |
| 129 | | (I'm working on this, so just assorted notes for now). |
| 130 | | |
| 131 | | Doxygen doesn't compile on tiger at the moment: http://trac.macports.org/ticket/18258 |
| | 116 | ''TODO: Fink'' |
| | 117 | |
| | 118 | Macports has packages for `boost-build` and `boost-jam` but I think it might be best to use the version from your boost tarball/checkout, so that you're up to date. |
| | 119 | OS X comes with xsltproc, but it's too old, so a recent version needs to be installed. |
| | 120 | |
| | 121 | Install libxslt, docbook and doxygen using macports: |
| | 122 | |
| | 123 | {{{ |
| | 124 | sudo port install docbook-xml-4.2 docbook-xsl libxslt doxygen |
| | 125 | }}} |
| | 126 | |
| | 127 | `user-config.jam`: |
| | 128 | |
| | 129 | {{{ |
| | 130 | using darwin ; |
| | 131 | using doxygen ; |
| | 132 | using boostbook |
| | 133 | : /opt/local/share/xsl/docbook-xsl/ |
| | 134 | : /opt/local/share/xml/docbook/4.2 |
| | 135 | ; |
| | 136 | }}} |
| | 137 | |
| | 138 | ==== Latex and Ghostscript ==== |
| | 139 | |
| | 140 | [http://mactex-wiki.tug.org/wiki/index.php?title=TeX_Distributions List of TeX distributions] |
| | 141 | |
| | 142 | ===== !MacPorts ===== |
| | 143 | |
| | 144 | With macports latex is a large download - very slow. |
| | 145 | |
| 143 | | (or maybe just add `+no_x11` to the command line). Formulas won't be anti-aliased - not suitable for production build. |
| 144 | | |
| 145 | | {{{ |
| 146 | | sudo port install docbook-xml-4.2 docbook-xsl libxslt doxygen texlive |
| 147 | | }}} |
| 148 | | |
| 149 | | This takes a long time - in particular, texlive is a large download. |
| 150 | | |
| 151 | | Macports has packages for `boost-build` and `boost-jam` but I think it might be best to manually install them, so that you're up to date. |
| 152 | | |
| 153 | | On Tiger, you need to be using xsltproc from macport's `libxslt` as the one included in OS X is very old but it might not be needed on Leopard. |
| 154 | | |
| 155 | | Leopard's version: |
| 156 | | |
| 157 | | {{{ |
| 158 | | $ /usr/bin/xsltproc --version |
| 159 | | Using libxml 20616, libxslt 10112 and libexslt 810 |
| 160 | | xsltproc was compiled against libxml 20616, libxslt 10112 and libexslt 810 |
| 161 | | libxslt 10112 was compiled against libxml 20616 |
| 162 | | libexslt 810 was compiled against libxml 20616 |
| 163 | | }}} |
| 164 | | |
| 165 | | Macport's version: |
| 166 | | |
| 167 | | {{{ |
| 168 | | $ /opt/local/bin/xsltproc --version |
| 169 | | Using libxml 20703, libxslt 10124 and libexslt 813 |
| 170 | | xsltproc was compiled against libxml 20703, libxslt 10124 and libexslt 813 |
| 171 | | libxslt 10124 was compiled against libxml 20703 |
| 172 | | libexslt 813 was compiled against libxml 20703 |
| 173 | | }}} |
| 174 | | |
| 175 | | I think we should recommend getting an up to date version. |
| 176 | | |
| 177 | | `user-config.jam`: |
| 178 | | |
| 179 | | {{{ |
| 180 | | using darwin ; |
| 181 | | using doxygen ; |
| 182 | | using boostbook |
| 183 | | : /opt/local/share/xsl/docbook-xsl/ |
| 184 | | : /opt/local/share/xml/docbook/4.2 |
| 185 | | ; |
| 186 | | }}} |
| | 155 | (or maybe just add `+no_x11` to the following command line). |
| | 156 | |
| | 157 | {{{ |
| | 158 | sudo port install texlive |
| | 159 | }}} |
| | 160 | |
| | 161 | ===== !BasicTex ===== |
| | 162 | |
| | 163 | Install `BasicTeX-2008.dmg` and `mactex-additions.mpkg.zip` from http://www.tug.org/mactex/morepackages.html |
| | 164 | |
| | 165 | Add to path `/usr/local/bin/` (probably already in path) and `/usr/local/texlive/2008basic/bin/universal-darwin/`. |