Hi,
I downloaded pgf packages and added to my local repository folder, and installed it using miktex installation.
Still, I got the same error, I also check the version of the pgf file from the log file, the comments in the log file were ....
Package: pgf 2008/01/15 v2.00 (rcs-revision 1.12)
also the version mentioned on ctan website (from which downloaded the pkg) is 2.
I tried refreshing FNDB from setting and also synchornizing, but doing these was also of no use.
Would of great help to me if someone can assist me.
Best Regards,
metric
General ⇒ Graphics in latex
NEW: TikZ book now 40% off at Amazon.com for a short time.

Graphics in latex
Please attach the log file from the compilation. Also, try the code below and let us know if it compiles (attach log file in case of errors). Additionally, try with article document class instead of minimal and see if it makes any difference.
Cheers,
Tomek
Code: Select all
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\tikz \draw (0,0) -- (1,1);
\end{document}
Tomek
Re: Graphics in latex
Hi,
I've attached the log file, what I understand from the log file is that xcolor, xkeyval, keyval, pkgs are of older version (this is only my guess).
I'll download those pkgs as well (though I have that in my repository), may be i get some newer version, and that will help me.
Thanks for extending your help.
Arif
I've attached the log file, what I understand from the log file is that xcolor, xkeyval, keyval, pkgs are of older version (this is only my guess).
I'll download those pkgs as well (though I have that in my repository), may be i get some newer version, and that will help me.
Thanks for extending your help.
Arif
- Attachments
-
- Error.log
- (20.06 KiB) Downloaded 251 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Graphics in latex
Hi Arif,
Looking at the logfile:
I guess you have mixed two versions of pgf/tikz.
Look if another file "D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz/tikz.code.tex" exists. Try to rename D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz.code.tex, or uninstall pgf/tikz completely and install it again. Perhaps just to rename the older file frontendlayer\tikz.code.tex could be enough.
Stefan
there's a mistake in the command name, it must be written \pgfsetsnakesegmenttransformation, just for the case anybody is looking for the command. I assume it's correctly used because in the logfile posted later its correctly written.metric wrote: When i compile the code provided by you, I get the following error msg.
\pgfsetsnakessegmenttransformation
{\pgf@snake@mirror\pgf@sanake@raise}
! Undefined control sequence.
Looking at the logfile:
Code: Select all
("D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz.code.tex"
Package: tikz 2005/11/09 v2.00 (rcs-revision 1.35)
Look if another file "D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz/tikz.code.tex" exists. Try to rename D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz.code.tex, or uninstall pgf/tikz completely and install it again. Perhaps just to rename the older file frontendlayer\tikz.code.tex could be enough.
Stefan
LaTeX.org admin
Graphics in latex
Hi,
It's done, I'm able to compile the files and get the output.
A big Thank you to all of you for guiding me in getting this done.
Stefan, I request you, if you can write a couple of lines on how you get to (or guessed as you said) that the problem is with the file(the file which i renamed), now I guess may be from the log file, but how exactly don't know, even I went thru the log file but couldn't guess.
Thank you once more to all of you.
Cheers!
Arif
It's done, I'm able to compile the files and get the output.
A big Thank you to all of you for guiding me in getting this done.
Stefan, I request you, if you can write a couple of lines on how you get to (or guessed as you said) that the problem is with the file(the file which i renamed), now I guess may be from the log file, but how exactly don't know, even I went thru the log file but couldn't guess.
Thank you once more to all of you.
Cheers!
Arif