.. _install_latex: Installing LaTeX ================ In order to build the PDF Documentation, you will need to install `LaTeX `_, and a number of LaTeX extensions. If you just want to build the HTML documentation, LaTeX is not necessary. Windows ------- 1. Install `MiKTeX `_. 2. In the Settings section of the installer, set "Install missing packages on-the-fly" to "Always" or "Ask me first". This will let MikTex download the various extension packages required to build the GeoServer docs as they are needed. Ubuntu ------ #. Install the following TeX Live packages:: sudo apt-get install -y texlive-base texlive-latex-recommended \ texlive-science texlive-latex-extra texlive-extra-utils 2. As an alternative to (1), you can install the standard `TeX Live `_ distribution, then install `texliveonfly `_ to install any missing packages as they are needed. CentOS ------ 1. Install the following TeX Live packages:: sudo yum install texlive-pdftex texlive-latex-bin texlive-texconfig* texlive-latex* texlive-metafont* texlive-cmap* texlive-ec texlive-fncychap* texlive-pdftex-def texlive-fancyhdr* texlive-titlesec* texlive-multirow texlive-framed* texlive-wrapfig* texlive-parskip* texlive-caption texlive-ifluatex* texlive-collection-fontsrecommended texlive-collection-latexrecommended 2. As an alternative to (1), you can install the standard `TeX Live `_ distribution, then install `texliveonfly `_ to install any missing packages as they are needed. 3. The CentOS distribution of TeX Live is missing some required extensions, which you will need to `install manually `_: * `tabulary `_ * `upquote `_ * `capt-of `_ * `needspace `_