LaTeX forum ⇒ Otherspgf | 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

Postby ditka » Sat Aug 18, 2012 10:42 am

When I try to typeset the following document:
  1. \documentclass[11pt]{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage{tikz}
  4. \usetikzlibrary{matrix}
  5.  
  6. \begin{document}
  7. \begin{tikzpicture}
  8. \matrix (matrix) [
  9. matrix of nodes,
  10. nodes in empty cells,
  11. nodes={anchor=center,minimum size=2em},
  12. row sep=0em
  13. ]{
  14. a & |[draw]| \\
  15. b & |[draw]| \\
  16. c & |[draw]| \\
  17. d & |[draw]| \\
  18. };
  19. \end{tikzpicture}
  20. \end{document}

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Aug 18, 2012 10:53 am

Your version of tikZ is too old, update it.

Stefan
Site admin

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Postby ditka » Sat Aug 18, 2012 11:32 am

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: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Aug 18, 2012 11:43 am

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
Site admin

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Postby ditka » Sat Aug 18, 2012 11:49 am

I know that, where can I(if I can) find file on internet?

User avatar
Stefan Kottwitz
Site Admin
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Aug 18, 2012 11:53 am

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

Stefan
Site admin

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Postby ditka » Sat Aug 18, 2012 12:16 pm

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: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Aug 18, 2012 1:50 pm

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
Site admin


Return to “Others”

Who is online

Users browsing this forum: No registered users and 1 guest