I'm using LyX. I'm trying to use TikZ for the first time (to draw graphs, specically - trees).

The LyX code compiles and the pdf is created, but when I open the pdf, Acrobat reader says:

"An error exists on this page. Acrobat may not display this page correctly. Please contact the person who created the PDF document to correct the problem". The drawing does not appear in the document.

Here's my LaTeX preamble:


and here's what I wrote inside the TeX box in the LyX editor:

\draw (0,0) -- (1,0);

I get the same error message in acrobat even if I remove the \draw line and only leave the \begin and \end lines.

EDIT: Here are links to my PDF and LyX files:

http://www.2shared.com/file/kqhal5As/example.html and http://www.2shared.com/document/0bwz3mrn/example.html

I am using LyX 2.0.0, MiKTeX 2.9, Acrobat Reader 10.1.1 (all in Windows). I am writing in Hebrew.

closed as too localized by percusse, lockstep, Martin Schröder, egreg, Andrew Swann Mar 12 '13 at 15:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • No problem here when viewing output (compiling) in LyX 2.0.4 under Adobe Acrobat 9. What versions are you using? Your document show work when only including tikz. Does it still show errors when you drop everything else in your preamble but \usepackage{tikz}? Can you post the PDF file somewhere for download? Also, how about exporting the entire LyX file and posting that somewhere as well? – Werner Oct 17 '12 at 3:45
  • @Werner: The error still shows if I only include tikz. I uploaded the files and indicated the versions I use in the edited post. – user302099 Oct 17 '12 at 5:49
  • @user302099: Just a suggestion - does it still cause problems after an update of LyX (from 2.0.0 to 2.0.4)? – Werner Oct 17 '12 at 13:58
  • @Werner: I will try. What should I do to update? Download LyX 2.0.4 and install it, or is there an internal update mechanism (I'm a little afraid to do that, because installing LyX with Hebrew took some effort). – user302099 Oct 17 '12 at 14:51
  • @Werner: Did you try my pdf? Does it show an error message in your viewer too? – user302099 Oct 17 '12 at 14:52

Browse other questions tagged or ask your own question.