[PATCH 4/8] Specify PDF minor version 1.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From f6814ac4124a9a383ca8ca7f683d46f1365ace58 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Sat, 23 Feb 2019 18:25:33 +0900
Subject: [PATCH 4/8] Specify PDF minor version 1.7

Ghostscript 9.26 changed the default PDF output to 1.7 [1].
This causes a lot of warning messages in perfbook.log, saying:

    pdfTeX warning: pdflatex (file ./cartoons/1kHz.pdf): PDF inclusion:
    found PDF version <1.7>, but at most version <1.5> allowed
    <cartoons/1kHz.pdf, id=11175, 319.79472pt x 287.27324pt>
    File: cartoons/1kHz.pdf Graphic file (type pdf)

This warning can be suppressed by setting "\pdfminorversion=7"
in the preamble.

[1]: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bb2ea8ca0482

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 perfbook.tex | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/perfbook.tex b/perfbook.tex
index f79e7b0..a1e90dd 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -2,6 +2,9 @@
 % For arxiv.org, must be on or before line 5:
 \pdfoutput=1
 
+% To accomodate change in Ghostscript 9.26 (default output: PDF 1.7)
+\pdfminorversion=7
+
 % standard packages
 
 % A more pleasant font
-- 
2.7.4





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux