General ⇒ Graphics in latex
Re: Graphics in latex
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Graphics in latex
Code: Select all
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\tikz \draw (0,0) -- (1,1);
\end{document}
Tomek
Re: Graphics in latex
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 261 times
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Graphics in latex
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
Graphics in latex
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