[Tex/LaTex] figures not appearing from pdf

floatsgraphicsinkscape

I've been drawing figures in inkscape, labeling with TeX syntax inside inkscape, saving as pdf, having inkscape build me a pdf_tex file and using TeXShop to write the TeX file which calls the figure as follows.

\documentclass[12pt]{article}
%\pagestyle{empty}
\usepackage{amsmath}

\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{alltt}
\usepackage{amscd}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\usepackage{verbatim}
\usepackage{moreverb}
\usepackage{graphicx, transparent, color}
\usepackage{media9}
\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
\linespread{1}
\theoremstyle{plain}


\newtheorem{theorem}{Theorem}
\newtheorem{thm}{Theorem}[section]
\newtheorem*{rmk}{Remark}
\newenvironment{remark}[1][Remark.]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newtheorem{cor}{Corollary}
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{eg}{Example}
\newtheorem{egs}{Examples}
\newtheorem{ex}{Exercise}
\newtheorem{prob}{Problem}

\begin{document}

\begin{figure}[h] \centering \def\svgwidth{250pt} \input{figure3o4.pdf_tex} 
 \caption{The map from $\widetilde {\mathcal P}$ to the suspension of 4 points.  
   Each labeled edge corresponds to the various heights for the corresponding apex 
   vertex.}
\label{pgraph}
\end{figure}

\begin{figure}[h] \centering \def\svgwidth{250pt} \input{7o10ii.pdf_tex} 
  \caption{The map from $\widetilde {\mathcal P}$ to the suspension 
     of 4 points.  Each labeled edge corresponds to the various heights for the 
     corresponding apex vertex.}
\label{pgraph}
\end{figure}


\end{document}

This has worked for me many times, but today I'm finding that the figures that I create have pieces missing from the graphics after I compile, but only when I view the pdf in Preview, Safari, or TeXshop. When I view in chrome or the viewer in TeXworks, the image appears totally fine.

This is strange, I didn't think pdf's were so unstable. Has anyone experienced anything like this or might suggest what the problem is?

Best Answer

If different PDF viewers show different things, they are probably broken. Check with Adobe's reader (that one should be the gold standard), check with tools that do only PDF (or document) viewing, like on Linux xpdf(1) or evince(1). See what your (PDF) printer prints.

You might want to check if newer versions of the tools are available, and if they still misbehave.

Make a minimal example (LaTeX et al source, generated PDF) and report any bugs as appropiate.

Related Question