Latex documentation

This section deals with the old Latex documentation, located in a separate repository and having it’s own releases.

The documentation is mainly 3-folds. It contains:

  • Use Cases Guide
  • Examples Guide
  • Reference Guide, which is more literate and deals with the theoretical background of the methods featured in the library.

Retrieve the documentation

  1. Install the required tools: tralics, xsltproc and the usual latex packages.

  2. Fork the repository

    git clone

Develop the documentation

  1. Add your contribution, update the CMakeLists when adding new files.

  2. Build the documentation:

    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=$PWD/install ..
  3. Check the PDF and HTML outputs

    make install
    xpdf install/share/doc/openturns-doc/pdf/OpenTURNS_ReferenceGuide.pdf
    firefox install/share/doc/openturns-doc/html/ReferenceGuide/index.xhtml

Run embedded scripts

  1. Detect your openturns installation:

    cmake -DUSE_OPENTURNS=ON \
      -DOpenTURNS_DIR=<OT_PREFIX>/lib/cmake/openturns ..
  2. Run tests

    make check

    and all the tests should be successful else check the log file test/Testing/Temporary/LastTest.log.