From 8c08d8417427d51f0ab5283bceaeb14883c32a74 Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Fri, 7 Jul 2017 17:44:40 +0100 Subject: [PATCH] CP-22381: use png instead of pdf to avoid conversion from eps. Signed-off-by: Konstantina Chremmou --- ocaml/doc/doc-convert.sh | 6 +----- ocaml/doc/templates/cover.mustache | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ocaml/doc/doc-convert.sh b/ocaml/doc/doc-convert.sh index 15325f430d5..86034738b32 100644 --- a/ocaml/doc/doc-convert.sh +++ b/ocaml/doc/doc-convert.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -x +set -xeu GRAPHVIZ_FLAGS="-Tpng" @@ -11,10 +11,6 @@ if [ ! "$1" = "--pdf" ]; then exit 0 fi -if [ -f logo.eps ]; then - epstopdf logo.eps --outfile=logo.pdf -fi - FILES=" basics.md wire-protocol.md diff --git a/ocaml/doc/templates/cover.mustache b/ocaml/doc/templates/cover.mustache index c5b9663ccf5..5ca00114580 100644 --- a/ocaml/doc/templates/cover.mustache +++ b/ocaml/doc/templates/cover.mustache @@ -1,6 +1,6 @@ --- title: | - \IfFileExists{logo.pdf}{\includegraphics[width=150px]{logo.pdf}\break}{} + \IfFileExists{logo.png}{\includegraphics[width=150px]{logo.png}\break}{} Citrix XenServer Management API\break Version {{api_version_major}}.{{api_version_minor}} date: |