| 1 | I'm going to try to write a better getting started guide for the boost documentation tools, outside of the individual tools' documentation. Just a very rough outline to start with. This will be of only limited scope - full documentation will be in the tools' documentation. |
| 2 | |
| 3 | == How to build boost documentation == |
| 4 | |
| 5 | * bjam |
| 6 | * xsltproc |
| 7 | * [http://docbook.sourceforge.net/ Norman Walsh's DocBook XSL stylesheets] |
| 8 | * [http://www.oasis-open.org/docbook/xml/4.2/ The DocBook DTD] |
| 9 | * doxygen (optional for boostbook, required for several libraries' documentation. |
| 10 | * latex (for Boost.Accumulators' formulae) |
| 11 | |
| 12 | == Windows == |
| 13 | |
| 14 | It's easier to use Cygwin (see below). |
| 15 | |
| 16 | TODO |
| 17 | |
| 18 | == Cygwin == |
| 19 | |
| 20 | Cygwin packages: |
| 21 | |
| 22 | * Libs/libxml2 |
| 23 | * Libs/libxslt |
| 24 | * Devel/doxygen |
| 25 | * Text/docbook-xml42 |
| 26 | * Text/docbook-xsl |
| 27 | * Text/tetex-extra (for accumulators, I'm not sure if this is the right one?) |
| 28 | * dvips? |
| 29 | * ghostscript? |
| 30 | |
| 31 | Install docbook manually, or using cygwin packages? |
| 32 | |
| 33 | Build bjam |
| 34 | |
| 35 | user-config.jam: |
| 36 | |
| 37 | {{{ |
| 38 | using xsltproc ; |
| 39 | # TODO: Fill these directories in: |
| 40 | using boostbook : DOCBOOK_XSL_DIR : DOCBOOK_DTD_DIR ; |
| 41 | using doxygen ; |
| 42 | }}} |
| 43 | |
| 44 | === Unix with automatic script === |
| 45 | |
| 46 | TODO |
| 47 | |
| 48 | === Debian/ubuntu === |
| 49 | |
| 50 | {{{ |
| 51 | # TODO: What's the correct latex package? |
| 52 | sudo apt-get install xsltproc docbook-xsl docbook-xml doxygen texlive-full |
| 53 | }}} |
| 54 | |
| 55 | Add to user-config.jam: |
| 56 | |
| 57 | {{{ |
| 58 | using xsltproc ; |
| 59 | |
| 60 | using boostbook |
| 61 | : /usr/share/xml/docbook/stylesheet/nwalsh |
| 62 | : /usr/share/xml/docbook/schema/dtd/4.2 |
| 63 | ; |
| 64 | |
| 65 | # Remove this line if you're not using doxygen |
| 66 | using doxygen ; |
| 67 | }}} |
| 68 | |
| 69 | == Pre-build quickbook == |
| 70 | |
| 71 | TODO |
| 72 | |
| 73 | == How to build pdfs == |
| 74 | |
| 75 | TODO |