documentation: Improve PDF compilation docs
* Updated the installation of PDF dependencies for Debian-based systems
using the instructions from here:
<https://github.com/doxygen/doxygen/issues/9567#issuecomment-1236295556>
* Add a section on the CMake option `BUILD_PDF`.
@@ -86,10 +86,13 @@ You can install it as follows:
- on APT-based systems (Ubuntu, Debian):
```sh
- apt-get install pdflatex \
- texlive-fonts-recommended texlive-fonts-extra \
- texlive-latex-recommended texlive-latex-extra \
- texlive-math-extra
+ apt-get install \
+ texlive-latex-base \
+ texlive-latex-recommended \
+ texlive-latex-extra \
+ texlive-fonts-recommended \
+ texlive-fonts-extra \
+ texlive-science
```
### Plugin dependencies
@@ -460,6 +463,12 @@ used instead.
> installing the documentation, see https://issues.libelektra.org/2522
> Then no man pages are available.
+#### `BUILD_PDF`
+
+Build documentation with LaTeX.
+
+See [Documentation dependencies](#documentation-dependencies) for the required dependencies.
+
#### Developer Options
As developer you should enable `ENABLE_DEBUG` and `ENABLE_LOGGER`:
