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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to manually install tikz in my local texmf tree on my shell account at school.

I simply unpacked the latest build to ~/texmf/tex and ran texhash.

Now, trying to compile this simple document gives me an error:


And the error is:

! Missing { inserted.

l.394 \pgfutil@setuppdfresources
                                 % possibly call the above
? x

Anyone seen anything like this before?

Edit: OK, this actually compiles fine in latex, but not in pdflatex (which is preferable to me so I can include raster graphic formats).

Here is the log file from the failing pdflatex run (kind of long to post here): http://gaia.ecs.csus.edu/~winteren/test.log

Edit 2: Ok, still not working after removing the old pgf installation and installing the newest version from sourceforge. Looks pretty much the same, but here's the new failing log file: http://gaia.ecs.csus.edu/~winteren/test2.log

share|improve this question

closed as too localized by Loop Space, lockstep, Seamus, Joseph Wright Oct 26 '11 at 15:35

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.

I believe that you also need the pgf package. – Peter Grill Oct 7 '11 at 21:23
@PeterGrill, I was under the impression that PGF and TikZ were packaged together. This is what I downloaded: texample.net/tikz/builds – nw. Oct 7 '11 at 21:29
@nw.: You minimal example does compile without a problem. Add \listfiles before \documentclass[..]{...}. Then, extract the everything after *File List* in your .log file and add it to your post by editing it. That's the best way one can assess what's going on. – Werner Oct 8 '11 at 2:26
My informants tell me that that dates from 2002/3. It's quite possible that some code has been improved since then and that TikZ/PGF relies on the newer code. Do you have access to a later version of TeX that you can test your document with? (Could you install TeXLive 2011 in your local directory?) If your version of TeX really is 8 or 9 years old then you may have more problems than just with TikZ! – Loop Space Oct 22 '11 at 21:09
I'm beginning to feel that this question doesn't really have an answer other than "You need a newer version of pdftex". So partly to remove it from the "unanswered" list, I'd like to recommend that it be closed as "too localised". Would that be okay? It will still be possible to comment (though it might be easier in chat), and if you have follow-up questions then they'd be welcome. Does that sound okay? – Loop Space Oct 25 '11 at 18:14