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

  1. Install the following TeX Live packages:

    sudo apt-get install texlive-base texlive-bibtex-extra texlive-binaries texlive-common texlive-doc-* texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-formats-extra texlive-full texlive-games texlive-generic-extra texlive-generic-recommended texlive-humanities texlive-humanities-doc texlive-lang-* texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-latex3 texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-pictures texlive-pictures-doc texlive-plain-extra texlive-pstricks texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex
    
  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:

Next: Workflow