Graphics, Figures & Tablescomment in included pdf-figure not shown after compilation

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
felipoc
Posts: 6
Joined: Thu Dec 25, 2008 1:35 pm

comment in included pdf-figure not shown after compilation

Post by felipoc »

Hi folks,

i need some help.

I used Adobe Acrobat professional to draw some circles in a picture(pdf-format) with the Option "advanced comments" and "pencil" (i'm using the german version, so i don't know if my translation "advanced comments" and "pencil" is right).

I want to include the picture with the comments in Latex, so that you can see the picture and the comments. Including is no problem. I'm using the following command, because I want to show two pictures side by side (in fact it's two times the same picture, just one time with the Acrobat professional comments):

\begin{figure}
\centering
\begin{tabular}{cc}
\epsfig{file=./Bilder/c_4/Temp_Geschw.pdf,width=0.5\linewidth,clip=} &
\epsfig{file=./Bilder/c_4/Temp_Geschw_mark.pdf,width=0.5\linewidth,clip=} \\
\end{tabular}
\end{figure}

Compiling using "pdflatex" runs, i get no errors but the following two warnings:

studienarbeit_eigen.tex:0: pdflatex (file ./Bilder/c_4/Temp_Geschw.pdf): PDF inclusion: found PDF version , but at most version allowedFile: ./Bilder/c_4/Temp_Geschw.pdf Graphic file (type pdf)
studienarbeit_eigen.tex:0: pdflatex (file ./Bilder/c_4/Temp_Geschw_mark.pdf): PDF inclusion: found PDF version , but at most version allowedFile: ./Bilder/c_4/Temp_Geschw_mark.pdf Graphic file (type pdf)

The two pictures are included in the created file, but the right one, which should contain the comments "Temp_Geschw_mark.pdf" does not contain any comment.

Does anybody know what's wrong ?

Thank you very much, Philipp

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: comment in included pdf-figure not shown after compilation

Post by kaiserkarl13 »

It sounds like a problem with the version of PDF that Acrobat is creating for your included image. The default PDF version that PDFTeX creates is PDF 1.4 (which was the most recent version of the specification as of Acrobat 5.0, or possibly 4.0, I don't remember.) There's a file in your TeX tree in /.../texmf/pdftex/config called "pdftex.cfg"; this file contains the following line:

pdf_minorversion 4

If you change this to 5 (Acrobat 6.0) or even 6 (Acrobat 7.0), you may get the comments you wanted included. However, PDFTeX may not be able to actually create anything in PDF 1.6, so it may simply output PDF 1.4 data with your PDF 1.6 images in it (which would be fine), or it may refuse to go there (which would leave you with much the same problem).

I read an unreliable source this morning indicating there was a \pdfminorversion command that's defined by some package or other; you might look into that if it's only for one file.
Post Reply