From: Thomas Monjalon Date: Wed, 22 May 2019 08:44:31 +0000 (+0200) Subject: doc: fix PDF with greek letter X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f98f4fb25c141aa69e3ab6c0f0bedad76546d3d8;p=dpdk.git doc: fix PDF with greek letter For an unknown reason, the sign "μ" is not accepted by some environments, probably due to the version of some Latex packages or dependencies. ! Package inputenc Error: Unicode character μ (U+03BC) (inputenc) not set up for use with LaTeX. It is fixed by installing texlive-langgreek. Fixes: d0dff9ba445e ("doc: sample application user guide") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 6d5001a07b..94b97dc351 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -64,6 +64,7 @@ latex_documents = [ custom_latex_preamble = r""" \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} +\usepackage{textalpha} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm} diff --git a/doc/guides/contributing/documentation.rst b/doc/guides/contributing/documentation.rst index 9d381919b3..27e4b13be1 100644 --- a/doc/guides/contributing/documentation.rst +++ b/doc/guides/contributing/documentation.rst @@ -199,10 +199,10 @@ The main required packages can be installed as follows: .. code-block:: console # Ubuntu/Debian. - sudo apt-get -y install texlive-latex-extra + sudo apt-get -y install texlive-latex-extra texlive-lang-greek # Red Hat/Fedora, selective install. - sudo dnf -y install texlive-collection-latexextra + sudo dnf -y install texlive-collection-latexextra texlive-greek-fontenc `Latexmk `_ is a perl script for running LaTeX for resolving cross references,