Skip to content
cpfaff edited this page Jun 23, 2013 · 3 revisions

You need to install a LaTeX distribution that fits your operating system. The Open-Science-Paper depends on several LaTeX packages. If you already have installed a LaTeX distribution, it depends on your installation (full/minimal), if you need to install further packages in order to compile the Open-Science-Paper.

You can find the packages requirements if you look into the class file under osp/subdocuments/open_science_paper.cls. Each line in the class file which reads \RequirePackage[options]{packagename} loads an additional package. If you try to compile the document and one of the required packages is missing, you will get an error message like "packagename.sty not found".

Rather than installing the missing packages manually, I recommend you to use a distribution with a package manager (e.g MiKTeX, TeX-Live, Mac-Tex). The example below shows how to install a package within the TeX-Live distribution on a Linux machine with the tlmgr package manager.

  • Open a Terminal

  • Update the package manager

sudo tlmgr update --self

  • Install a package

tlgmr install <package name>

On Windows you can use the MiKTeX distribution. Here you do not have to install packages in this console fashion. MiKTeX offers a very comfortable package management which can be configured to install packages automatically if they are required by a document. You only need to ensure a working internet connection so the packages can be downloaded for installation.

Clone this wiki locally