Graphics, Figures & TablesText lost from PDF graphics

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
glen sargeant
Posts: 2
Joined: Fri Jul 16, 2010 5:52 pm

Text lost from PDF graphics

Post by glen sargeant »

I was using LaTeX (MiKTeX) and incorporating PDF graphics with no problems until I installed LyX and updated packages. Now when I include PDF graphics prepared with LaTeX, text in the graphics does not display. Where might I look for the cause of the problem and a solution?

For example, say I have a Beamer title page slide, temp.pdf, and the following document. In PDF output, the slide appears as it should... except without the header, footer, or title text, all of which display fine in temp.pdf. Note that the issue is not specific to Beamer: the same problem results if temp.pdf is the title page of an article.

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{temp.pdf}
\end{document}

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Text lost from PDF graphics

Post by localghost »

Your descriptions alone aren't very useful [1]. The problem is not comprehensible without a concrete example file that causes the undesired effect. Check the log file for warnings.

[1] View topic: Avoidable mistakes


Best regards and welcome to the board
Thorsten
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Text lost from PDF graphics

Post by frabjous »

How was temp.pdf produced? Are the fonts embedded in it?
glen sargeant
Posts: 2
Joined: Fri Jul 16, 2010 5:52 pm

Re: Text lost from PDF graphics

Post by glen sargeant »

Thanks, Frabjous. I figured the problem was with the pdf display and not with my code, and your hint was all I needed.

To summarize for the benefit of others who may encounter a similar problem, fonts embedded in my master document (prepared with LaTeX prior to updating packages) couldn't handle my inserts (prepared with LaTeX prior to updating packages). Generating new copies of the inserts rectified the situation. Not a very elegant solution, but effective!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Text lost from PDF graphics

Post by localghost »

Now that the problem is solved please act according to the directions in my last reply.
Post Reply