Otherspgf | Installation of Package and Libraries on PCTeX

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

pgf | Installation of Package and Libraries on PCTeX

Post by ditka »

When I try to typeset the following document:

Code: Select all

\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:

Code: Select all

! 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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: pgf | Installation of Package and Libraries on PCTeX

Post by Stefan Kottwitz »

Your version of tikZ is too old, update it.

Stefan
LaTeX.org admin
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: pgf | Installation of Package and Libraries on PCTeX

Post by ditka »

And how can I do that?

I download the file from http://sourceforge.net/projects/pgf/

but I didnt fund anything that could help me.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: pgf | Installation of Package and Libraries on PCTeX

Post by Stefan Kottwitz »

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
LaTeX.org admin
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: pgf | Installation of Package and Libraries on PCTeX

Post by ditka »

I know that, where can I(if I can) find file on internet?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

pgf | Installation of Package and Libraries on PCTeX

Post by Stefan Kottwitz »

Have a look at http://www.pctex.com/. There, click on "Support" and there "Installation" or "PCTeX Forums" to get support.

Stefan
LaTeX.org admin
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: pgf | Installation of Package and Libraries on PCTeX

Post by ditka »

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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

pgf | Installation of Package and Libraries on PCTeX

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply