# [tex-live] Malformed PDF

David Carlisle d.p.carlisle at gmail.com
Thu Apr 6 18:51:00 CEST 2017

On 6 April 2017 at 17:04, Herbert Schulz <herbs at wideopenwest.com> wrote:

> Howdy,
>
> The following input,
>
> \documentclass{article}
> \usepackage{tikz}
> \usepackage{pstricks}
> \begin{document}
> Help!
> \end{document}
>
> using tikz and pstricks in that order, and typeset using pdflatex seems to
> produce malformed pdf output.
>
> I know you shouldn't use pstricks and typeset with pdflatex however we've
> had multiple people using a template that does just that. We've been
> telling folks how to correct the problem but wonder if there should be a
> problem propagated to the pdf in the first place.
>
> Unfortunately, the latest version of macOS Sierra seems to have problems
> with the file; previous macOS versions didn't have these problems. Apple
> knows about the problem and is working on a fix but we have no idea how
> long that will take.
>
> Note: removing the loading of tikz (before pstricks) removes the problem.
> Typesetting using latex->dvips->ps2pdf creates a good pdf. Also, changing
> the order of loading the two packages also creates a good pdf. So, the
> surprising that they would step on each other's feet a bit in this
> circimstance) which then propogates into the pdf even though neither
> package is actually used.
>
>
>
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>

This is  not a tex-live issue (can't really handle package conflicts at
this level)
but anyway I get no error just the warnings about non-pdf specials
and the resulting pdf doesn't appear malformed, at least xpdf, acrobat