From patchwork Wed May 22 20:28:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 53625 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8E261B94B; Wed, 22 May 2019 22:28:54 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 0421A1B942; Wed, 22 May 2019 22:28:54 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7771323A82; Wed, 22 May 2019 16:28:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 May 2019 16:28:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=SlzjVmBwIy fbNJBTlvxwTvq+dV+BCrg4KwrwQxBXJDE=; b=fe5JZVaommb7hs/8RPmSpPW/M7 D9VJEwUM6ibZx44KOhdMvaKUJNZwxyINmcHOYwFLTIWexiCtAyqZJMtAYwm3BDAR NAwLEVT+PSe7vh5ert4fyY7Hac7G751QQdme1nn7DfvcwHnBtcP5+mXyJvgNo/g3 MwKhjMx8R/iISoYWM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=SlzjVmBwIyfbNJBTlvxwTvq+dV+BCrg4KwrwQxBXJDE=; b=2CR4nHaJ YKCyVfuVoSaC6DsApOSqiBU8iUx9XJTa33A5pqbYlxjRu+Ti5+7/s6S0jHLH2sGD LpKm0qCGUPWRaNV5c1q0/5tik5wYB0eJTlGeLTqh25ym42Ht+346VFlJJwC0h074 QyjZ4GiS0tw+aPeglOozUqQXkPGdNOFdQnKfLKSIaNYeZ8BCkjv5XUt/I0TlQ9Rn 1/IG6/I+gl74kr2mA0hbWfrdWZqNAJoJW7qba9tJ65N3a8s9qKN9L/nOEETG++W8 FV864SZrjjHeYa1kwrwmPS6oTMytvO9q7jvKkcJueynC+7p3HI/kw7KABZNe5rIs 0s+ZDRA7Q/kdVQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudduvddgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefgedrvddtfedrudekgeen ucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth enucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 54A4280059; Wed, 22 May 2019 16:28:52 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org, John McNamara , Marko Kovacevic Cc: stable@dpdk.org Date: Wed, 22 May 2019 22:28:40 +0200 Message-Id: <20190522202842.19818-2-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190522202842.19818-1-thomas@monjalon.net> References: <20190522202842.19818-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 1/3] doc: robustify PDF build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In some environment like the current dpdk.org server, there can be some errors due to symbols in titles, as it was the case before this commit in DPDK 18.05: 551d148944dc ("doc: remove flow API migration section") ! LaTeX Error: Bad math environment delimiter. It can be avoided thanks to the Latex command \robustify. Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- doc/guides/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index a85f6c9d9..6d5001a07 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -67,6 +67,9 @@ \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm} +\usepackage{etoolbox} +\robustify\( +\robustify\) """ # Configuration for the latex/pdf docs. From patchwork Wed May 22 20:28:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 53626 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06C1A1B954; Wed, 22 May 2019 22:28:58 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 9E78C1B94F; Wed, 22 May 2019 22:28:56 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2B07E23D21; Wed, 22 May 2019 16:28:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 May 2019 16:28:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=53re2InpwMIHzw3FyB5yIOXsVo8brKkBv1Dtpqzuqyc=; b=f/1bjFTS2aXR IwV9bdHs2iriJlxsMmez1Fu0bvjuLv8sPu1xMPHyB8bm46105MQVZEtKbWen9XGc lvOxds45BBDGyG3uCm4Ru+oPXRCpF1otDAlf29S0hw6aXnE+WiyE4mywjfVgF6EO EQg9vJ4y0txDtKtoPNjd2moSDB1hHhY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=53re2InpwMIHzw3FyB5yIOXsVo8brKkBv1Dtpqzuq yc=; b=r4ztY23aCFljC4xyP9gpb5iMH9nt2eia6ODgx0W3PvXb0PpVQq0taKASH 2uZaDG5ERzTWeQdkMyiIGyuYohPWEDakigbK2Z0Zn4FiSbNtiMjoHULSeRJHPsKx 3c4MuiJCQJq2HIybUDlRLZNtoYHjCFPYqDF8c7ONZrnaqI8GkJ+ruHtUYemInqKe fSNP7BORB0Cx5IcKd2uY/hLGOKncz/hLhDbio+KFXLXj/uDdoVFymFlDtBa2wglC 2gNdE1LAXht2vrFkyKzc/uYnaDfYtthGkQ0zKOCsjNU/Oc4PdT+e/f4esKnuvFlc ZZtl6QqKIDuYQyUEexTpqemB/DlDw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudduvddgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuffhomhgrihhnpehpshhurdgvughunecukfhppeejjedrudefgedrvddtfedrudekgeen ucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth enucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 470928005B; Wed, 22 May 2019 16:28:55 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org, John McNamara , Marko Kovacevic Cc: stable@dpdk.org Date: Wed, 22 May 2019 22:28:41 +0200 Message-Id: <20190522202842.19818-3-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190522202842.19818-1-thomas@monjalon.net> References: <20190522202842.19818-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 2/3] doc: fix PDF with greek letter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- doc/guides/conf.py | 1 + doc/guides/contributing/documentation.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 6d5001a07..94b97dc35 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -64,6 +64,7 @@ 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 9d381919b..27e4b13be 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, From patchwork Wed May 22 20:28:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 53627 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3042A1B95A; Wed, 22 May 2019 22:29:00 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id EC5981B958 for ; Wed, 22 May 2019 22:28:58 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 921F521165; Wed, 22 May 2019 16:28:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 May 2019 16:28:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=6sIZxLwCBy Baifxu3Te/NLXily+Jf7FejoVqV50NJ2Y=; b=FPFVLY+MMa4f4zuwk8bqA8pEOp ZjvRxd3UK2qtecFxBvcCaTUp83tw4yUrJQUrq8gHWSDQLXH+TLPX9xbDRG2QTZZg Idiu90ktryiOMpb6XKk4b2z9ZbTik5Yax3zjn5WBG5ak4dPeQHaOHpSPgZknU7Vu 2L6JMnYBTCaBB8JOM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=6sIZxLwCByBaifxu3Te/NLXily+Jf7FejoVqV50NJ2Y=; b=eSVL8wTt zhROEpsZWmYLfZK317Q840z7fWBKYlyDA4BdG37kWpMTXpyaC5/KCziyW2rDibwD Y3s2xdFHIe1JapBXeSpJCYsfW40j/iaRCfvUAnMQIvXUL1BadvgLDhTQ/36VjGD4 gGiQodC4lFowB4z86QfDTiWXfK+og/UCrIxN+NjPArpOI4T4hNjUTUoAfwd3V5dh vnz6h+PSM4nfKEfnoDhjEl+YIwRqSMJLSVv07g+SrNCIRCT5Xn24YF+efWLSx/WD 3JnPhZGp1BbFIvbHRZuE0GIw5PFVAQrdzZ5W13Vh4pSoFGP+qiiHBnt3s4VC7XkA Gb7d8PztZQbdGw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudduvddgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc fkphepjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpeht hhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B48268005C; Wed, 22 May 2019 16:28:57 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org, John McNamara , Marko Kovacevic Date: Wed, 22 May 2019 22:28:42 +0200 Message-Id: <20190522202842.19818-4-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190522202842.19818-1-thomas@monjalon.net> References: <20190522202842.19818-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 3/3] doc: clean PDF config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some font options do not look necessary. Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- doc/guides/conf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 94b97dc35..e2b52e2df 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -62,11 +62,7 @@ # Latex directives to be included directly in the latex/pdf docs. custom_latex_preamble = r""" -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} \usepackage{textalpha} -\usepackage{helvet} -\renewcommand{\familydefault}{\sfdefault} \RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm} \usepackage{etoolbox} \robustify\(