Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a beamer presentation that I am typesetting using pdflatex in TeXworks (version 0.4.5 r.1280) on a Mac. The page that's giving me trouble is:

\frame{
\frametitle{Loch Ness Monster Histogram}
\begin{figure}
\includegraphics[scale=0.6]{nessie.pdf}
\end{figure}
}

When I typeset it using pdflatex, the title, notes, and axis labels disappear, even though they are part of the original pdf figure when I open it up in Preview. Just to be clear, these are part of the original pdf file, rather than specified in the beamer.

Here's the original graph: enter image description here

Here's what it looks like in Beamer: enter image description here

You can get the eps and pdf versions of the figure here.

share|improve this question
3  
Can you post a picture of nessie.pdf and then the frame in question? I ask because includegraphics wont crop the picture unless you tell it to. –  dustin Aug 21 '13 at 0:59
    
Does this answer help? –  Ian Thompson Aug 21 '13 at 7:18
    
Adding \pdfinclusioncopyfonts=1 in the preamble does not seem to fix it. –  Dimitriy V. Masterov Aug 21 '13 at 18:13
    
What happens if you include the figure in an ordinary (i.e. non-Beamer) LaTeX document? Did the figure start life as an eps file? Can you make the figure (ideally the eps version if it exists) available for download? (Sorry to bombard you with questions!) –  Ian Thompson Aug 21 '13 at 20:42
1  
I see no problems with my system (Win 7, updated MikTeX 2.9 and SumatraPDF) Can you also include your preamble such that it is a complete file to compile? –  percusse Aug 21 '13 at 21:56
show 6 more comments

1 Answer

up vote 2 down vote accepted

Your PDF image contains text in Helvetica, but the font has not been embedded:

~/Downloads$ pdffonts nessie.pdf
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
Helvetica                            Type 1            Custom           no  no  no       8  0

Even though Helvetica should be a PDF standard font, I have often experienced problems with PDF images that do not embedd all uses glyphs. Hence, you should export it in a way that font (subsets) get embedded.

If the respective fonts are installed on your system in a way that ghostscript can find them (which should be the case for all standard PS fonts), you may also use ghostscript to convert your PDF to PS and then to PDF with the prepress setting, resulting in a version that embeds the used glyphs:

~/Downloads$ pdf2ps nessie.pdf
~/Downloads$ ps2pdf13 -dPDFSETTINGS=/prepress nessie.ps nessie2.pdf
    ~/Downloads$ pdffonts nessie2.pdf
    name                                 type              encoding         emb sub uni object ID
    ------------------------------------ ----------------- ---------------- --- --- --- ---------
    EKNWHA+Helvetica                     Type 1C           Custom           yes yes no       8  0
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.