I have a pdf file, one page. When included in Latex using \includegraphics
, the resulting image (in the compiled pdf) is not the same as what in the image pdf file that was included.
It dropped a letter in the formula. This might be due to the version number warning Tex Live is giving below or the warning about Subtype in Resources
which I do not understand.
Here is a MWE, and link to download the pdf file in question:
\documentclass[11pt]{article}%
\usepackage{graphicx}%
\begin{document}
\includegraphics[]{p}
\end{document}
The warning I get is
pdfTeX warning: pdflatex (file ./p.pdf): PDF inclusion: found PDF
version <1.6>, but at most version <1.5> allowed
Also
pdfTeX warning: pdflatex (file ./p.pdf): PDF inclusion:
Subtype in Resources dict is not a name (key 'Subtype', type <stream>);
ignored.>] (./foo.aux)
Here is pdfinfo about the image file p.pdf
pdfinfo p.pdf
Creator: Canon
Producer:
CreationDate: Fri Oct 7 10:25:56 2011
ModDate: Tue Sep 29 13:04:09 2015
Tagged: no
Form: AcroForm
Pages: 1
Encrypted: no
Page size: 455.352 x 177.466 pts
Page rot: 0
File size: 38071 bytes
Optimized: no
PDF version: 1.6
Here is side-by-side showing the difference
I am using Tl 2015 on Linux. Here is a link to the folder with the pdf file p.pdf used in the above Latex MWE.
Here is the file list (I just did a tlmgr update --all
again just in case) This is the current file list after the update
*File List*
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
graphicx.sty 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
supp-pdf.mkii
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
p.pdf Graphic file (type pdf)
***********
The question is: How to handle this problem? does one need to change the version of the pdf file itself, or change some configuration settings in TL itself?
Related question Problem including PDF 1.6 files in XeTeX with MikTeX
tlmgr update --all
again, and the pdftex did not change versions, I saw it updating few other packages. pdftex remained at v0.06d as giving in the above list. I still get same warnings, and the problem remains. Running on Linux, TL 2015. Will update my question with the current filelist just in case. – Nasser Sep 29 '15 at 21:31\documentclass[11pt]{article}% \pdfinclusioncopyfonts=1 \usepackage{graphicx}% \listfiles \begin{document} \includegraphics[]{p} \end{document}
compiled with pdflatex, looked at the pdf file, and it is still missing thes
there. – Nasser Sep 29 '15 at 21:37\pdfminorversion=7 \pdfinclusioncopyfonts=1 \documentclass[11pt]{article}% \usepackage{graphicx}% \listfiles \begin{document} \includegraphics[]{p} \end{document}
, I also tried just this\pdfminorversion=7 \documentclass[11pt]{article}% \usepackage{graphicx}% \listfiles \begin{document} \includegraphics[]{p} \end{document}
no change. Letter is missing. – Nasser Sep 29 '15 at 21:42