## LaTeX forum ⇒ Others ⇒ pgf | Installation of Package and Libraries on PCTeX

Information and discussion about other TeX distributions not listed above; installation, administration; field reports
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

### pgf | Installation of Package and Libraries on PCTeX

When I try to typeset the following document:
\documentclass[11pt]{article}\usepackage[T1]{fontenc}\usepackage{tikz}\usetikzlibrary{matrix} \begin{document}   \begin{tikzpicture}     \matrix (matrix) [       matrix of nodes,       nodes in empty cells,       nodes={anchor=center,minimum size=2em},       row sep=0em     ]{       a & |[draw]| \\       b & |[draw]| \\       c & |[draw]| \\       d & |[draw]| \\     };   \end{tikzpicture}\end{document}

Using PCTeX, I get the following error:
! Undefined control sequence.l.875 \pgfsetsnakesegmenttransformation                                        {\pgf@snake@mirror\pgf@snake@raise}

And the file named "tikz.code" opens in editor. Why is this happening?

Stefan Kottwitz
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Your version of tikZ is too old, update it.

Stefan

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am
And how can I do that?

but I didnt fund anything that could help me.

Stefan Kottwitz
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Since you use PCTeX, refer to the PCTeX documentation for how to install a package. I can tell it just for free TeX distributions, such as MiKTeX and TeX Live. You use a commercial TeX, for which you can expect support by the publisher or distributor, regarding it's TeX software maintainance.

Stefan

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am
I know that, where can I(if I can) find file on internet?

Stefan Kottwitz
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Have a look at http://www.pctex.com/. There, click on "Support" and there "Installation" or "PCTeX Forums" to get support.

Stefan

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am
I know that, I have tikz.code file in the same data as my other documents, and if I want to update it I proably need new one.

I think the editor type has nothing with that.

Stefan Kottwitz
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
ditka wrote:I think the editor type has nothing with that.

PCTeX is not just the editor. It contains an editor, but it is a complete TeX system with its own package management. That's why it's needed to integrate pgf with PCTeX. It's not just copying tikz.code into your directory. pgf is a complex package with a lot of files sorted in folders which go to different places in the TeX directory structure.

If you cannot use PCTeX features for installing, you can download and manually install the pgf tds file. Have a look at Downloading and Installing Packages. There's a nice explanation.

With TeX Live or MiKTeX, instead of PCTeX, it's just a few clicks in the package manager.

Stefan